Skip to content

aws.securityhub.list_security_control_definitions

Example SQL Queries

SELECT * FROM
aws.securityhub.list_security_control_definitions;

Description

Lists all of the security controls that apply to a specified standard.

Table Definition

Column NameColumn Data Type
standards_arn Input Column

The Amazon Resource Name (ARN) of the standard that you want to view controls for.

VARCHAR
_aws_profile Input Column

The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role.

STRUCT(
"type" VARCHAR,
"name" VARCHAR,
"account_id" VARCHAR,
"via_profile_name" VARCHAR,
"assumed_role_arn" VARCHAR,
"organization" STRUCT(
"account_name" VARCHAR,
"id" VARCHAR,
"tags" STRUCT(
"key" VARCHAR,
"value" VARCHAR
)[],
"master_account" STRUCT(
"id" VARCHAR,
"email" VARCHAR
),
"parents" STRUCT(
"type" VARCHAR,
"id" VARCHAR,
"name" VARCHAR,
"tags" STRUCT(
"key" VARCHAR,
"value" VARCHAR
)[]
)[]
)
)
Show child fields
_aws_profile.account_id

The AWS account id

_aws_profile.assumed_role_arn

The ARN of the assumed role

_aws_profile.name

The unique name of the profile.

_aws_profile.organization

Information about this profile's membership in the AWS organization.

Show child fields
_aws_profile.organization.account_name

The name of account speciifed by the organization

_aws_profile.organization.id

The organization id

_aws_profile.organization.master_account
Show child fields
_aws_profile.organization.master_account.email

The organization master account email address

_aws_profile.organization.master_account.id

The organization master account id

_aws_profile.organization.parents[]
Show child fields
_aws_profile.organization.parents[].id

The id of the parent

_aws_profile.organization.parents[].name

The name of the parent

_aws_profile.organization.parents[].tags[]
Show child fields
_aws_profile.organization.parents[].tags[].key
_aws_profile.organization.parents[].tags[].value
_aws_profile.organization.parents[].type

The type of parent can be an organization unit or a root

_aws_profile.organization.tags[]
Show child fields
_aws_profile.organization.tags[].key
_aws_profile.organization.tags[].value
_aws_profile.type

The type of profile, either 'credentials' or 'assumed_role'

_aws_profile.via_profile_name

This IAM role for this profile is assumed by first utilizing another profile with this name to obtain credentials.

_aws_region Input Column

The AWS region to use.

VARCHAR
current_region_availability

Specifies whether a security control is available in the current Amazon Web Services Region.

VARCHAR
customizable_properties

Security control properties that you can customize. Currently, only parameter customization is supported for select controls. An empty array is returned for controls that don’t support custom properties.

VARCHAR[]
Show child fields
customizable_properties[]
description

The description of a security control across standards. This typically summarizes how Security Hub evaluates the control and the conditions under which it produces a failed finding. This parameter doesn't reference a specific standard.

VARCHAR
parameter_definitions

An object that provides a security control parameter name, description, and the options for customizing it. This object is excluded for a control that doesn't support custom parameters.

MAP(VARCHAR, STRUCT(
"description" VARCHAR,
"configuration_options" STRUCT(
"integer" STRUCT(
"default_value" BIGINT,
"min" BIGINT,
"max" BIGINT
),
"integer_list" STRUCT(
"default_value" BIGINT[],
"min" BIGINT,
"max" BIGINT,
"max_items" BIGINT
),
"double" STRUCT(
"default_value" DOUBLE,
"min" DOUBLE,
"max" DOUBLE
),
"string" STRUCT(
"default_value" VARCHAR,
"re2_expression" VARCHAR,
"expression_description" VARCHAR
),
"string_list" STRUCT(
"default_value" VARCHAR[],
"re2_expression" VARCHAR,
"max_items" BIGINT,
"expression_description" VARCHAR
),
"boolean" STRUCT(
"default_value" BOOLEAN
),
"enum" STRUCT(
"default_value" VARCHAR,
"allowed_values" VARCHAR[]
),
"enum_list" STRUCT(
"default_value" VARCHAR[],
"max_items" BIGINT,
"allowed_values" VARCHAR[]
)
)
))
remediation_url

A link to Security Hub documentation that explains how to remediate a failed finding for a security control.

VARCHAR
security_control_id

The unique identifier of a security control across standards. Values for this field typically consist of an Amazon Web Servicesservice name and a number (for example, APIGateway.3). This parameter differs from SecurityControlArn, which is a unique Amazon Resource Name (ARN) assigned to a control. The ARN references the security control ID (for example, arn:aws:securityhub:eu-central-1:123456789012:security-control/APIGateway.3).

VARCHAR
severity_rating

The severity of a security control. For more information about how Security Hub determines control severity, see Assigning severity to control findings in the Security Hub User Guide.

VARCHAR
title

The title of a security control.

VARCHAR