diff --git a/README.md b/README.md index b9a172b..48a39d7 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ optional arguments: * Azure Audit - Azure user read-only access ## Installation -(in order to avoid missing with the already installed python libraries) +(in order to avoid messing with the already installed python libraries) - get project `git clone https://github.com/SecurityFTW/cs-suite.git && cd cs-suite/` @@ -77,7 +77,7 @@ cd cs-suite/` - signup and have logged in already to [azure.microsoft.com](https://azure.microsoft.com) - install azure CLI `brew install az` -- authenticate the azure cli `az login`, you should see your subscription type if it was successful, simiarly to the response below: +- authenticate the azure cli `az login`, you should see your subscription type if it was successful, similar to the response below: ``` diff --git a/modules/awsaudit.py b/modules/awsaudit.py index a287306..a7cf6cb 100755 --- a/modules/awsaudit.py +++ b/modules/awsaudit.py @@ -57,7 +57,7 @@ def prowler(check): def multi_threaded_prowler(): - """ this function using multi-threading for prowler """ + """ this function uses multi-threading for prowler """ print ("Started Prowler") checks = ['check13', 'check14', 'check15', 'check16', 'check17', 'check18', 'check19',\ @@ -161,7 +161,7 @@ def audit_aws_config(): def audit_aws_dns(): - """ this function is to DNS """ + """ this function is to perform DNS audit """ print ("Started AWS DNS Audit ") with open('reports/AWS/aws_audit/%s/%s/delta/dns' % (account_name, timestmp), 'w') as output: subprocess.call(['./scripts/audit_aws_dns.sh'], stdout=output) diff --git a/modules/azureaudit.py b/modules/azureaudit.py index 1f4102e..80ce874 100755 --- a/modules/azureaudit.py +++ b/modules/azureaudit.py @@ -54,7 +54,7 @@ def merge_json(): def no_guest_user(): - """ The response is empty,need to dig in further """ + """ The response is empty, need to dig in further """ guest_user_list = subprocess.check_output(['az ad user list --query "[?additionalProperties.userType==\'Guest\']"'], shell=True) result = {} result['check'] = 'NO_GUEST_USER' @@ -62,12 +62,12 @@ def no_guest_user(): f.write(guest_user_list) def custom_owner_role(): - """ The response is huge need to break down and analyse """ + """ The response is huge, need to break down and analyse """ definition_list = subprocess.check_output(['az role definition list'], shell=True) print definition_list def automatic_provising_agent(): - print "2.2: Checking for Automatic Provising Agent\n\n" + print "2.2: Checking for Automatic Provisioning Agent\n\n" agent_provising = subprocess.check_output(['az account get-access-token --query "{subscripton:subscription,accessToken:accessToken}" --out tsv | xargs -L1 bash -c \'curl -s -X GET -H "Authorization: Bearer $1" -H "Content-Type:application/json" https://management.azure.com/subscriptions/$0/providers/microsoft.Security/policies?api-version=2015-06-01-preview\' | jq \'.|.value[] | select(.name=="default")\'| jq \'.properties.logCollection\' | tr -d \'"\''], shell=True).strip() result = {} result['check'] = 'AUTOMATIC_PROVISING_AGENT' diff --git a/setup.py b/setup.py index 437d14e..3d4a35b 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ def main(): subprocess.call(['sudo', 'tar', '-xvf', 'sshpass-1.06.tar.gz'], cwd = './tools') subprocess.check_output(['sudo', './configure'], cwd='tools/sshpass-1.06') subprocess.call(['sudo', 'make', 'install'], cwd='tools/sshpass-1.06/') - print ("Please enter your AWS credetionals") + print ("Please enter your AWS credentials") subprocess.call(['aws', 'configure']) except: print ("FAILED in one of the steps")