Skip to content

Get Configuration Policy

securityhub_get_configuration_policy R Documentation

Provides information about a configuration policy

Description

Provides information about a configuration policy. Only the Security Hub delegated administrator can invoke this operation from the home Region.

Usage

securityhub_get_configuration_policy(Identifier)

Arguments

Identifier

[required] The Amazon Resource Name (ARN) or universally unique identifier (UUID) of the configuration policy.

Value

A list with the following syntax:

list(
  Arn = "string",
  Id = "string",
  Name = "string",
  Description = "string",
  UpdatedAt = as.POSIXct(
    "2015-01-01"
  ),
  CreatedAt = as.POSIXct(
    "2015-01-01"
  ),
  ConfigurationPolicy = list(
    SecurityHub = list(
      ServiceEnabled = TRUE|FALSE,
      EnabledStandardIdentifiers = list(
        "string"
      ),
      SecurityControlsConfiguration = list(
        EnabledSecurityControlIdentifiers = list(
          "string"
        ),
        DisabledSecurityControlIdentifiers = list(
          "string"
        ),
        SecurityControlCustomParameters = list(
          list(
            SecurityControlId = "string",
            Parameters = list(
              list(
                ValueType = "DEFAULT"|"CUSTOM",
                Value = list(
                  Integer = 123,
                  IntegerList = list(
                    123
                  ),
                  Double = 123.0,
                  String = "string",
                  StringList = list(
                    "string"
                  ),
                  Boolean = TRUE|FALSE,
                  Enum = "string",
                  EnumList = list(
                    "string"
                  )
                )
              )
            )
          )
        )
      )
    )
  )
)

Request syntax

svc$get_configuration_policy(
  Identifier = "string"
)

Examples

## Not run: 
# This operation provides details about the specified configuration
# policy.
svc$get_configuration_policy(
  Identifier = "arn:aws:securityhub:us-east-1:123456789012:configuration-po..."
)

## End(Not run)