google_access_context_manager_service_perimeters resource
Use the google_access_context_manager_service_perimeters
InSpec audit resource to to test a Google Cloud ServicePerimeter resource.
Examples
describe.one do
google_access_context_manager_access_policies(org_id: '190694428152').names.each do |policy_name|
describe google_access_context_manager_service_perimeters(policy_name: policy_name) do
its('names') { should include 'restrict_all' }
its('titles') { should include 'restrict_all' }
end
end
end
Properties
Properties that can be accessed from the google_access_context_manager_service_perimeters
resource:
See google_access_context_manager_service_perimeter for more detailed information.
titles
: an array ofgoogle_access_context_manager_service_perimeter
titledescriptions
: an array ofgoogle_access_context_manager_service_perimeter
descriptioncreate_times
: an array ofgoogle_access_context_manager_service_perimeter
create_timeupdate_times
: an array ofgoogle_access_context_manager_service_perimeter
update_timeperimeter_types
: an array ofgoogle_access_context_manager_service_perimeter
perimeter_typestatuses
: an array ofgoogle_access_context_manager_service_perimeter
statusspecs
: an array ofgoogle_access_context_manager_service_perimeter
specuse_explicit_dry_run_specs
: an array ofgoogle_access_context_manager_service_perimeter
use_explicit_dry_run_specparents
: an array ofgoogle_access_context_manager_service_perimeter
parentnames
: an array ofgoogle_access_context_manager_service_perimeter
name
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.