v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1442269245.1 KB

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

post/#X-Amz-Target=AWSFMS_20180101.GetViolationDetails

Headers

X-Amz-Target'AWSFMS_20180101.GetViolationDetails' required

Request body

PolicyIdstring required

The ID of the Firewall Manager policy that you want the details for. This currently only supports security group content audit policies.

MemberAccountstring required

The Amazon Web Services account ID that you want the details for.

ResourceIdstring required

The ID of the resource that has violations.

ResourceTypestring required

The resource type. This is in the format shown in the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html">Amazon Web Services Resource Types Reference</a>. Supported resource types are: <code>AWS::EC2::Instance</code>, <code>AWS::EC2::NetworkInterface</code>, <code>AWS::EC2::SecurityGroup</code>, <code>AWS::NetworkFirewall::FirewallPolicy</code>, and <code>AWS::EC2::Subnet</code>.

Response

Success