A google_access_context_manager_service_perimeters is used to test a Google ServicePerimeter resource
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 that can be accessed from the google_access_context_manager_service_perimeters resource:
See the google_access_context_manager_service_perimeter resource for more information.
titlesgoogle_access_context_manager_service_perimeter titledescriptionsgoogle_access_context_manager_service_perimeter descriptioncreate_timesgoogle_access_context_manager_service_perimeter create_timeupdate_timesgoogle_access_context_manager_service_perimeter update_timeperimeter_typesgoogle_access_context_manager_service_perimeter perimeter_typestatusesgoogle_access_context_manager_service_perimeter statusspecsgoogle_access_context_manager_service_perimeter specuse_explicit_dry_run_specsgoogle_access_context_manager_service_perimeter use_explicit_dry_run_specparentsgoogle_access_context_manager_service_perimeter parentnamesgoogle_access_context_manager_service_perimeter nameThis resource supports all of the above properties as filter criteria, which can be used with where as a block or a method.
© Chef Software, Inc.
Licensed under the Creative Commons Attribution 3.0 Unported License.
The Chef™ Mark and Chef Logo are either registered trademarks/service marks or trademarks/servicemarks of Chef, in the United States and other countries and are used with Chef Inc's permission.
We are not affiliated with, endorsed or sponsored by Chef Inc.
https://docs.chef.io/inspec/resources/google_access_context_manager_service_perimeters/