Skip to content

Commit

Permalink
Make CIS findings public and add their CIS id to their rationale attr…
Browse files Browse the repository at this point in the history
…ibute.
  • Loading branch information
Michaël Sghaier committed Feb 3, 2019
1 parent 45eac68 commit 6a2adf8
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"description": "HTTPS Not Enforced",
"path": "storageaccounts.storage_accounts.id",
"rationale": "You should ensure that secure transfer is required to access your storage accounts. See CIS 3.1.",
"dashboard_name": "Accounts",
"conditions": [ "and",
[ "storageaccounts.storage_accounts.id.https_traffic_enabled", "false", "" ]
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"dashboard_name": "Storage Accounts",
"description": "Public Blob Container",
"rationale": "Your blob containers should be private. See CIS 3.7.",
"path": "storageaccounts.storage_accounts.id.blob_containers.id",
"display_path": "storageaccounts.storage_accounts.id",
"conditions": [ "and",
[ "storageaccounts.storage_accounts.id.blob_containers.id.public_access_allowed", "true", "" ]
],
"id_suffix": "public_access_allowed"
}
12 changes: 12 additions & 0 deletions ScoutSuite/providers/azure/rules/rulesets/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,18 @@
"enabled": true,
"level": "warning"
}
],
"storageaccount-public-blob-container.json": [
{
"enabled": true,
"level": "danger"
}
],
"storageaccount-access-keys-not-rotated.json": [
{
"enabled": true,
"level": "warning"
}
]
}
}

0 comments on commit 6a2adf8

Please sign in to comment.