Skip to content

Commit

Permalink
Nist tagging (#84)
Browse files Browse the repository at this point in the history
* Added NIST tags based on Vulnerability findings

* Added empty arrays for untagged controls
  • Loading branch information
bkwilcox100 authored Jul 4, 2021
1 parent 00ca916 commit a3f68f6
Show file tree
Hide file tree
Showing 53 changed files with 53 additions and 0 deletions.
1 change: 1 addition & 0 deletions controls/1.01-iam.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
tag cis_gcp: control_id.to_s
tag cis_version: cis_version.to_s
tag project: gcp_project_id.to_s
tag nist: ["AC-3"]

ref 'CIS Benchmark', url: cis_url.to_s
ref 'GCP Docs', url: 'https://cloud.google.com/docs/enterprise/best-practices-for-enterprise-organizations#use_corporate_login_credentials'
Expand Down
1 change: 1 addition & 0 deletions controls/1.02-iam.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
tag cis_gcp: control_id.to_s
tag cis_version: cis_version.to_s
tag project: gcp_project_id.to_s
tag nist: ["IA-2"]

ref 'CIS Benchmark', url: cis_url.to_s
ref 'GCP Docs', url: 'https://cloud.google.com/solutions/securing-gcp-account-u2f'
Expand Down
1 change: 1 addition & 0 deletions controls/1.03-iam.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
tag cis_gcp: control_id.to_s
tag cis_version: cis_version.to_s
tag project: gcp_project_id.to_s
tag nist: []

ref 'CIS Benchmark', url: cis_url.to_s
ref 'GCP Docs', url: 'https://cloud.google.com/security-key/'
Expand Down
1 change: 1 addition & 0 deletions controls/1.04-iam.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
tag cis_gcp: control_id.to_s
tag cis_version: cis_version.to_s
tag project: gcp_project_id.to_s
tag nist: []

ref 'CIS Benchmark', url: cis_url.to_s
ref 'GCP Docs', url: 'https://cloud.google.com/iam/docs/understanding-service-accounts#managing_service_account_keys'
Expand Down
1 change: 1 addition & 0 deletions controls/1.05-iam.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
tag cis_gcp: control_id.to_s
tag cis_version: cis_version.to_s
tag project: gcp_project_id.to_s
tag nist: ["AC-6"]

ref 'CIS Benchmark', url: cis_url.to_s
ref 'GCP Docs', url: 'https://cloud.google.com/sdk/gcloud/reference/iam/service-accounts/'
Expand Down
1 change: 1 addition & 0 deletions controls/1.06-iam.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
tag cis_gcp: control_id.to_s
tag cis_version: cis_version.to_s
tag project: gcp_project_id.to_s
tag nist: ["AC-6"]

ref 'CIS Benchmark', url: cis_url.to_s
ref 'GCP Docs', url: 'https://cloud.google.com/iam/docs/service-accounts'
Expand Down
1 change: 1 addition & 0 deletions controls/1.07-iam.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
tag cis_gcp: control_id.to_s
tag cis_version: cis_version.to_s
tag project: gcp_project_id.to_s
tag nist: ["SC-12"]

ref 'CIS Benchmark', url: cis_url.to_s
ref 'GCP Docs', url: 'https://cloud.google.com/iam/docs/understanding-service-accounts#managing_service_account_keys'
Expand Down
1 change: 1 addition & 0 deletions controls/1.08-iam.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
tag cis_gcp: control_id.to_s
tag cis_version: cis_version.to_s
tag project: gcp_project_id.to_s
tag nist: ["AC-5"]

ref 'CIS Benchmark', url: cis_url.to_s
ref 'GCP Docs', url: 'https://cloud.google.com/iam/docs/service-accounts'
Expand Down
1 change: 1 addition & 0 deletions controls/1.09-iam.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
tag cis_gcp: control_id.to_s
tag cis_version: cis_version.to_s
tag project: gcp_project_id.to_s
tag nist: ["AC-5"]

ref 'CIS Benchmark', url: cis_url.to_s
ref 'GCP Docs', url: 'https://cloud.google.com/kms/docs/key-rotation#frequency_of_key_rotation'
Expand Down
1 change: 1 addition & 0 deletions controls/1.10-iam.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
tag cis_gcp: control_id.to_s
tag cis_version: cis_version.to_s
tag project: gcp_project_id.to_s
tag nist: ["SC-12"]

ref 'CIS Benchmark', url: cis_url.to_s
ref 'GCP Docs', url: 'https://cloud.google.com/kms/docs/key-rotation#frequency_of_key_rotation'
Expand Down
1 change: 1 addition & 0 deletions controls/1.11-iam.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
tag cis_gcp: control_id.to_s
tag cis_version: cis_version.to_s
tag project: gcp_project_id.to_s
tag nist: ["AC-5"]

ref 'CIS Benchmark', url: cis_url.to_s
ref 'GCP Docs', url: 'https://cloud.google.com/kms/docs/separation-of-duties'
Expand Down
1 change: 1 addition & 0 deletions controls/1.12-iam.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
tag cis_gcp: control_id.to_s
tag cis_version: cis_version.to_s
tag project: gcp_project_id.to_s
tag nist: []

ref 'CIS Benchmark', url: cis_url.to_s
ref 'GCP Docs', url: 'https://cloud.google.com/docs/authentication/api-keys'
Expand Down
1 change: 1 addition & 0 deletions controls/1.13-iam.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
tag cis_gcp: control_id.to_s
tag cis_version: cis_version.to_s
tag project: gcp_project_id.to_s
tag nist: []

ref 'CIS Benchmark', url: cis_url.to_s
ref 'GCP Docs', url: 'https://cloud.google.com/docs/authentication/api-keys'
Expand Down
1 change: 1 addition & 0 deletions controls/1.14-iam.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
tag cis_gcp: control_id.to_s
tag cis_version: cis_version.to_s
tag project: gcp_project_id.to_s
tag nist: []

ref 'CIS Benchmark', url: cis_url.to_s
ref 'GCP Docs', url: 'https://cloud.google.com/docs/authentication/api-keys'
Expand Down
1 change: 1 addition & 0 deletions controls/1.15-iam.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
tag cis_gcp: control_id.to_s
tag cis_version: cis_version.to_s
tag project: gcp_project_id.to_s
tag nist: []

ref 'CIS Benchmark', url: cis_url.to_s

Expand Down
1 change: 1 addition & 0 deletions controls/2.01-logging.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
tag cis_gcp: control_id.to_s
tag cis_version: cis_version.to_s
tag project: gcp_project_id.to_s
tag nist: ["AC-2", "AU-2"]

ref 'CIS Benchmark', url: cis_url.to_s
ref 'GCP Docs', url: 'https://cloud.google.com/logging/docs/audit/'
Expand Down
1 change: 1 addition & 0 deletions controls/2.02-logging.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
tag cis_gcp: control_id.to_s
tag cis_version: cis_version.to_s
tag project: gcp_project_id.to_s
tag nist: []

ref 'CIS Benchmark', url: cis_url.to_s
ref 'GCP Docs', url: 'https://cloud.google.com/logging/docs/reference/tools/gcloud-logging'
Expand Down
1 change: 1 addition & 0 deletions controls/2.03-logging.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
tag cis_gcp: control_id.to_s
tag cis_version: cis_version.to_s
tag project: gcp_project_id.to_s
tag nist: []

ref 'CIS Benchmark', url: cis_url.to_s
ref 'GCP Docs', url: 'https://cloud.google.com/storage/docs/bucket-lock'
Expand Down
1 change: 1 addition & 0 deletions controls/2.04-logging.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
tag cis_gcp: control_id.to_s
tag cis_version: cis_version.to_s
tag project: gcp_project_id.to_s
tag nist: []

ref 'CIS Benchmark', url: cis_url.to_s
ref 'GCP Docs', url: 'https://cloud.google.com/logging/docs/logs-based-metrics/'
Expand Down
1 change: 1 addition & 0 deletions controls/2.05-logging.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
tag cis_gcp: control_id.to_s
tag cis_version: cis_version.to_s
tag project: gcp_project_id.to_s
tag nist: []

ref 'CIS Benchmark', url: cis_url.to_s
ref 'GCP Docs', url: 'https://cloud.google.com/logging/docs/logs-based-metrics/'
Expand Down
1 change: 1 addition & 0 deletions controls/2.06-logging.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
tag cis_gcp: control_id.to_s
tag cis_version: cis_version.to_s
tag project: gcp_project_id.to_s
tag nist: []

ref 'CIS Benchmark', url: cis_url.to_s
ref 'GCP Docs', url: 'https://cloud.google.com/logging/docs/logs-based-metrics/'
Expand Down
1 change: 1 addition & 0 deletions controls/2.07-logging.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
tag cis_gcp: control_id.to_s
tag cis_version: cis_version.to_s
tag project: gcp_project_id.to_s
tag nist: []

ref 'CIS Benchmark', url: cis_url.to_s
ref 'GCP Docs', url: 'https://cloud.google.com/logging/docs/logs-based-metrics/'
Expand Down
1 change: 1 addition & 0 deletions controls/2.08-logging.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
tag cis_gcp: control_id.to_s
tag cis_version: cis_version.to_s
tag project: gcp_project_id.to_s
tag nist: []

ref 'CIS Benchmark', url: cis_url.to_s
ref 'GCP Docs', url: 'https://cloud.google.com/logging/docs/logs-based-metrics/'
Expand Down
1 change: 1 addition & 0 deletions controls/2.09-logging.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
tag cis_gcp: control_id.to_s
tag cis_version: cis_version.to_s
tag project: gcp_project_id.to_s
tag nist: []

ref 'CIS Benchmark', url: cis_url.to_s
ref 'GCP Docs', url: 'https://cloud.google.com/logging/docs/logs-based-metrics/'
Expand Down
1 change: 1 addition & 0 deletions controls/2.10-logging.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
tag cis_gcp: control_id.to_s
tag cis_version: cis_version.to_s
tag project: gcp_project_id.to_s
tag nist: []

ref 'CIS Benchmark', url: cis_url.to_s
ref 'GCP Docs', url: 'https://cloud.google.com/logging/docs/logs-based-metrics/'
Expand Down
1 change: 1 addition & 0 deletions controls/2.11-logging.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
tag cis_gcp: control_id.to_s
tag cis_version: cis_version.to_s
tag project: gcp_project_id.to_s
tag nist: []

ref 'CIS Benchmark', url: cis_url.to_s
ref 'GCP Docs', url: 'https://cloud.google.com/logging/docs/logs-based-metrics/'
Expand Down
1 change: 1 addition & 0 deletions controls/3.01-networking.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
tag cis_gcp: control_id.to_s
tag cis_version: cis_version.to_s
tag project: gcp_project_id.to_s
tag nist: []

ref 'CIS Benchmark', url: cis_url.to_s
ref 'GCP Docs', url: 'https://cloud.google.com/compute/docs/networking#firewall_rules'
Expand Down
1 change: 1 addition & 0 deletions controls/3.02-networking.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
tag cis_gcp: control_id.to_s
tag cis_version: cis_version.to_s
tag project: gcp_project_id.to_s
tag nist: []

ref 'CIS Benchmark', url: cis_url.to_s
ref 'GCP Docs', url: 'https://cloud.google.com/compute/docs/networking#creating_a_legacy_network'
Expand Down
1 change: 1 addition & 0 deletions controls/3.03-networking.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
tag cis_gcp: control_id.to_s
tag cis_version: cis_version.to_s
tag project: gcp_project_id.to_s
tag nist: []

ref 'CIS Benchmark', url: cis_url.to_s
ref 'GCP Docs', url: 'https://cloudplatform.googleblog.com/2017/11/DNSSEC-now-available-in-Cloud-DNS.html'
Expand Down
1 change: 1 addition & 0 deletions controls/3.04-networking.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
tag cis_gcp: control_id.to_s
tag cis_version: cis_version.to_s
tag project: gcp_project_id.to_s
tag nist: []

ref 'CIS Benchmark', url: cis_url.to_s
ref 'GCP Docs', url: 'https://cloud.google.com/dns/dnssec-advanced#advanced_signing_options'
Expand Down
1 change: 1 addition & 0 deletions controls/3.05-networking.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
tag cis_gcp: control_id.to_s
tag cis_version: cis_version.to_s
tag project: gcp_project_id.to_s
tag nist: []

ref 'CIS Benchmark', url: cis_url.to_s
ref 'GCP Docs', url: 'https://cloud.google.com/dns/dnssec-advanced#advanced_signing_options'
Expand Down
1 change: 1 addition & 0 deletions controls/3.06-networking.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
tag cis_gcp: control_id.to_s
tag cis_version: cis_version.to_s
tag project: gcp_project_id.to_s
tag nist: ["SC-7"]

ref 'CIS Benchmark', url: cis_url.to_s
ref 'GCP Docs', url: 'https://cloud.google.com/vpc/docs/firewalls#blockedtraffic'
Expand Down
1 change: 1 addition & 0 deletions controls/3.07-networking.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
tag cis_gcp: control_id.to_s
tag cis_version: cis_version.to_s
tag project: gcp_project_id.to_s
tag nist: ["SC-7"]

ref 'CIS Benchmark', url: cis_url.to_s
ref 'GCP Docs', url: 'https://cloud.google.com/vpc/docs/firewalls#blockedtraffic'
Expand Down
1 change: 1 addition & 0 deletions controls/3.08-networking.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
tag cis_gcp: control_id.to_s
tag cis_version: cis_version.to_s
tag project: gcp_project_id.to_s
tag nist: ["SI-4"]

ref 'CIS Benchmark', url: cis_url.to_s
ref 'GCP Docs', url: 'https://cloud.google.com/vpc/docs/using-flow-logs#enabling_vpc_flow_logging'
Expand Down
1 change: 1 addition & 0 deletions controls/3.09-networking.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
tag cis_gcp: control_id.to_s
tag cis_version: cis_version.to_s
tag project: gcp_project_id.to_s
tag nist: []

ref 'CIS Benchmark', url: cis_url.to_s
ref 'GCP Docs', url: 'https://cloud.google.com/load-balancing/docs/use-ssl-policies'
Expand Down
1 change: 1 addition & 0 deletions controls/4.01-vms.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
tag cis_gcp: control_id.to_s
tag cis_version: cis_version.to_s
tag project: gcp_project_id.to_s
tag nist: ["AC-6"]

ref 'CIS Benchmark', url: cis_url.to_s
ref 'GCP Docs', url: 'https://cloud.google.com/compute/docs/access/create-enable-service-accounts-for-instances'
Expand Down
1 change: 1 addition & 0 deletions controls/4.02-vms.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
tag cis_gcp: control_id.to_s
tag cis_version: cis_version.to_s
tag project: gcp_project_id.to_s
tag nist: []

ref 'CIS Benchmark', url: cis_url.to_s
ref 'GCP Docs', url: 'https://cloud.google.com/compute/docs/access/create-enable-service-accounts-for-instances'
Expand Down
1 change: 1 addition & 0 deletions controls/4.03-vms.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
tag cis_gcp: control_id.to_s
tag cis_version: cis_version.to_s
tag project: gcp_project_id.to_s
tag nist: []

ref 'CIS Benchmark', url: cis_url.to_s
ref 'GCP Docs', url: 'https://cloud.google.com/compute/docs/instances/adding-removing-ssh-keys'
Expand Down
1 change: 1 addition & 0 deletions controls/4.04-vms.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
tag cis_gcp: control_id.to_s
tag cis_version: cis_version.to_s
tag project: gcp_project_id.to_s
tag nist: []

ref 'CIS Benchmark', url: cis_url.to_s
ref 'GCP Docs', url: 'https://cloud.google.com/compute/docs/instances/managing-instance-access'
Expand Down
1 change: 1 addition & 0 deletions controls/4.05-vms.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
tag cis_gcp: control_id.to_s
tag cis_version: cis_version.to_s
tag project: gcp_project_id.to_s
tag nist: []

ref 'CIS Benchmark', url: cis_url.to_s
ref 'GCP Docs', url: 'https://cloud.google.com/compute/docs/instances/interacting-with-serial-console'
Expand Down
1 change: 1 addition & 0 deletions controls/4.06-vms.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
tag cis_gcp: control_id.to_s
tag cis_version: cis_version.to_s
tag project: gcp_project_id.to_s
tag nist: []

ref 'CIS Benchmark', url: cis_url.to_s
ref 'GCP Docs', url: 'https://cloud.google.com/compute/docs/networking#canipforward'
Expand Down
1 change: 1 addition & 0 deletions controls/4.07-vms.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
tag cis_gcp: control_id.to_s
tag cis_version: cis_version.to_s
tag project: gcp_project_id.to_s
tag nist: []

ref 'CIS Benchmark', url: cis_url.to_s
ref 'GCP Docs', url: 'https://cloud.google.com/compute/docs/disks/customer-supplied-encryption#encrypt_a_new_persistent_disk_with_your_own_keys'
Expand Down
1 change: 1 addition & 0 deletions controls/4.08-vms.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
tag cis_gcp: control_id.to_s
tag cis_version: cis_version.to_s
tag project: gcp_project_id.to_s
tag nist: []

ref 'CIS Benchmark', url: cis_url.to_s
ref 'GCP Docs', url: 'https://cloud.google.com/compute/docs/instances/modifying-shielded-vm'
Expand Down
1 change: 1 addition & 0 deletions controls/5.01-storage.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
tag cis_gcp: control_id.to_s
tag cis_version: cis_version.to_s
tag project: gcp_project_id.to_s
tag nist: ["AC-2"]

ref 'CIS Benchmark', url: cis_url.to_s
ref 'GCP Docs', url: 'https://cloud.google.com/storage/docs/access-control/iam-reference'
Expand Down
1 change: 1 addition & 0 deletions controls/5.02-storage.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
tag cis_gcp: control_id.to_s
tag cis_version: cis_version.to_s
tag project: gcp_project_id.to_s
tag nist: []

ref 'CIS Benchmark', url: cis_url.to_s
ref 'GCP Docs', url: 'https://cloud.google.com/storage/docs/uniform-bucket-level-access'
Expand Down
1 change: 1 addition & 0 deletions controls/6.01-db.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
tag cis_gcp: sub_control_id.to_s
tag cis_version: cis_version.to_s
tag project: gcp_project_id.to_s
tag nist: ["SC-7"]

ref 'CIS Benchmark', url: cis_url.to_s
ref 'GCP Docs', url: 'https://cloud.google.com/sql/docs/mysql/create-manage-users'
Expand Down
1 change: 1 addition & 0 deletions controls/6.02-db.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
tag cis_gcp: sub_control_id.to_s
tag cis_version: cis_version.to_s
tag project: gcp_project_id.to_s
tag nist: ["CA-3", "SC-7"]

ref 'CIS Benchmark', url: cis_url.to_s
ref 'GCP Docs', url: 'https://cloud.google.com/sql/docs/postgres/flags#setting_a_database_flag'
Expand Down
1 change: 1 addition & 0 deletions controls/6.03-db.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
tag cis_gcp: sub_control_id.to_s
tag cis_version: cis_version.to_s
tag project: gcp_project_id.to_s
tag nist: ["AC-3"]

ref 'CIS Benchmark', url: cis_url.to_s
ref 'GCP Docs', url: 'https://cloud.google.com/sql/docs/sqlserver/flags'
Expand Down
1 change: 1 addition & 0 deletions controls/6.04-db.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
tag cis_gcp: control_id.to_s
tag cis_version: cis_version.to_s
tag project: gcp_project_id.to_s
tag nist: ["SC-7"]

ref 'CIS Benchmark', url: cis_url.to_s
ref 'GCP Docs', url: 'https://cloud.google.com/sql/docs/postgres/configure-ssl-instance'
Expand Down
1 change: 1 addition & 0 deletions controls/6.05-db.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
tag cis_gcp: control_id.to_s
tag cis_version: cis_version.to_s
tag project: gcp_project_id.to_s
tag nist: []

ref 'CIS Benchmark', url: cis_url.to_s
ref 'GCP Docs', url: 'https://cloud.google.com/sql/docs/mysql/configure-ip'
Expand Down
Loading

0 comments on commit a3f68f6

Please sign in to comment.