Skip to content

aws.shield.describe_attack

Example SQL Queries

SELECT * FROM
aws.shield.describe_attack
WHERE
"attack_id" = 'VALUE';

Description

Describes the details of a DDoS attack.

Table Definition

Column NameColumn Data Type
attack_id Required Input Column

The unique identifier (ID) for the attack.

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.

attack

The attack that you requested.

STRUCT(
"attack_id" VARCHAR,
"resource_arn" VARCHAR,
"sub_resources" STRUCT(
"type" VARCHAR,
"id" VARCHAR,
"attack_vectors" STRUCT(
"vector_type" VARCHAR,
"vector_counters" STRUCT(
"name" VARCHAR,
"max" DOUBLE,
"average" DOUBLE,
"sum" DOUBLE,
"n" BIGINT,
"unit" VARCHAR
)[]
)[],
"counters" STRUCT(
"name" VARCHAR,
"max" DOUBLE,
"average" DOUBLE,
"sum" DOUBLE,
"n" BIGINT,
"unit" VARCHAR
)[]
)[],
"start_time" TIMESTAMP_S,
"end_time" TIMESTAMP_S,
"attack_counters" STRUCT(
"name" VARCHAR,
"max" DOUBLE,
"average" DOUBLE,
"sum" DOUBLE,
"n" BIGINT,
"unit" VARCHAR
)[],
"attack_properties" STRUCT(
"attack_layer" VARCHAR,
"attack_property_identifier" VARCHAR,
"top_contributors" STRUCT(
"name" VARCHAR,
"value" BIGINT
)[],
"unit" VARCHAR,
"total" BIGINT
)[],
"mitigations" STRUCT(
"mitigation_name" VARCHAR
)[]
)
Show child fields
attack.attack_counters[]
Show child fields
attack.attack_counters[].average

The average value of the counter for a specified time period.

attack.attack_counters[].max

The maximum value of the counter for a specified time period.

attack.attack_counters[].n

The number of counters for a specified time period.

attack.attack_counters[].name

The counter name.

attack.attack_counters[].sum

The total of counter values for a specified time period.

attack.attack_counters[].unit

The unit of the counters.

attack.attack_id

The unique identifier (ID) of the attack.

attack.attack_properties[]
Show child fields
attack.attack_properties[].attack_layer

The type of Shield event that was observed. NETWORK indicates layer 3 and layer 4 events and APPLICATION indicates layer 7 events.

For infrastructure layer events (L3 and L4 events), you can view metrics for top contributors in Amazon CloudWatch metrics. For more information, see Shield metrics and alarms in the WAF Developer Guide.

attack.attack_properties[].attack_property_identifier

Defines the Shield event property information that is provided. The WORDPRESS_PINGBACK_REFLECTOR and WORDPRESS_PINGBACK_SOURCE values are valid only for WordPress reflective pingback events.

attack.attack_properties[].top_contributors[]
Show child fields
attack.attack_properties[].top_contributors[].name

The name of the contributor. The type of name that you'll find here depends on the AttackPropertyIdentifier setting in the AttackProperty where this contributor is defined. For example, if the AttackPropertyIdentifier is SOURCE_COUNTRY, the Name could be United States.

attack.attack_properties[].top_contributors[].value

The contribution of this contributor expressed in Protection units. For example 10,000.

attack.attack_properties[].total

The total contributions made to this Shield event by all contributors.

attack.attack_properties[].unit

The unit used for the Contributor Value property.

attack.end_time

The time the attack ended, in Unix time in seconds.

attack.mitigations[]
Show child fields
attack.mitigations[].mitigation_name

The name of the mitigation taken for this attack.

attack.resource_arn

The ARN (Amazon Resource Name) of the resource that was attacked.

attack.start_time

The time the attack started, in Unix time in seconds.

attack.sub_resources[]
Show child fields
attack.sub_resources[].attack_vectors[]
Show child fields
attack.sub_resources[].attack_vectors[].vector_counters[]
Show child fields
attack.sub_resources[].attack_vectors[].vector_counters[].average

The average value of the counter for a specified time period.

attack.sub_resources[].attack_vectors[].vector_counters[].max

The maximum value of the counter for a specified time period.

attack.sub_resources[].attack_vectors[].vector_counters[].n

The number of counters for a specified time period.

attack.sub_resources[].attack_vectors[].vector_counters[].name

The counter name.

attack.sub_resources[].attack_vectors[].vector_counters[].sum

The total of counter values for a specified time period.

attack.sub_resources[].attack_vectors[].vector_counters[].unit

The unit of the counters.

attack.sub_resources[].attack_vectors[].vector_type

The attack type, for example, SNMP reflection or SYN flood.

attack.sub_resources[].counters[]
Show child fields
attack.sub_resources[].counters[].average

The average value of the counter for a specified time period.

attack.sub_resources[].counters[].max

The maximum value of the counter for a specified time period.

attack.sub_resources[].counters[].n

The number of counters for a specified time period.

attack.sub_resources[].counters[].name

The counter name.

attack.sub_resources[].counters[].sum

The total of counter values for a specified time period.

attack.sub_resources[].counters[].unit

The unit of the counters.

attack.sub_resources[].id

The unique identifier (ID) of the SubResource.

attack.sub_resources[].type

The SubResource type.