-
Notifications
You must be signed in to change notification settings - Fork 316
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(queries): align queries cross different platforms #5539
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, @roi-orca!
Thank you so much for continuing to improve the KICS queries metadata! 🚀
I suggest the following:
assets/queries/ansible/aws/db_instance_publicly_accessible/metadata.json
Outdated
Show resolved
Hide resolved
assets/queries/ansible/aws/hardcoded_aws_access_key_in_lambda/metadata.json
Outdated
Show resolved
Hide resolved
assets/queries/ansible/aws/db_instance_publicly_accessible/metadata.json
Outdated
Show resolved
Hide resolved
assets/queries/ansible/aws/stack_notifications_disabled/metadata.json
Outdated
Show resolved
Hide resolved
assets/queries/ansible/azure/azure_container_registry_with_no_locks/metadata.json
Outdated
Show resolved
Hide resolved
assets/queries/cloudFormation/aws/user_data_contains_encoded_private_key/metadata.json
Outdated
Show resolved
Hide resolved
assets/queries/terraform/aws/hardcoded_aws_access_key/metadata.json
Outdated
Show resolved
Hide resolved
assets/queries/terraform/aws/sqs_with_sse_disabled/metadata.json
Outdated
Show resolved
Hide resolved
assets/queries/terraform/gcp/vm_serial_ports_are_enabled_for_vm_instances/metadata.json
Outdated
Show resolved
Hide resolved
...ries/ansible/gcp/google_compute_subnetwork_with_private_google_access_disabled/metadata.json
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚀
I will only wait for our security team to confirm the severity and category alignment.
@rjegoncalves can you please review the changes? |
@rafaela-soares any update on this? |
Hello, @roi-orca! The PR is already being reviewed. Sorry for the delay. We will update you, as soon as possible 😊 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello, @roi-orca!
Our security team took the opportunity to analyze the queries of your PR. Some suggestions are not related to what you changed, but they will improve the queries.
Please, take a look at the suggestion and let me know what you think about it 😊
Note that the suggestions apply to all platforms that have the query.
assets/queries/ansible/aws/cloudtrail_log_file_validation_disabled/metadata.json
Outdated
Show resolved
Hide resolved
assets/queries/ansible/aws/cloudtrail_log_files_not_encrypted_with_cmk/metadata.json
Outdated
Show resolved
Hide resolved
assets/queries/ansible/aws/s3_bucket_logging_disabled/metadata.json
Outdated
Show resolved
Hide resolved
assets/queries/cloudFormation/aws/stack_notifications_disabled/metadata.json
Outdated
Show resolved
Hide resolved
assets/queries/ansible/gcp/cos_node_image_not_used/metadata.json
Outdated
Show resolved
Hide resolved
assets/queries/terraform/azure/cosmosdb_account_ip_range_filter_not_set/metadata.json
Outdated
Show resolved
Hide resolved
assets/queries/cloudFormation/aws/ecs_service_admin_role_is_present/metadata.json
Outdated
Show resolved
Hide resolved
...ries/cloudFormation/aws/ecs_service_admin_role_is_present/test/positive_expected_result.json
Outdated
Show resolved
Hide resolved
...ries/cloudFormation/aws/ecs_service_admin_role_is_present/test/positive_expected_result.json
Outdated
Show resolved
Hide resolved
assets/queries/ansible/azure/public_storage_account/metadata.json
Outdated
Show resolved
Hide resolved
Hi @rafaela-soares, |
Hi, @roi-orca! We mean how the vulnerability can impact the environment or the user. For example, regarding the query |
Hello, @roi-orca! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
align queries cross different platforms
References:
#5460
#5446
Proposed Changes
align queries cross different platforms
Queries:
I submit this contribution under the Apache-2.0 license.