Skip to main content

violation_details

Creates, updates, deletes, gets or lists a violation_details resource.

Overview

Nameviolation_details
TypeResource
Idaws.fms.violation_details

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
member_accountstringThe Amazon Web Services account that the violation details were requested for. (pattern: <code>^[0-9]+$</code>)
policy_idstringThe ID of the Firewall Manager policy that the violation details were requested for. (pattern: <code>^[a-z0-9A-Z-]{36}$</code>)
resource_descriptionstringBrief description for the requested resource.
resource_idstringThe resource ID that the violation details were requested for. (pattern: <code>^([\p{L}\p{Z}\p{N}_.:/=+-@]*)$</code>)
resource_tagsarrayThe ResourceTag objects associated with the resource.
resource_typestringThe resource type that the violation details were requested for. (pattern: <code>^([\p{L}\p{Z}\p{N}_.:/=+-@]*)$</code>)
resource_violationsarrayList of violations for the requested resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_violation_detailsselectregionRetrieves violations for a resource based on the specified Firewall Manager policy and Amazon Web Services account.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Retrieves violations for a resource based on the specified Firewall Manager policy and Amazon Web Services account.

SELECT
member_account,
policy_id,
resource_description,
resource_id,
resource_tags,
resource_type,
resource_violations
FROM aws.fms.violation_details
WHERE region = '{{ region }}' -- required
;