turbot / steampipe-mod-ibm-compliance

Run individual controls or full compliance benchmarks for CIS across all of your IBM Cloud accounts using Powerpipe and Steampipe.
https://hub.powerpipe.io/mods/turbot/ibm_compliance
Apache License 2.0
2 stars 0 forks source link

Controls should reference their query using `query =` rather than `sql =` #24

Closed madhushreeray30 closed 10 months ago

madhushreeray30 commented 1 year ago

It's simpler in code and readability to reference queries using the query = attribute rather than the sql = attribute.

This occurs throughout the mod, but as a specific example:

https://github.com/turbot/steampipe-mod-ibm-compliance/blob/12614743effeddad2281c7e91eaaadda17530462/cis_v100/section_1.sp#L38-L50

Could be changed from:

sql           = query.pod_security_policy_container_privilege_escalation_disabled.sql

to:

query         = query.pod_security_policy_container_privilege_escalation_disabled
github-actions[bot] commented 1 year ago

'This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.'