1. Packages
  2. Azure Native v2
  3. API Docs
  4. security
  5. getSecurityStandard
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.security.getSecurityStandard

Explore with Pulumi AI

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

Get a specific security standard for the requested scope by standardId Azure REST API version: 2024-08-01.

Using getSecurityStandard

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getSecurityStandard(args: GetSecurityStandardArgs, opts?: InvokeOptions): Promise<GetSecurityStandardResult>
function getSecurityStandardOutput(args: GetSecurityStandardOutputArgs, opts?: InvokeOptions): Output<GetSecurityStandardResult>
Copy
def get_security_standard(scope: Optional[str] = None,
                          standard_id: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetSecurityStandardResult
def get_security_standard_output(scope: Optional[pulumi.Input[str]] = None,
                          standard_id: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetSecurityStandardResult]
Copy
func LookupSecurityStandard(ctx *Context, args *LookupSecurityStandardArgs, opts ...InvokeOption) (*LookupSecurityStandardResult, error)
func LookupSecurityStandardOutput(ctx *Context, args *LookupSecurityStandardOutputArgs, opts ...InvokeOption) LookupSecurityStandardResultOutput
Copy

> Note: This function is named LookupSecurityStandard in the Go SDK.

public static class GetSecurityStandard 
{
    public static Task<GetSecurityStandardResult> InvokeAsync(GetSecurityStandardArgs args, InvokeOptions? opts = null)
    public static Output<GetSecurityStandardResult> Invoke(GetSecurityStandardInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetSecurityStandardResult> getSecurityStandard(GetSecurityStandardArgs args, InvokeOptions options)
public static Output<GetSecurityStandardResult> getSecurityStandard(GetSecurityStandardArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:security:getSecurityStandard
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Scope
This property is required.
Changes to this property will trigger replacement.
string
The scope of the security standard. Valid scopes are: management group (format: 'providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: 'subscriptions/{subscriptionId}'), or security connector (format: 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'
StandardId
This property is required.
Changes to this property will trigger replacement.
string
The Security Standard key - unique key for the standard type
Scope
This property is required.
Changes to this property will trigger replacement.
string
The scope of the security standard. Valid scopes are: management group (format: 'providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: 'subscriptions/{subscriptionId}'), or security connector (format: 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'
StandardId
This property is required.
Changes to this property will trigger replacement.
string
The Security Standard key - unique key for the standard type
scope
This property is required.
Changes to this property will trigger replacement.
String
The scope of the security standard. Valid scopes are: management group (format: 'providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: 'subscriptions/{subscriptionId}'), or security connector (format: 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'
standardId
This property is required.
Changes to this property will trigger replacement.
String
The Security Standard key - unique key for the standard type
scope
This property is required.
Changes to this property will trigger replacement.
string
The scope of the security standard. Valid scopes are: management group (format: 'providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: 'subscriptions/{subscriptionId}'), or security connector (format: 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'
standardId
This property is required.
Changes to this property will trigger replacement.
string
The Security Standard key - unique key for the standard type
scope
This property is required.
Changes to this property will trigger replacement.
str
The scope of the security standard. Valid scopes are: management group (format: 'providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: 'subscriptions/{subscriptionId}'), or security connector (format: 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'
standard_id
This property is required.
Changes to this property will trigger replacement.
str
The Security Standard key - unique key for the standard type
scope
This property is required.
Changes to this property will trigger replacement.
String
The scope of the security standard. Valid scopes are: management group (format: 'providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: 'subscriptions/{subscriptionId}'), or security connector (format: 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'
standardId
This property is required.
Changes to this property will trigger replacement.
String
The Security Standard key - unique key for the standard type

getSecurityStandard Result

The following output properties are available:

Id string
Resource Id
Name string
Resource name
StandardType string
Standard type (Custom or Default or Compliance only currently)
Type string
Resource type
Assessments List<Pulumi.AzureNative.Security.Outputs.PartialAssessmentPropertiesResponse>
List of assessment keys to apply to standard scope.
CloudProviders List<string>
List of all standard supported clouds.
Description string
Description of the standard
DisplayName string
Display name of the standard, equivalent to the standardId
Metadata Pulumi.AzureNative.Security.Outputs.StandardMetadataResponse
The security standard metadata.
PolicySetDefinitionId string
The policy set definition id associated with the standard.
Id string
Resource Id
Name string
Resource name
StandardType string
Standard type (Custom or Default or Compliance only currently)
Type string
Resource type
Assessments []PartialAssessmentPropertiesResponse
List of assessment keys to apply to standard scope.
CloudProviders []string
List of all standard supported clouds.
Description string
Description of the standard
DisplayName string
Display name of the standard, equivalent to the standardId
Metadata StandardMetadataResponse
The security standard metadata.
PolicySetDefinitionId string
The policy set definition id associated with the standard.
id String
Resource Id
name String
Resource name
standardType String
Standard type (Custom or Default or Compliance only currently)
type String
Resource type
assessments List<PartialAssessmentPropertiesResponse>
List of assessment keys to apply to standard scope.
cloudProviders List<String>
List of all standard supported clouds.
description String
Description of the standard
displayName String
Display name of the standard, equivalent to the standardId
metadata StandardMetadataResponse
The security standard metadata.
policySetDefinitionId String
The policy set definition id associated with the standard.
id string
Resource Id
name string
Resource name
standardType string
Standard type (Custom or Default or Compliance only currently)
type string
Resource type
assessments PartialAssessmentPropertiesResponse[]
List of assessment keys to apply to standard scope.
cloudProviders string[]
List of all standard supported clouds.
description string
Description of the standard
displayName string
Display name of the standard, equivalent to the standardId
metadata StandardMetadataResponse
The security standard metadata.
policySetDefinitionId string
The policy set definition id associated with the standard.
id str
Resource Id
name str
Resource name
standard_type str
Standard type (Custom or Default or Compliance only currently)
type str
Resource type
assessments Sequence[PartialAssessmentPropertiesResponse]
List of assessment keys to apply to standard scope.
cloud_providers Sequence[str]
List of all standard supported clouds.
description str
Description of the standard
display_name str
Display name of the standard, equivalent to the standardId
metadata StandardMetadataResponse
The security standard metadata.
policy_set_definition_id str
The policy set definition id associated with the standard.
id String
Resource Id
name String
Resource name
standardType String
Standard type (Custom or Default or Compliance only currently)
type String
Resource type
assessments List<Property Map>
List of assessment keys to apply to standard scope.
cloudProviders List<String>
List of all standard supported clouds.
description String
Description of the standard
displayName String
Display name of the standard, equivalent to the standardId
metadata Property Map
The security standard metadata.
policySetDefinitionId String
The policy set definition id associated with the standard.

Supporting Types

PartialAssessmentPropertiesResponse

AssessmentKey string
The assessment key
AssessmentKey string
The assessment key
assessmentKey String
The assessment key
assessmentKey string
The assessment key
assessment_key str
The assessment key
assessmentKey String
The assessment key

StandardMetadataResponse

CreatedBy This property is required. string
Standard Created by object id (GUID)
CreatedOn This property is required. string
Standard creation date
LastUpdatedBy This property is required. string
Standard last updated by object id (GUID)
LastUpdatedOn This property is required. string
Standard last update date
CreatedBy This property is required. string
Standard Created by object id (GUID)
CreatedOn This property is required. string
Standard creation date
LastUpdatedBy This property is required. string
Standard last updated by object id (GUID)
LastUpdatedOn This property is required. string
Standard last update date
createdBy This property is required. String
Standard Created by object id (GUID)
createdOn This property is required. String
Standard creation date
lastUpdatedBy This property is required. String
Standard last updated by object id (GUID)
lastUpdatedOn This property is required. String
Standard last update date
createdBy This property is required. string
Standard Created by object id (GUID)
createdOn This property is required. string
Standard creation date
lastUpdatedBy This property is required. string
Standard last updated by object id (GUID)
lastUpdatedOn This property is required. string
Standard last update date
created_by This property is required. str
Standard Created by object id (GUID)
created_on This property is required. str
Standard creation date
last_updated_by This property is required. str
Standard last updated by object id (GUID)
last_updated_on This property is required. str
Standard last update date
createdBy This property is required. String
Standard Created by object id (GUID)
createdOn This property is required. String
Standard creation date
lastUpdatedBy This property is required. String
Standard last updated by object id (GUID)
lastUpdatedOn This property is required. String
Standard last update date

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi