Skip to content

Batch Get Security Controls

securityhub_batch_get_security_controls R Documentation

Provides details about a batch of security controls for the current Amazon Web Services account and Amazon Web Services Region

Description

Provides details about a batch of security controls for the current Amazon Web Services account and Amazon Web Services Region.

Usage

securityhub_batch_get_security_controls(SecurityControlIds)

Arguments

SecurityControlIds

[required] A list of security controls (identified with SecurityControlId, SecurityControlArn, or a mix of both parameters). The security control ID or Amazon Resource Name (ARN) is the same across standards.

Value

A list with the following syntax:

list(
  SecurityControls = list(
    list(
      SecurityControlId = "string",
      SecurityControlArn = "string",
      Title = "string",
      Description = "string",
      RemediationUrl = "string",
      SeverityRating = "LOW"|"MEDIUM"|"HIGH"|"CRITICAL",
      SecurityControlStatus = "ENABLED"|"DISABLED",
      UpdateStatus = "READY"|"UPDATING",
      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"
            )
          )
        )
      ),
      LastUpdateReason = "string"
    )
  ),
  UnprocessedIds = list(
    list(
      SecurityControlId = "string",
      ErrorCode = "INVALID_INPUT"|"ACCESS_DENIED"|"NOT_FOUND"|"LIMIT_EXCEEDED",
      ErrorReason = "string"
    )
  )
)

Request syntax

svc$batch_get_security_controls(
  SecurityControlIds = list(
    "string"
  )
)

Examples

## Not run: 
# The following example gets details for the specified controls in the
# current AWS account and AWS Region.
svc$batch_get_security_controls(
  SecurityControlIds = list(
    "ACM.1",
    "APIGateway.1"
  )
)

## End(Not run)