Dela via


Security Standards - Get

Hämta en specifik säkerhetsstandard för det begärda omfånget av standardId

GET https://management.azure.com/{scope}/providers/Microsoft.Security/securityStandards/{standardId}?api-version=2024-08-01

URI-parametrar

Name I Obligatorisk Typ Description
scope
path True

string

Säkerhetsstandardens omfattning. Giltiga omfång är: hanteringsgrupp (format: "providers/Microsoft.Management/managementGroups/{managementGroup}", prenumeration (format: "subscriptions/{subscriptionId}") eller säkerhetsanslutningsprogram (format: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})"

standardId
path True

string

Säkerhetsstandardnyckeln – unik nyckel för standardtypen

Reguljärt uttrycksmönster: [{]?[0-9a-fA-F]{8}-(?:[0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}[}]?$

api-version
query True

string

DEN API-version som ska användas för den här åtgärden.

Svar

Name Typ Description
200 OK

SecurityStandard

Säkerhetsstandarden har skapats

Other Status Codes

ErrorResponse

Felsvar som beskriver varför åtgärden misslyckades

Säkerhet

azure_auth

Azure Active Directory OAuth2 Flow

Typ: oauth2
Flow: implicit
Auktoriseringswebbadress: https://login.microsoftonline.com/common/oauth2/authorize

Omfattningar

Name Description
user_impersonation personifiera ditt användarkonto

Exempel

Get a security standard over management group scope
Get a security standard over security connector scope
Get a security standard over subscription scope

Get a security standard over management group scope

Exempelbegäran

GET https://management.azure.com/providers/Microsoft.Management/managementGroups/contoso/providers/Microsoft.Security/securityStandards/1f3afdf9-d0c9-4c3d-847f-89da613e70a8?api-version=2024-08-01

Exempelsvar

{
  "id": "/providers/Microsoft.Management/managementGroups/contoso/providers/Microsoft.Security/securityStandards/1f3afdf9-d0c9-4c3d-847f-89da613e70a8",
  "name": "1f3afdf9-d0c9-4c3d-847f-89da613e70a8",
  "type": "Microsoft.Security/securityStandards",
  "properties": {
    "displayName": "Cross cloud standard 1",
    "standardType": "Custom",
    "description": "Controls and security data implementing security recommendations defined in Azure Security",
    "assessments": [
      {
        "assessmentKey": "1195afff-c881-495e-9bc5-1486211ae03f"
      },
      {
        "assessmentKey": "dbd0cb49-b563-45e7-9724-889e799fa648"
      }
    ],
    "cloudProviders": [
      "GCP"
    ],
    "policySetDefinitionId": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Authorization/policySetDefinitions/patchorchestration-applicationversions",
    "metadata": {
      "createdBy": "c23b5354-ff0a-4b2a-9f92-6f144effd936",
      "createdOn": "2022-11-10T08:31:26.7993124Z",
      "lastUpdatedBy": "c23b5354-ff0a-4b2a-9f92-6f144effd936",
      "lastUpdatedOn": "2022-11-10T08:31:26.7993124Z"
    }
  }
}

Get a security standard over security connector scope

Exempelbegäran

GET https://management.azure.com/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/gcpResourceGroup/providers/Microsoft.Security/securityConnectors/gcpconnector/providers/Microsoft.Security/securityStandards/1f3afdf9-d0c9-4c3d-847f-89da613e70a8?api-version=2024-08-01

Exempelsvar

{
  "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/gcpResourceGroup/providers/Microsoft.Security/securityConnectors/gcpconnector/Microsoft.Security/securityStandards/1f3afdf9-d0c9-4c3d-847f-89da613e70a8",
  "name": "1f3afdf9-d0c9-4c3d-847f-89da613e70a8",
  "type": "Microsoft.Security/securityStandards",
  "properties": {
    "displayName": "Cross cloud standard 1",
    "standardType": "Custom",
    "description": "Controls and security data implementing security recommendations defined in Azure Security",
    "assessments": [
      {
        "assessmentKey": "1195afff-c881-495e-9bc5-1486211ae03f"
      },
      {
        "assessmentKey": "dbd0cb49-b563-45e7-9724-889e799fa648"
      }
    ],
    "cloudProviders": [
      "GCP"
    ],
    "policySetDefinitionId": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Authorization/policySetDefinitions/patchorchestration-applicationversions",
    "metadata": {
      "createdBy": "c23b5354-ff0a-4b2a-9f92-6f144effd936",
      "createdOn": "2022-11-10T08:31:26.7993124Z",
      "lastUpdatedBy": "c23b5354-ff0a-4b2a-9f92-6f144effd936",
      "lastUpdatedOn": "2022-11-10T08:31:26.7993124Z"
    }
  }
}

Get a security standard over subscription scope

Exempelbegäran

GET https://management.azure.com/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/securityStandards/1f3afdf9-d0c9-4c3d-847f-89da613e70a8?api-version=2024-08-01

Exempelsvar

{
  "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/securityStandards/1f3afdf9-d0c9-4c3d-847f-89da613e70a8",
  "name": "1f3afdf9-d0c9-4c3d-847f-89da613e70a8",
  "type": "Microsoft.Security/securityStandards",
  "properties": {
    "displayName": "Cross cloud standard 1",
    "standardType": "Custom",
    "description": "Controls and security data implementing security recommendations defined in Azure Security",
    "assessments": [
      {
        "assessmentKey": "1195afff-c881-495e-9bc5-1486211ae03f"
      },
      {
        "assessmentKey": "dbd0cb49-b563-45e7-9724-889e799fa648"
      }
    ],
    "cloudProviders": [
      "GCP"
    ],
    "policySetDefinitionId": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Authorization/policySetDefinitions/patchorchestration-applicationversions",
    "metadata": {
      "createdBy": "c23b5354-ff0a-4b2a-9f92-6f144effd936",
      "createdOn": "2022-11-10T08:31:26.7993124Z",
      "lastUpdatedBy": "c23b5354-ff0a-4b2a-9f92-6f144effd936",
      "lastUpdatedOn": "2022-11-10T08:31:26.7993124Z"
    }
  }
}

Definitioner

Name Description
ErrorAdditionalInfo

Ytterligare information om resurshanteringsfelet.

ErrorDetail

Felinformationen.

ErrorResponse

Felsvar

PartialAssessmentProperties

Beskriver egenskaperna för en utvärdering som relaterade till standarden

SecurityStandard

Security Standard på en resurs

StandardMetadata

Standardmetadata

StandardSupportedCloud

Molnet som standarden stöds på.

standardType

Standardtyp (anpassad eller standard eller efterlevnad endast för närvarande)

ErrorAdditionalInfo

Ytterligare information om resurshanteringsfelet.

Name Typ Description
info

object

Ytterligare information.

type

string

Ytterligare informationstyp.

ErrorDetail

Felinformationen.

Name Typ Description
additionalInfo

ErrorAdditionalInfo[]

Ytterligare information om felet.

code

string

Felkoden.

details

ErrorDetail[]

Felinformationen.

message

string

Felmeddelandet.

target

string

Felmålet.

ErrorResponse

Felsvar

Name Typ Description
error

ErrorDetail

Felobjektet.

PartialAssessmentProperties

Beskriver egenskaperna för en utvärdering som relaterade till standarden

Name Typ Description
assessmentKey

string

Utvärderingsnyckeln

SecurityStandard

Security Standard på en resurs

Name Typ Description
id

string

Resurs-ID

name

string

Resursnamn

properties.assessments

PartialAssessmentProperties[]

Lista över utvärderingsnycklar som ska tillämpas på standardomfånget.

properties.cloudProviders

StandardSupportedCloud[]

Lista över alla standardmoln som stöds.

properties.description

string

Beskrivning av standarden

properties.displayName

string

Visningsnamn för standarden, motsvarande standardId

properties.metadata

StandardMetadata

Säkerhetsstandardmetadata.

properties.policySetDefinitionId

string

Det principuppsättningsdefinitions-ID som är associerat med standarden.

properties.standardType

standardType

Standardtyp (anpassad eller standard eller efterlevnad endast för närvarande)

type

string

Resurstyp

StandardMetadata

Standardmetadata

Name Typ Description
createdBy

string

Standard skapad av objekt-ID (GUID)

createdOn

string

Standarddatum för skapande

lastUpdatedBy

string

Standard senast uppdaterad av objekt-ID (GUID)

lastUpdatedOn

string

Standarddatum för senaste uppdatering

StandardSupportedCloud

Molnet som standarden stöds på.

Name Typ Description
AWS

string

Azure

string

GCP

string

standardType

Standardtyp (anpassad eller standard eller efterlevnad endast för närvarande)

Name Typ Description
Compliance

string

Custom

string

Default

string