Skip to main content

google_access_context_manager_access_policies resource

Use the google_access_context_manager_access_policies InSpec audit resource to test a Google Cloud AccessPolicy resource.

Examples

describe google_access_context_manager_access_policies(org_id: '190694428152') do
  its('count') { should be >= 1 }
  its('titles') { should include 'policytitle' }
end

Properties

Properties that can be accessed from the google_access_context_manager_access_policies resource:

See google_access_context_manager_access_policy for more detailed information.

  • names: an array of google_access_context_manager_access_policy name
  • create_times: an array of google_access_context_manager_access_policy create_time
  • update_times: an array of google_access_context_manager_access_policy update_time
  • parents: an array of google_access_context_manager_access_policy parent
  • titles: an array of google_access_context_manager_access_policy title

Filter criteria

This resource supports all of the above properties as filter criteria, which can be used with where as a block or a method.

GCP permissions

Thank you for your feedback!

×