turbot / steampipe-mod-oci-compliance

Run individual configuration, compliance and security controls or full compliance benchmarks for CIS across all of your Oracle Cloud Infrastructure accounts using Powerpipe and Steampipe.
https://hub.powerpipe.io/mods/turbot/oci_compliance
Apache License 2.0
4 stars 1 forks source link

Update from sql= to query= throughout the compliance #58

Closed madhushreeray30 closed 1 year ago

madhushreeray30 commented 1 year ago

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

control "cis_v110_1_9" { 
title         = "1.9 Ensure user customer secret keys rotate within 90 days or less" 
description   = "Object Storage provides an API to enable interoperability with Amazon S3. To use this Amazon S3 Compatibility API, you need to generate the signing key required to authenticate with Amazon S3. This special signing key is an Access Key/Secret Key pair. Oracle generates the Customer Secret key to pair with the Access Key." 
sql           = query.identity_user_customer_secret_key_age_90.sql 
documentation = file("./cis_v110/docs/cis_v110_1_9.md") 

tags = merge(local.cis_v110_1_common_tags, { 
 cis_item_id = "1.9" 
 cis_level   = "1" 
 cis_type    = "automated" 
 service     = "OCI/Identity" 
}) 
}

This is changed from:

  sql           = query.identity_user_customer_secret_key_age_90.sql

to:

  query         = query.identity_user_customer_secret_key_age_90