Skip to main content

azure_microsoft_defender_settings Resource

Use the azure_microsoft_defender_settings Chef InSpec audit resource to test the properties of multiple Microsoft Defender for Cloud Settings configurations.

Syntax

describe azure_microsoft_defender_settings do
  it { should exist }
end

Parameters

No required parameters.

Properties

ids
The ID of the resource.

Field: id

names
The name of the resource.

Field: name

types
The type of the resource.

Field: type

kinds
The kind of the resource.

Field: kind

properties
The properties of the resource.

Field: properties

Note

For information on using filter criteria on plural resources, see the documentation on FilterTable

See the Azure documentation on Defender for Cloud Settings configuration for additional information. You may access any attribute in the response with the key names separated by dots (.).

Examples

This resource does not have any examples.

Matchers

For a full list of available matchers, see our Universal Matchers page.

This resource has the following special matchers.

exist

The control passes if the filter returns at least one result.

describe azure_microsoft_defender_settings do
  it { should exist }
end

Use should_not if you expect zero matches.

describe azure_microsoft_defender_settings do
  it { should_not exist }
end

Azure Permissions

Graph resources require specific privileges granted to your service principal. Please refer to the Microsoft Documentation for information on how to grant these permissions to your application.

Edit this page on GitHub

Thank you for your feedback!

×









Search Results