Skip to content

Commit

Permalink
Merge pull request #6829 from Checkmarx/cwe_add
Browse files Browse the repository at this point in the history
update(metadata): cwe item added into queries metadata.json
  • Loading branch information
asofsilva authored Dec 19, 2023
2 parents fe03184 + b5672d7 commit 9aa356d
Show file tree
Hide file tree
Showing 1,695 changed files with 5,997 additions and 4,267 deletions.
3 changes: 3 additions & 0 deletions .github/scripts/queries-validator/metadata-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,9 @@
"enum": [
"true"
]
},
"cwe": {
"type": "string"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
"descriptionUrl": "https://docs.ansible.com/ansible/latest/collections/community/aws/elb_application_lb_module.html",
"platform": "Ansible",
"descriptionID": "3a7576e5",
"cloudProvider": "aws"
}
"cloudProvider": "aws",
"cwe": ""
}
5 changes: 3 additions & 2 deletions assets/queries/ansible/aws/ami_not_encrypted/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
"descriptionUrl": "https://docs.ansible.com/ansible/latest/collections/amazon/aws/ec2_ami_module.html",
"platform": "Ansible",
"descriptionID": "a4342f08",
"cloudProvider": "aws"
}
"cloudProvider": "aws",
"cwe": ""
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
"descriptionUrl": "https://docs.ansible.com/ansible/latest/collections/amazon/aws/ec2_ami_module.html",
"platform": "Ansible",
"descriptionID": "2117f1c7",
"cloudProvider": "aws"
}
"cloudProvider": "aws",
"cwe": ""
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
"descriptionUrl": "https://docs.ansible.com/ansible/latest/collections/community/aws/aws_api_gateway_module.html",
"platform": "Ansible",
"descriptionID": "42fabc16",
"cloudProvider": "aws"
}
"cloudProvider": "aws",
"cwe": ""
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
"descriptionUrl": "https://docs.ansible.com/ansible/latest/collections/community/aws/cloudwatchlogs_log_group_module.html#ansible-collections-community-aws-cloudwatchlogs-log-group-module",
"platform": "Ansible",
"descriptionID": "313709e8",
"cloudProvider": "aws"
}
"cloudProvider": "aws",
"cwe": ""
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
"descriptionUrl": "https://docs.ansible.com/ansible/latest/collections/community/aws/aws_api_gateway_module.html",
"platform": "Ansible",
"descriptionID": "e7b28671",
"cloudProvider": "aws"
}
"cloudProvider": "aws",
"cwe": ""
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
"descriptionUrl": "https://docs.ansible.com/ansible/2.8/modules/aws_api_gateway_module.html",
"platform": "Ansible",
"descriptionID": "82608f36",
"cloudProvider": "aws"
}
"cloudProvider": "aws",
"cwe": ""
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
"descriptionUrl": "https://docs.ansible.com/ansible/latest/collections/community/aws/wafv2_resources_module.html#parameter-arn",
"platform": "Ansible",
"descriptionID": "8e789062",
"cloudProvider": "aws"
}
"cloudProvider": "aws",
"cwe": ""
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
"descriptionUrl": "https://docs.ansible.com/ansible/latest/collections/community/aws/aws_api_gateway_module.html#parameter-tracing_enabled",
"platform": "Ansible",
"descriptionID": "57da10ee",
"cloudProvider": "aws"
}
"cloudProvider": "aws",
"cwe": ""
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
"descriptionUrl": "https://docs.ansible.com/ansible/latest/collections/community/aws/iam_mfa_device_info_module.html",
"platform": "Ansible",
"descriptionID": "36040ce0",
"cloudProvider": "aws"
}
"cloudProvider": "aws",
"cwe": ""
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
"descriptionUrl": "https://docs.ansible.com/ansible/latest/collections/community/aws/ec2_asg_module.html#parameter-load_balancers",
"platform": "Ansible",
"descriptionID": "57b5fbca",
"cloudProvider": "aws"
}
"cloudProvider": "aws",
"cwe": ""
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
"descriptionUrl": "https://docs.ansible.com/ansible/latest/collections/community/aws/rds_instance_module.html#parameter-auto_minor_version_upgrade",
"platform": "Ansible",
"descriptionID": "7734a8b1",
"cloudProvider": "aws"
}
"cloudProvider": "aws",
"cwe": ""
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
"descriptionUrl": "https://docs.ansible.com/ansible/latest/collections/community/aws/iam_password_policy_module.html",
"platform": "Ansible",
"descriptionID": "5a7cf92f",
"cloudProvider": "aws"
}
"cloudProvider": "aws",
"cwe": ""
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
"descriptionUrl": "https://docs.ansible.com/ansible/latest/collections/community/aws/aws_batch_job_definition_module.html",
"platform": "Ansible",
"descriptionID": "9683e81a",
"cloudProvider": "aws"
}
"cloudProvider": "aws",
"cwe": ""
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
"descriptionUrl": "https://docs.ansible.com/ansible/latest/collections/community/aws/rds_instance_module.html#parameter-ca_certificate_identifier",
"platform": "Ansible",
"descriptionID": "d92aa922",
"cloudProvider": "aws"
}
"cloudProvider": "aws",
"cwe": ""
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
"descriptionUrl": "https://docs.ansible.com/ansible/latest/collections/community/aws/cloudfront_distribution_module.html",
"platform": "Ansible",
"descriptionID": "c8ae0f38",
"cloudProvider": "aws"
}
"cloudProvider": "aws",
"cwe": ""
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
"descriptionUrl": "https://docs.ansible.com/ansible/2.10/collections/community/aws/aws_acm_module.html",
"platform": "Ansible",
"descriptionID": "3f6a85e8",
"cloudProvider": "aws"
}
"cloudProvider": "aws",
"cwe": ""
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
"descriptionUrl": "https://docs.ansible.com/ansible/2.10/collections/community/aws/aws_acm_module.html",
"platform": "Ansible",
"descriptionID": "97dc7eba",
"cloudProvider": "aws"
}
"cloudProvider": "aws",
"cwe": ""
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
"descriptionUrl": "https://docs.ansible.com/ansible/latest/collections/community/aws/cloudfront_distribution_module.html",
"platform": "Ansible",
"descriptionID": "1bfc2dfd",
"cloudProvider": "aws"
}
"cloudProvider": "aws",
"cwe": ""
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
"descriptionUrl": "https://docs.ansible.com/ansible/latest/collections/community/aws/cloudfront_distribution_module.html#parameter-viewer_certificate/minimum_protocol_version",
"platform": "Ansible",
"descriptionID": "b0a58f2f",
"cloudProvider": "aws"
}
"cloudProvider": "aws",
"cwe": ""
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
"descriptionUrl": "https://docs.ansible.com/ansible/latest/collections/community/aws/cloudfront_distribution_module.html",
"platform": "Ansible",
"descriptionID": "7fd7e5c0",
"cloudProvider": "aws"
}
"cloudProvider": "aws",
"cwe": ""
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
"descriptionUrl": "https://docs.ansible.com/ansible/latest/collections/community/aws/cloudtrail_module.html",
"platform": "Ansible",
"descriptionID": "04302074",
"cloudProvider": "aws"
}
"cloudProvider": "aws",
"cwe": ""
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
"descriptionUrl": "https://docs.ansible.com/ansible/latest/collections/community/aws/cloudtrail_module.html",
"platform": "Ansible",
"descriptionID": "d3b81fde",
"cloudProvider": "aws"
}
"cloudProvider": "aws",
"cwe": ""
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
"descriptionUrl": "https://docs.ansible.com/ansible/latest/collections/community/aws/cloudtrail_module.html#parameter-enable_logging",
"platform": "Ansible",
"descriptionID": "c29f6786",
"cloudProvider": "aws"
}
"cloudProvider": "aws",
"cwe": ""
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
"descriptionUrl": "https://docs.ansible.com/ansible/latest/collections/community/aws/cloudtrail_module.html#parameter-is_multi_region_trail",
"platform": "Ansible",
"descriptionID": "8c4873bf",
"cloudProvider": "aws"
}
"cloudProvider": "aws",
"cwe": ""
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
"descriptionUrl": "https://docs.ansible.com/ansible/latest/collections/community/aws/cloudtrail_module.html",
"platform": "Ansible",
"descriptionID": "fbc987a2",
"cloudProvider": "aws"
}
"cloudProvider": "aws",
"cwe": ""
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
"descriptionUrl": "https://docs.ansible.com/ansible/latest/collections/community/aws/cloudtrail_module.html",
"platform": "Ansible",
"descriptionID": "de97fa1a",
"cloudProvider": "aws"
}
"cloudProvider": "aws",
"cwe": ""
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
"descriptionUrl": "https://docs.ansible.com/ansible/latest/collections/community/aws/cloudwatchlogs_log_group_module.html",
"platform": "Ansible",
"descriptionID": "c48a227e",
"cloudProvider": "aws"
}
"cloudProvider": "aws",
"cwe": ""
}
5 changes: 3 additions & 2 deletions assets/queries/ansible/aws/cmk_is_unusable/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
"descriptionUrl": "https://docs.ansible.com/ansible/latest/collections/community/aws/aws_kms_module.html#parameter-enabled",
"platform": "Ansible",
"descriptionID": "cb70e349",
"cloudProvider": "aws"
}
"cloudProvider": "aws",
"cwe": ""
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
"descriptionUrl": "https://docs.ansible.com/ansible/latest/collections/community/aws/aws_kms_module.html#parameter-enable_key_rotation",
"platform": "Ansible",
"descriptionID": "177ee908",
"cloudProvider": "aws"
}
"cloudProvider": "aws",
"cwe": ""
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
"descriptionUrl": "https://docs.ansible.com/ansible/latest/collections/community/aws/aws_codebuild_module.html",
"platform": "Ansible",
"descriptionID": "7d51416a",
"cloudProvider": "aws"
}
"cloudProvider": "aws",
"cwe": ""
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
"descriptionUrl": "https://docs.ansible.com/ansible/latest/collections/community/aws/aws_config_aggregator_module.html#parameter-organization_source",
"platform": "Ansible",
"descriptionID": "c6e4ac23",
"cloudProvider": "aws"
}
"cloudProvider": "aws",
"cwe": ""
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
"descriptionUrl": "https://docs.ansible.com/ansible/latest/collections/community/aws/aws_config_rule_module.html#parameter-source/identifier",
"platform": "Ansible",
"descriptionID": "5b434d3f",
"cloudProvider": "aws"
}
"cloudProvider": "aws",
"cwe": ""
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
"descriptionUrl": "https://docs.ansible.com/ansible/latest/collections/community/aws/iam_role_module.html#parameter-assume_role_policy_document",
"platform": "Ansible",
"descriptionID": "54f0a7dd",
"cloudProvider": "aws"
}
"cloudProvider": "aws",
"cwe": ""
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
"descriptionUrl": "https://docs.ansible.com/ansible/latest/collections/community/aws/rds_instance_module.html",
"platform": "Ansible",
"descriptionID": "575cc1f4",
"cloudProvider": "aws"
}
"cloudProvider": "aws",
"cwe": ""
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
"descriptionUrl": "https://docs.ansible.com/ansible/latest/collections/amazon/aws/ec2_group_module.html#ansible-collections-amazon-aws-ec2-group-module",
"platform": "Ansible",
"descriptionID": "c7f9cb9f",
"cloudProvider": "aws"
}
"cloudProvider": "aws",
"cwe": ""
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
"descriptionUrl": "https://docs.ansible.com/ansible/latest/collections/amazon/aws/ec2_group_module.html",
"platform": "Ansible",
"descriptionID": "47a14ee4",
"cloudProvider": "aws"
}
"cloudProvider": "aws",
"cwe": ""
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
"descriptionUrl": "https://docs.ansible.com/ansible/latest/collections/amazon/aws/ec2_group_module.html",
"platform": "Ansible",
"descriptionID": "6fd8f0e1",
"cloudProvider": "aws"
}
"cloudProvider": "aws",
"cwe": ""
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
"descriptionUrl": "https://docs.ansible.com/ansible/latest/collections/amazon/aws/ec2_vol_module.html#parameter-encrypted",
"platform": "Ansible",
"descriptionID": "06f72385",
"cloudProvider": "aws"
}
"cloudProvider": "aws",
"cwe": ""
}
Loading

0 comments on commit 9aa356d

Please sign in to comment.