Skip to main content

azure_microsoft_defender_settings Resource

[edit on GitHub]

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

See the documentation on FilterTable for information on using filter criteria on plural resources.

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

This InSpec audit resource has the following special matchers. For a full list of available matchers, please visit our Universal Matchers page.

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.

Was this page helpful?

×









Search Results