2022/10/27 - Firewall Management Service - 1 updated api methods
Changes Add support NetworkFirewall Managed Rule Group Override flag in GetViolationDetails API
{'ViolationDetail': {'ResourceViolations': {'NetworkFirewallPolicyModifiedViolation': {'CurrentPolicyDescription': {'StatefulRuleGroups': {'Override': {'Action': 'DROP_TO_ALERT'}}}, 'ExpectedPolicyDescription': {'StatefulRuleGroups': {'Override': {'Action': 'DROP_TO_ALERT'}}}}}}}
Retrieves violations for a resource based on the specified Firewall Manager policy and Amazon Web Services account.
See also: AWS API Documentation
Request Syntax
client.get_violation_details( PolicyId='string', MemberAccount='string', ResourceId='string', ResourceType='string' )
string
[REQUIRED]
The ID of the Firewall Manager policy that you want the details for. This currently only supports security group content audit policies.
string
[REQUIRED]
The Amazon Web Services account ID that you want the details for.
string
[REQUIRED]
The ID of the resource that has violations.
string
[REQUIRED]
The resource type. This is in the format shown in the Amazon Web Services Resource Types Reference. Supported resource types are: AWS::EC2::Instance, AWS::EC2::NetworkInterface, AWS::EC2::SecurityGroup, AWS::NetworkFirewall::FirewallPolicy, and AWS::EC2::Subnet.
dict
Response Syntax
{ 'ViolationDetail': { 'PolicyId': 'string', 'MemberAccount': 'string', 'ResourceId': 'string', 'ResourceType': 'string', 'ResourceViolations': [ { 'AwsVPCSecurityGroupViolation': { 'ViolationTarget': 'string', 'ViolationTargetDescription': 'string', 'PartialMatches': [ { 'Reference': 'string', 'TargetViolationReasons': [ 'string', ] }, ], 'PossibleSecurityGroupRemediationActions': [ { 'RemediationActionType': 'REMOVE'|'MODIFY', 'Description': 'string', 'RemediationResult': { 'IPV4Range': 'string', 'IPV6Range': 'string', 'PrefixListId': 'string', 'Protocol': 'string', 'FromPort': 123, 'ToPort': 123 }, 'IsDefaultAction': True|False }, ] }, 'AwsEc2NetworkInterfaceViolation': { 'ViolationTarget': 'string', 'ViolatingSecurityGroups': [ 'string', ] }, 'AwsEc2InstanceViolation': { 'ViolationTarget': 'string', 'AwsEc2NetworkInterfaceViolations': [ { 'ViolationTarget': 'string', 'ViolatingSecurityGroups': [ 'string', ] }, ] }, 'NetworkFirewallMissingFirewallViolation': { 'ViolationTarget': 'string', 'VPC': 'string', 'AvailabilityZone': 'string', 'TargetViolationReason': 'string' }, 'NetworkFirewallMissingSubnetViolation': { 'ViolationTarget': 'string', 'VPC': 'string', 'AvailabilityZone': 'string', 'TargetViolationReason': 'string' }, 'NetworkFirewallMissingExpectedRTViolation': { 'ViolationTarget': 'string', 'VPC': 'string', 'AvailabilityZone': 'string', 'CurrentRouteTable': 'string', 'ExpectedRouteTable': 'string' }, 'NetworkFirewallPolicyModifiedViolation': { 'ViolationTarget': 'string', 'CurrentPolicyDescription': { 'StatelessRuleGroups': [ { 'RuleGroupName': 'string', 'ResourceId': 'string', 'Priority': 123 }, ], 'StatelessDefaultActions': [ 'string', ], 'StatelessFragmentDefaultActions': [ 'string', ], 'StatelessCustomActions': [ 'string', ], 'StatefulRuleGroups': [ { 'RuleGroupName': 'string', 'ResourceId': 'string', 'Priority': 123, 'Override': { 'Action': 'DROP_TO_ALERT' } }, ], 'StatefulDefaultActions': [ 'string', ], 'StatefulEngineOptions': { 'RuleOrder': 'STRICT_ORDER'|'DEFAULT_ACTION_ORDER' } }, 'ExpectedPolicyDescription': { 'StatelessRuleGroups': [ { 'RuleGroupName': 'string', 'ResourceId': 'string', 'Priority': 123 }, ], 'StatelessDefaultActions': [ 'string', ], 'StatelessFragmentDefaultActions': [ 'string', ], 'StatelessCustomActions': [ 'string', ], 'StatefulRuleGroups': [ { 'RuleGroupName': 'string', 'ResourceId': 'string', 'Priority': 123, 'Override': { 'Action': 'DROP_TO_ALERT' } }, ], 'StatefulDefaultActions': [ 'string', ], 'StatefulEngineOptions': { 'RuleOrder': 'STRICT_ORDER'|'DEFAULT_ACTION_ORDER' } } }, 'NetworkFirewallInternetTrafficNotInspectedViolation': { 'SubnetId': 'string', 'SubnetAvailabilityZone': 'string', 'RouteTableId': 'string', 'ViolatingRoutes': [ { 'DestinationType': 'IPV4'|'IPV6'|'PREFIX_LIST', 'TargetType': 'GATEWAY'|'CARRIER_GATEWAY'|'INSTANCE'|'LOCAL_GATEWAY'|'NAT_GATEWAY'|'NETWORK_INTERFACE'|'VPC_ENDPOINT'|'VPC_PEERING_CONNECTION'|'EGRESS_ONLY_INTERNET_GATEWAY'|'TRANSIT_GATEWAY', 'Destination': 'string', 'Target': 'string' }, ], 'IsRouteTableUsedInDifferentAZ': True|False, 'CurrentFirewallSubnetRouteTable': 'string', 'ExpectedFirewallEndpoint': 'string', 'FirewallSubnetId': 'string', 'ExpectedFirewallSubnetRoutes': [ { 'IpV4Cidr': 'string', 'PrefixListId': 'string', 'IpV6Cidr': 'string', 'ContributingSubnets': [ 'string', ], 'AllowedTargets': [ 'string', ], 'RouteTableId': 'string' }, ], 'ActualFirewallSubnetRoutes': [ { 'DestinationType': 'IPV4'|'IPV6'|'PREFIX_LIST', 'TargetType': 'GATEWAY'|'CARRIER_GATEWAY'|'INSTANCE'|'LOCAL_GATEWAY'|'NAT_GATEWAY'|'NETWORK_INTERFACE'|'VPC_ENDPOINT'|'VPC_PEERING_CONNECTION'|'EGRESS_ONLY_INTERNET_GATEWAY'|'TRANSIT_GATEWAY', 'Destination': 'string', 'Target': 'string' }, ], 'InternetGatewayId': 'string', 'CurrentInternetGatewayRouteTable': 'string', 'ExpectedInternetGatewayRoutes': [ { 'IpV4Cidr': 'string', 'PrefixListId': 'string', 'IpV6Cidr': 'string', 'ContributingSubnets': [ 'string', ], 'AllowedTargets': [ 'string', ], 'RouteTableId': 'string' }, ], 'ActualInternetGatewayRoutes': [ { 'DestinationType': 'IPV4'|'IPV6'|'PREFIX_LIST', 'TargetType': 'GATEWAY'|'CARRIER_GATEWAY'|'INSTANCE'|'LOCAL_GATEWAY'|'NAT_GATEWAY'|'NETWORK_INTERFACE'|'VPC_ENDPOINT'|'VPC_PEERING_CONNECTION'|'EGRESS_ONLY_INTERNET_GATEWAY'|'TRANSIT_GATEWAY', 'Destination': 'string', 'Target': 'string' }, ], 'VpcId': 'string' }, 'NetworkFirewallInvalidRouteConfigurationViolation': { 'AffectedSubnets': [ 'string', ], 'RouteTableId': 'string', 'IsRouteTableUsedInDifferentAZ': True|False, 'ViolatingRoute': { 'DestinationType': 'IPV4'|'IPV6'|'PREFIX_LIST', 'TargetType': 'GATEWAY'|'CARRIER_GATEWAY'|'INSTANCE'|'LOCAL_GATEWAY'|'NAT_GATEWAY'|'NETWORK_INTERFACE'|'VPC_ENDPOINT'|'VPC_PEERING_CONNECTION'|'EGRESS_ONLY_INTERNET_GATEWAY'|'TRANSIT_GATEWAY', 'Destination': 'string', 'Target': 'string' }, 'CurrentFirewallSubnetRouteTable': 'string', 'ExpectedFirewallEndpoint': 'string', 'ActualFirewallEndpoint': 'string', 'ExpectedFirewallSubnetId': 'string', 'ActualFirewallSubnetId': 'string', 'ExpectedFirewallSubnetRoutes': [ { 'IpV4Cidr': 'string', 'PrefixListId': 'string', 'IpV6Cidr': 'string', 'ContributingSubnets': [ 'string', ], 'AllowedTargets': [ 'string', ], 'RouteTableId': 'string' }, ], 'ActualFirewallSubnetRoutes': [ { 'DestinationType': 'IPV4'|'IPV6'|'PREFIX_LIST', 'TargetType': 'GATEWAY'|'CARRIER_GATEWAY'|'INSTANCE'|'LOCAL_GATEWAY'|'NAT_GATEWAY'|'NETWORK_INTERFACE'|'VPC_ENDPOINT'|'VPC_PEERING_CONNECTION'|'EGRESS_ONLY_INTERNET_GATEWAY'|'TRANSIT_GATEWAY', 'Destination': 'string', 'Target': 'string' }, ], 'InternetGatewayId': 'string', 'CurrentInternetGatewayRouteTable': 'string', 'ExpectedInternetGatewayRoutes': [ { 'IpV4Cidr': 'string', 'PrefixListId': 'string', 'IpV6Cidr': 'string', 'ContributingSubnets': [ 'string', ], 'AllowedTargets': [ 'string', ], 'RouteTableId': 'string' }, ], 'ActualInternetGatewayRoutes': [ { 'DestinationType': 'IPV4'|'IPV6'|'PREFIX_LIST', 'TargetType': 'GATEWAY'|'CARRIER_GATEWAY'|'INSTANCE'|'LOCAL_GATEWAY'|'NAT_GATEWAY'|'NETWORK_INTERFACE'|'VPC_ENDPOINT'|'VPC_PEERING_CONNECTION'|'EGRESS_ONLY_INTERNET_GATEWAY'|'TRANSIT_GATEWAY', 'Destination': 'string', 'Target': 'string' }, ], 'VpcId': 'string' }, 'NetworkFirewallBlackHoleRouteDetectedViolation': { 'ViolationTarget': 'string', 'RouteTableId': 'string', 'VpcId': 'string', 'ViolatingRoutes': [ { 'DestinationType': 'IPV4'|'IPV6'|'PREFIX_LIST', 'TargetType': 'GATEWAY'|'CARRIER_GATEWAY'|'INSTANCE'|'LOCAL_GATEWAY'|'NAT_GATEWAY'|'NETWORK_INTERFACE'|'VPC_ENDPOINT'|'VPC_PEERING_CONNECTION'|'EGRESS_ONLY_INTERNET_GATEWAY'|'TRANSIT_GATEWAY', 'Destination': 'string', 'Target': 'string' }, ] }, 'NetworkFirewallUnexpectedFirewallRoutesViolation': { 'FirewallSubnetId': 'string', 'ViolatingRoutes': [ { 'DestinationType': 'IPV4'|'IPV6'|'PREFIX_LIST', 'TargetType': 'GATEWAY'|'CARRIER_GATEWAY'|'INSTANCE'|'LOCAL_GATEWAY'|'NAT_GATEWAY'|'NETWORK_INTERFACE'|'VPC_ENDPOINT'|'VPC_PEERING_CONNECTION'|'EGRESS_ONLY_INTERNET_GATEWAY'|'TRANSIT_GATEWAY', 'Destination': 'string', 'Target': 'string' }, ], 'RouteTableId': 'string', 'FirewallEndpoint': 'string', 'VpcId': 'string' }, 'NetworkFirewallUnexpectedGatewayRoutesViolation': { 'GatewayId': 'string', 'ViolatingRoutes': [ { 'DestinationType': 'IPV4'|'IPV6'|'PREFIX_LIST', 'TargetType': 'GATEWAY'|'CARRIER_GATEWAY'|'INSTANCE'|'LOCAL_GATEWAY'|'NAT_GATEWAY'|'NETWORK_INTERFACE'|'VPC_ENDPOINT'|'VPC_PEERING_CONNECTION'|'EGRESS_ONLY_INTERNET_GATEWAY'|'TRANSIT_GATEWAY', 'Destination': 'string', 'Target': 'string' }, ], 'RouteTableId': 'string', 'VpcId': 'string' }, 'NetworkFirewallMissingExpectedRoutesViolation': { 'ViolationTarget': 'string', 'ExpectedRoutes': [ { 'IpV4Cidr': 'string', 'PrefixListId': 'string', 'IpV6Cidr': 'string', 'ContributingSubnets': [ 'string', ], 'AllowedTargets': [ 'string', ], 'RouteTableId': 'string' }, ], 'VpcId': 'string' }, 'DnsRuleGroupPriorityConflictViolation': { 'ViolationTarget': 'string', 'ViolationTargetDescription': 'string', 'ConflictingPriority': 123, 'ConflictingPolicyId': 'string', 'UnavailablePriorities': [ 123, ] }, 'DnsDuplicateRuleGroupViolation': { 'ViolationTarget': 'string', 'ViolationTargetDescription': 'string' }, 'DnsRuleGroupLimitExceededViolation': { 'ViolationTarget': 'string', 'ViolationTargetDescription': 'string', 'NumberOfRuleGroupsAlreadyAssociated': 123 }, 'PossibleRemediationActions': { 'Description': 'string', 'Actions': [ { 'Description': 'string', 'OrderedRemediationActions': [ { 'RemediationAction': { 'Description': 'string', 'EC2CreateRouteAction': { 'Description': 'string', 'DestinationCidrBlock': 'string', 'DestinationPrefixListId': 'string', 'DestinationIpv6CidrBlock': 'string', 'VpcEndpointId': { 'ResourceId': 'string', 'Description': 'string' }, 'GatewayId': { 'ResourceId': 'string', 'Description': 'string' }, 'RouteTableId': { 'ResourceId': 'string', 'Description': 'string' } }, 'EC2ReplaceRouteAction': { 'Description': 'string', 'DestinationCidrBlock': 'string', 'DestinationPrefixListId': 'string', 'DestinationIpv6CidrBlock': 'string', 'GatewayId': { 'ResourceId': 'string', 'Description': 'string' }, 'RouteTableId': { 'ResourceId': 'string', 'Description': 'string' } }, 'EC2DeleteRouteAction': { 'Description': 'string', 'DestinationCidrBlock': 'string', 'DestinationPrefixListId': 'string', 'DestinationIpv6CidrBlock': 'string', 'RouteTableId': { 'ResourceId': 'string', 'Description': 'string' } }, 'EC2CopyRouteTableAction': { 'Description': 'string', 'VpcId': { 'ResourceId': 'string', 'Description': 'string' }, 'RouteTableId': { 'ResourceId': 'string', 'Description': 'string' } }, 'EC2ReplaceRouteTableAssociationAction': { 'Description': 'string', 'AssociationId': { 'ResourceId': 'string', 'Description': 'string' }, 'RouteTableId': { 'ResourceId': 'string', 'Description': 'string' } }, 'EC2AssociateRouteTableAction': { 'Description': 'string', 'RouteTableId': { 'ResourceId': 'string', 'Description': 'string' }, 'SubnetId': { 'ResourceId': 'string', 'Description': 'string' }, 'GatewayId': { 'ResourceId': 'string', 'Description': 'string' } }, 'EC2CreateRouteTableAction': { 'Description': 'string', 'VpcId': { 'ResourceId': 'string', 'Description': 'string' } }, 'FMSPolicyUpdateFirewallCreationConfigAction': { 'Description': 'string', 'FirewallCreationConfig': 'string' } }, 'Order': 123 }, ], 'IsDefaultAction': True|False }, ] }, 'FirewallSubnetIsOutOfScopeViolation': { 'FirewallSubnetId': 'string', 'VpcId': 'string', 'SubnetAvailabilityZone': 'string', 'SubnetAvailabilityZoneId': 'string', 'VpcEndpointId': 'string' }, 'RouteHasOutOfScopeEndpointViolation': { 'SubnetId': 'string', 'VpcId': 'string', 'RouteTableId': 'string', 'ViolatingRoutes': [ { 'DestinationType': 'IPV4'|'IPV6'|'PREFIX_LIST', 'TargetType': 'GATEWAY'|'CARRIER_GATEWAY'|'INSTANCE'|'LOCAL_GATEWAY'|'NAT_GATEWAY'|'NETWORK_INTERFACE'|'VPC_ENDPOINT'|'VPC_PEERING_CONNECTION'|'EGRESS_ONLY_INTERNET_GATEWAY'|'TRANSIT_GATEWAY', 'Destination': 'string', 'Target': 'string' }, ], 'SubnetAvailabilityZone': 'string', 'SubnetAvailabilityZoneId': 'string', 'CurrentFirewallSubnetRouteTable': 'string', 'FirewallSubnetId': 'string', 'FirewallSubnetRoutes': [ { 'DestinationType': 'IPV4'|'IPV6'|'PREFIX_LIST', 'TargetType': 'GATEWAY'|'CARRIER_GATEWAY'|'INSTANCE'|'LOCAL_GATEWAY'|'NAT_GATEWAY'|'NETWORK_INTERFACE'|'VPC_ENDPOINT'|'VPC_PEERING_CONNECTION'|'EGRESS_ONLY_INTERNET_GATEWAY'|'TRANSIT_GATEWAY', 'Destination': 'string', 'Target': 'string' }, ], 'InternetGatewayId': 'string', 'CurrentInternetGatewayRouteTable': 'string', 'InternetGatewayRoutes': [ { 'DestinationType': 'IPV4'|'IPV6'|'PREFIX_LIST', 'TargetType': 'GATEWAY'|'CARRIER_GATEWAY'|'INSTANCE'|'LOCAL_GATEWAY'|'NAT_GATEWAY'|'NETWORK_INTERFACE'|'VPC_ENDPOINT'|'VPC_PEERING_CONNECTION'|'EGRESS_ONLY_INTERNET_GATEWAY'|'TRANSIT_GATEWAY', 'Destination': 'string', 'Target': 'string' }, ] }, 'ThirdPartyFirewallMissingFirewallViolation': { 'ViolationTarget': 'string', 'VPC': 'string', 'AvailabilityZone': 'string', 'TargetViolationReason': 'string' }, 'ThirdPartyFirewallMissingSubnetViolation': { 'ViolationTarget': 'string', 'VPC': 'string', 'AvailabilityZone': 'string', 'TargetViolationReason': 'string' }, 'ThirdPartyFirewallMissingExpectedRouteTableViolation': { 'ViolationTarget': 'string', 'VPC': 'string', 'AvailabilityZone': 'string', 'CurrentRouteTable': 'string', 'ExpectedRouteTable': 'string' }, 'FirewallSubnetMissingVPCEndpointViolation': { 'FirewallSubnetId': 'string', 'VpcId': 'string', 'SubnetAvailabilityZone': 'string', 'SubnetAvailabilityZoneId': 'string' } }, ], 'ResourceTags': [ { 'Key': 'string', 'Value': 'string' }, ], 'ResourceDescription': 'string' } }
Response Structure
(dict) --
ViolationDetail (dict) --
Violation detail for a resource.
PolicyId (string) --
The ID of the Firewall Manager policy that the violation details were requested for.
MemberAccount (string) --
The Amazon Web Services account that the violation details were requested for.
ResourceId (string) --
The resource ID that the violation details were requested for.
ResourceType (string) --
The resource type that the violation details were requested for.
ResourceViolations (list) --
List of violations for the requested resource.
(dict) --
Violation detail based on resource type.
AwsVPCSecurityGroupViolation (dict) --
Violation detail for security groups.
ViolationTarget (string) --
The security group rule that is being evaluated.
ViolationTargetDescription (string) --
A description of the security group that violates the policy.
PartialMatches (list) --
List of rules specified in the security group of the Firewall Manager policy that partially match the ViolationTarget rule.
(dict) --
The reference rule that partially matches the ViolationTarget rule and violation reason.
Reference (string) --
The reference rule from the primary security group of the Firewall Manager policy.
TargetViolationReasons (list) --
The violation reason.
(string) --
PossibleSecurityGroupRemediationActions (list) --
Remediation options for the rule specified in the ViolationTarget.
(dict) --
Remediation option for the rule specified in the ViolationTarget.
RemediationActionType (string) --
The remediation action that will be performed.
Description (string) --
Brief description of the action that will be performed.
RemediationResult (dict) --
The final state of the rule specified in the ViolationTarget after it is remediated.
IPV4Range (string) --
The IPv4 ranges for the security group rule.
IPV6Range (string) --
The IPv6 ranges for the security group rule.
PrefixListId (string) --
The ID of the prefix list for the security group rule.
Protocol (string) --
The IP protocol name ( tcp, udp, icmp, icmpv6) or number.
FromPort (integer) --
The start of the port range for the TCP and UDP protocols, or an ICMP/ICMPv6 type number. A value of -1 indicates all ICMP/ICMPv6 types.
ToPort (integer) --
The end of the port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code. A value of -1 indicates all ICMP/ICMPv6 codes.
IsDefaultAction (boolean) --
Indicates if the current action is the default action.
AwsEc2NetworkInterfaceViolation (dict) --
Violation detail for a network interface.
ViolationTarget (string) --
The resource ID of the network interface.
ViolatingSecurityGroups (list) --
List of security groups that violate the rules specified in the primary security group of the Firewall Manager policy.
(string) --
AwsEc2InstanceViolation (dict) --
Violation detail for an EC2 instance.
ViolationTarget (string) --
The resource ID of the EC2 instance.
AwsEc2NetworkInterfaceViolations (list) --
Violation detail for network interfaces associated with the EC2 instance.
(dict) --
Violation detail for network interfaces associated with an EC2 instance.
ViolationTarget (string) --
The resource ID of the network interface.
ViolatingSecurityGroups (list) --
List of security groups that violate the rules specified in the primary security group of the Firewall Manager policy.
(string) --
NetworkFirewallMissingFirewallViolation (dict) --
Violation detail for an Network Firewall policy that indicates that a subnet has no Firewall Manager managed firewall in its VPC.
ViolationTarget (string) --
The ID of the Network Firewall or VPC resource that's in violation.
VPC (string) --
The resource ID of the VPC associated with a violating subnet.
AvailabilityZone (string) --
The Availability Zone of a violating subnet.
TargetViolationReason (string) --
The reason the resource has this violation, if one is available.
NetworkFirewallMissingSubnetViolation (dict) --
Violation detail for an Network Firewall policy that indicates that an Availability Zone is missing the expected Firewall Manager managed subnet.
ViolationTarget (string) --
The ID of the Network Firewall or VPC resource that's in violation.
VPC (string) --
The resource ID of the VPC associated with a violating subnet.
AvailabilityZone (string) --
The Availability Zone of a violating subnet.
TargetViolationReason (string) --
The reason the resource has this violation, if one is available.
NetworkFirewallMissingExpectedRTViolation (dict) --
Violation detail for an Network Firewall policy that indicates that a subnet is not associated with the expected Firewall Manager managed route table.
ViolationTarget (string) --
The ID of the Network Firewall or VPC resource that's in violation.
VPC (string) --
The resource ID of the VPC associated with a violating subnet.
AvailabilityZone (string) --
The Availability Zone of a violating subnet.
CurrentRouteTable (string) --
The resource ID of the current route table that's associated with the subnet, if one is available.
ExpectedRouteTable (string) --
The resource ID of the route table that should be associated with the subnet.
NetworkFirewallPolicyModifiedViolation (dict) --
Violation detail for an Network Firewall policy that indicates that a firewall policy in an individual account has been modified in a way that makes it noncompliant. For example, the individual account owner might have deleted a rule group, changed the priority of a stateless rule group, or changed a policy default action.
ViolationTarget (string) --
The ID of the Network Firewall or VPC resource that's in violation.
CurrentPolicyDescription (dict) --
The policy that's currently in use in the individual account.
StatelessRuleGroups (list) --
The stateless rule groups that are used in the Network Firewall firewall policy.
(dict) --
Network Firewall stateless rule group, used in a NetworkFirewallPolicyDescription.
RuleGroupName (string) --
The name of the rule group.
ResourceId (string) --
The resource ID of the rule group.
Priority (integer) --
The priority of the rule group. Network Firewall evaluates the stateless rule groups in a firewall policy starting from the lowest priority setting.
StatelessDefaultActions (list) --
The actions to take on packets that don't match any of the stateless rule groups.
(string) --
StatelessFragmentDefaultActions (list) --
The actions to take on packet fragments that don't match any of the stateless rule groups.
(string) --
StatelessCustomActions (list) --
Names of custom actions that are available for use in the stateless default actions settings.
(string) --
StatefulRuleGroups (list) --
The stateful rule groups that are used in the Network Firewall firewall policy.
(dict) --
Network Firewall stateful rule group, used in a NetworkFirewallPolicyDescription.
RuleGroupName (string) --
The name of the rule group.
ResourceId (string) --
The resource ID of the rule group.
Priority (integer) --
An integer setting that indicates the order in which to run the stateful rule groups in a single Network Firewall firewall policy. This setting only applies to firewall policies that specify the STRICT_ORDER rule order in the stateful engine options settings.
Network Firewall evalutes each stateful rule group against a packet starting with the group that has the lowest priority setting. You must ensure that the priority settings are unique within each policy. For information about
You can change the priority settings of your rule groups at any time. To make it easier to insert rule groups later, number them so there's a wide range in between, for example use 100, 200, and so on.
Override (dict) --
The action that allows the policy owner to override the behavior of the rule group within a policy.
Action (string) --
The action that changes the rule group from DROP to ALERT. This only applies to managed rule groups.
StatefulDefaultActions (list) --
The default actions to take on a packet that doesn't match any stateful rules. The stateful default action is optional, and is only valid when using the strict rule order.
Valid values of the stateful default action:
aws:drop_strict
aws:drop_established
aws:alert_strict
aws:alert_established
(string) --
StatefulEngineOptions (dict) --
Additional options governing how Network Firewall handles stateful rules. The stateful rule groups that you use in your policy must have stateful rule options settings that are compatible with these settings.
RuleOrder (string) --
Indicates how to manage the order of stateful rule evaluation for the policy. DEFAULT_ACTION_ORDER is the default behavior. Stateful rules are provided to the rule engine as Suricata compatible strings, and Suricata evaluates them based on certain settings. For more information, see Evaluation order for stateful rules in the Network Firewall Developer Guide.
ExpectedPolicyDescription (dict) --
The policy that should be in use in the individual account in order to be compliant.
StatelessRuleGroups (list) --
The stateless rule groups that are used in the Network Firewall firewall policy.
(dict) --
Network Firewall stateless rule group, used in a NetworkFirewallPolicyDescription.
RuleGroupName (string) --
The name of the rule group.
ResourceId (string) --
The resource ID of the rule group.
Priority (integer) --
The priority of the rule group. Network Firewall evaluates the stateless rule groups in a firewall policy starting from the lowest priority setting.
StatelessDefaultActions (list) --
The actions to take on packets that don't match any of the stateless rule groups.
(string) --
StatelessFragmentDefaultActions (list) --
The actions to take on packet fragments that don't match any of the stateless rule groups.
(string) --
StatelessCustomActions (list) --
Names of custom actions that are available for use in the stateless default actions settings.
(string) --
StatefulRuleGroups (list) --
The stateful rule groups that are used in the Network Firewall firewall policy.
(dict) --
Network Firewall stateful rule group, used in a NetworkFirewallPolicyDescription.
RuleGroupName (string) --
The name of the rule group.
ResourceId (string) --
The resource ID of the rule group.
Priority (integer) --
An integer setting that indicates the order in which to run the stateful rule groups in a single Network Firewall firewall policy. This setting only applies to firewall policies that specify the STRICT_ORDER rule order in the stateful engine options settings.
Network Firewall evalutes each stateful rule group against a packet starting with the group that has the lowest priority setting. You must ensure that the priority settings are unique within each policy. For information about
You can change the priority settings of your rule groups at any time. To make it easier to insert rule groups later, number them so there's a wide range in between, for example use 100, 200, and so on.
Override (dict) --
The action that allows the policy owner to override the behavior of the rule group within a policy.
Action (string) --
The action that changes the rule group from DROP to ALERT. This only applies to managed rule groups.
StatefulDefaultActions (list) --
The default actions to take on a packet that doesn't match any stateful rules. The stateful default action is optional, and is only valid when using the strict rule order.
Valid values of the stateful default action:
aws:drop_strict
aws:drop_established
aws:alert_strict
aws:alert_established
(string) --
StatefulEngineOptions (dict) --
Additional options governing how Network Firewall handles stateful rules. The stateful rule groups that you use in your policy must have stateful rule options settings that are compatible with these settings.
RuleOrder (string) --
Indicates how to manage the order of stateful rule evaluation for the policy. DEFAULT_ACTION_ORDER is the default behavior. Stateful rules are provided to the rule engine as Suricata compatible strings, and Suricata evaluates them based on certain settings. For more information, see Evaluation order for stateful rules in the Network Firewall Developer Guide.
NetworkFirewallInternetTrafficNotInspectedViolation (dict) --
Violation detail for the subnet for which internet traffic hasn't been inspected.
SubnetId (string) --
The subnet ID.
SubnetAvailabilityZone (string) --
The subnet Availability Zone.
RouteTableId (string) --
Information about the route table ID.
ViolatingRoutes (list) --
The route or routes that are in violation.
(dict) --
Describes a route in a route table.
DestinationType (string) --
The type of destination for the route.
TargetType (string) --
The type of target for the route.
Destination (string) --
The destination of the route.
Target (string) --
The route's target.
IsRouteTableUsedInDifferentAZ (boolean) --
Information about whether the route table is used in another Availability Zone.
CurrentFirewallSubnetRouteTable (string) --
Information about the subnet route table for the current firewall.
ExpectedFirewallEndpoint (string) --
The expected endpoint for the current firewall.
FirewallSubnetId (string) --
The firewall subnet ID.
ExpectedFirewallSubnetRoutes (list) --
The firewall subnet routes that are expected.
(dict) --
Information about the expected route in the route table.
IpV4Cidr (string) --
Information about the IPv4 CIDR block.
PrefixListId (string) --
Information about the ID of the prefix list for the route.
IpV6Cidr (string) --
Information about the IPv6 CIDR block.
ContributingSubnets (list) --
Information about the contributing subnets.
(string) --
AllowedTargets (list) --
Information about the allowed targets.
(string) --
RouteTableId (string) --
Information about the route table ID.
ActualFirewallSubnetRoutes (list) --
The actual firewall subnet routes.
(dict) --
Describes a route in a route table.
DestinationType (string) --
The type of destination for the route.
TargetType (string) --
The type of target for the route.
Destination (string) --
The destination of the route.
Target (string) --
The route's target.
InternetGatewayId (string) --
The internet gateway ID.
CurrentInternetGatewayRouteTable (string) --
The current route table for the internet gateway.
ExpectedInternetGatewayRoutes (list) --
The internet gateway routes that are expected.
(dict) --
Information about the expected route in the route table.
IpV4Cidr (string) --
Information about the IPv4 CIDR block.
PrefixListId (string) --
Information about the ID of the prefix list for the route.
IpV6Cidr (string) --
Information about the IPv6 CIDR block.
ContributingSubnets (list) --
Information about the contributing subnets.
(string) --
AllowedTargets (list) --
Information about the allowed targets.
(string) --
RouteTableId (string) --
Information about the route table ID.
ActualInternetGatewayRoutes (list) --
The actual internet gateway routes.
(dict) --
Describes a route in a route table.
DestinationType (string) --
The type of destination for the route.
TargetType (string) --
The type of target for the route.
Destination (string) --
The destination of the route.
Target (string) --
The route's target.
VpcId (string) --
Information about the VPC ID.
NetworkFirewallInvalidRouteConfigurationViolation (dict) --
The route configuration is invalid.
AffectedSubnets (list) --
The subnets that are affected.
(string) --
RouteTableId (string) --
The route table ID.
IsRouteTableUsedInDifferentAZ (boolean) --
Information about whether the route table is used in another Availability Zone.
ViolatingRoute (dict) --
The route that's in violation.
DestinationType (string) --
The type of destination for the route.
TargetType (string) --
The type of target for the route.
Destination (string) --
The destination of the route.
Target (string) --
The route's target.
CurrentFirewallSubnetRouteTable (string) --
The subnet route table for the current firewall.
ExpectedFirewallEndpoint (string) --
The firewall endpoint that's expected.
ActualFirewallEndpoint (string) --
The actual firewall endpoint.
ExpectedFirewallSubnetId (string) --
The expected subnet ID for the firewall.
ActualFirewallSubnetId (string) --
The actual subnet ID for the firewall.
ExpectedFirewallSubnetRoutes (list) --
The firewall subnet routes that are expected.
(dict) --
Information about the expected route in the route table.
IpV4Cidr (string) --
Information about the IPv4 CIDR block.
PrefixListId (string) --
Information about the ID of the prefix list for the route.
IpV6Cidr (string) --
Information about the IPv6 CIDR block.
ContributingSubnets (list) --
Information about the contributing subnets.
(string) --
AllowedTargets (list) --
Information about the allowed targets.
(string) --
RouteTableId (string) --
Information about the route table ID.
ActualFirewallSubnetRoutes (list) --
The actual firewall subnet routes that are expected.
(dict) --
Describes a route in a route table.
DestinationType (string) --
The type of destination for the route.
TargetType (string) --
The type of target for the route.
Destination (string) --
The destination of the route.
Target (string) --
The route's target.
InternetGatewayId (string) --
The internet gateway ID.
CurrentInternetGatewayRouteTable (string) --
The route table for the current internet gateway.
ExpectedInternetGatewayRoutes (list) --
The expected routes for the internet gateway.
(dict) --
Information about the expected route in the route table.
IpV4Cidr (string) --
Information about the IPv4 CIDR block.
PrefixListId (string) --
Information about the ID of the prefix list for the route.
IpV6Cidr (string) --
Information about the IPv6 CIDR block.
ContributingSubnets (list) --
Information about the contributing subnets.
(string) --
AllowedTargets (list) --
Information about the allowed targets.
(string) --
RouteTableId (string) --
Information about the route table ID.
ActualInternetGatewayRoutes (list) --
The actual internet gateway routes.
(dict) --
Describes a route in a route table.
DestinationType (string) --
The type of destination for the route.
TargetType (string) --
The type of target for the route.
Destination (string) --
The destination of the route.
Target (string) --
The route's target.
VpcId (string) --
Information about the VPC ID.
NetworkFirewallBlackHoleRouteDetectedViolation (dict) --
Violation detail for an internet gateway route with an inactive state in the customer subnet route table or Network Firewall subnet route table.
ViolationTarget (string) --
The subnet that has an inactive state.
RouteTableId (string) --
Information about the route table ID.
VpcId (string) --
Information about the VPC ID.
ViolatingRoutes (list) --
Information about the route or routes that are in violation.
(dict) --
Describes a route in a route table.
DestinationType (string) --
The type of destination for the route.
TargetType (string) --
The type of target for the route.
Destination (string) --
The destination of the route.
Target (string) --
The route's target.
NetworkFirewallUnexpectedFirewallRoutesViolation (dict) --
There's an unexpected firewall route.
FirewallSubnetId (string) --
The subnet ID for the firewall.
ViolatingRoutes (list) --
The routes that are in violation.
(dict) --
Describes a route in a route table.
DestinationType (string) --
The type of destination for the route.
TargetType (string) --
The type of target for the route.
Destination (string) --
The destination of the route.
Target (string) --
The route's target.
RouteTableId (string) --
The ID of the route table.
FirewallEndpoint (string) --
The endpoint of the firewall.
VpcId (string) --
Information about the VPC ID.
NetworkFirewallUnexpectedGatewayRoutesViolation (dict) --
There's an unexpected gateway route.
GatewayId (string) --
Information about the gateway ID.
ViolatingRoutes (list) --
The routes that are in violation.
(dict) --
Describes a route in a route table.
DestinationType (string) --
The type of destination for the route.
TargetType (string) --
The type of target for the route.
Destination (string) --
The destination of the route.
Target (string) --
The route's target.
RouteTableId (string) --
Information about the route table.
VpcId (string) --
Information about the VPC ID.
NetworkFirewallMissingExpectedRoutesViolation (dict) --
Expected routes are missing from Network Firewall.
ViolationTarget (string) --
The target of the violation.
ExpectedRoutes (list) --
The expected routes.
(dict) --
Information about the expected route in the route table.
IpV4Cidr (string) --
Information about the IPv4 CIDR block.
PrefixListId (string) --
Information about the ID of the prefix list for the route.
IpV6Cidr (string) --
Information about the IPv6 CIDR block.
ContributingSubnets (list) --
Information about the contributing subnets.
(string) --
AllowedTargets (list) --
Information about the allowed targets.
(string) --
RouteTableId (string) --
Information about the route table ID.
VpcId (string) --
Information about the VPC ID.
DnsRuleGroupPriorityConflictViolation (dict) --
Violation detail for a DNS Firewall policy that indicates that a rule group that Firewall Manager tried to associate with a VPC has the same priority as a rule group that's already associated.
ViolationTarget (string) --
Information about the VPC ID.
ViolationTargetDescription (string) --
A description of the violation that specifies the VPC and the rule group that's already associated with it.
ConflictingPriority (integer) --
The priority setting of the two conflicting rule groups.
ConflictingPolicyId (string) --
The ID of the Firewall Manager DNS Firewall policy that was already applied to the VPC. This policy contains the rule group that's already associated with the VPC.
UnavailablePriorities (list) --
The priorities of rule groups that are already associated with the VPC. To retry your operation, choose priority settings that aren't in this list for the rule groups in your new DNS Firewall policy.
(integer) --
DnsDuplicateRuleGroupViolation (dict) --
Violation detail for a DNS Firewall policy that indicates that a rule group that Firewall Manager tried to associate with a VPC is already associated with the VPC and can't be associated again.
ViolationTarget (string) --
Information about the VPC ID.
ViolationTargetDescription (string) --
A description of the violation that specifies the rule group and VPC.
DnsRuleGroupLimitExceededViolation (dict) --
Violation detail for a DNS Firewall policy that indicates that the VPC reached the limit for associated DNS Firewall rule groups. Firewall Manager tried to associate another rule group with the VPC and failed.
ViolationTarget (string) --
Information about the VPC ID.
ViolationTargetDescription (string) --
A description of the violation that specifies the rule group and VPC.
NumberOfRuleGroupsAlreadyAssociated (integer) --
The number of rule groups currently associated with the VPC.
PossibleRemediationActions (dict) --
A list of possible remediation action lists. Each individual possible remediation action is a list of individual remediation actions.
Description (string) --
A description of the possible remediation actions list.
Actions (list) --
Information about the actions.
(dict) --
A list of remediation actions.
Description (string) --
A description of the list of remediation actions.
OrderedRemediationActions (list) --
The ordered list of remediation actions.
(dict) --
An ordered list of actions you can take to remediate a violation.
RemediationAction (dict) --
Information about an action you can take to remediate a violation.
Description (string) --
A description of a remediation action.
EC2CreateRouteAction (dict) --
Information about the CreateRoute action in the Amazon EC2 API.
Description (string) --
A description of CreateRoute action in Amazon EC2.
DestinationCidrBlock (string) --
Information about the IPv4 CIDR address block used for the destination match.
DestinationPrefixListId (string) --
Information about the ID of a prefix list used for the destination match.
DestinationIpv6CidrBlock (string) --
Information about the IPv6 CIDR block destination.
VpcEndpointId (dict) --
Information about the ID of a VPC endpoint. Supported for Gateway Load Balancer endpoints only.
ResourceId (string) --
The ID of the remediation target.
Description (string) --
A description of the remediation action target.
GatewayId (dict) --
Information about the ID of an internet gateway or virtual private gateway attached to your VPC.
ResourceId (string) --
The ID of the remediation target.
Description (string) --
A description of the remediation action target.
RouteTableId (dict) --
Information about the ID of the route table for the route.
ResourceId (string) --
The ID of the remediation target.
Description (string) --
A description of the remediation action target.
EC2ReplaceRouteAction (dict) --
Information about the ReplaceRoute action in the Amazon EC2 API.
Description (string) --
A description of the ReplaceRoute action in Amazon EC2.
DestinationCidrBlock (string) --
Information about the IPv4 CIDR address block used for the destination match. The value that you provide must match the CIDR of an existing route in the table.
DestinationPrefixListId (string) --
Information about the ID of the prefix list for the route.
DestinationIpv6CidrBlock (string) --
Information about the IPv6 CIDR address block used for the destination match. The value that you provide must match the CIDR of an existing route in the table.
GatewayId (dict) --
Information about the ID of an internet gateway or virtual private gateway.
ResourceId (string) --
The ID of the remediation target.
Description (string) --
A description of the remediation action target.
RouteTableId (dict) --
Information about the ID of the route table.
ResourceId (string) --
The ID of the remediation target.
Description (string) --
A description of the remediation action target.
EC2DeleteRouteAction (dict) --
Information about the DeleteRoute action in the Amazon EC2 API.
Description (string) --
A description of the DeleteRoute action.
DestinationCidrBlock (string) --
Information about the IPv4 CIDR range for the route. The value you specify must match the CIDR for the route exactly.
DestinationPrefixListId (string) --
Information about the ID of the prefix list for the route.
DestinationIpv6CidrBlock (string) --
Information about the IPv6 CIDR range for the route. The value you specify must match the CIDR for the route exactly.
RouteTableId (dict) --
Information about the ID of the route table.
ResourceId (string) --
The ID of the remediation target.
Description (string) --
A description of the remediation action target.
EC2CopyRouteTableAction (dict) --
Information about the CopyRouteTable action in the Amazon EC2 API.
Description (string) --
A description of the copied EC2 route table that is associated with the remediation action.
VpcId (dict) --
The VPC ID of the copied EC2 route table that is associated with the remediation action.
ResourceId (string) --
The ID of the remediation target.
Description (string) --
A description of the remediation action target.
RouteTableId (dict) --
The ID of the copied EC2 route table that is associated with the remediation action.
ResourceId (string) --
The ID of the remediation target.
Description (string) --
A description of the remediation action target.
EC2ReplaceRouteTableAssociationAction (dict) --
Information about the ReplaceRouteTableAssociation action in the Amazon EC2 API.
Description (string) --
A description of the ReplaceRouteTableAssociation action in Amazon EC2.
AssociationId (dict) --
Information about the association ID.
ResourceId (string) --
The ID of the remediation target.
Description (string) --
A description of the remediation action target.
RouteTableId (dict) --
Information about the ID of the new route table to associate with the subnet.
ResourceId (string) --
The ID of the remediation target.
Description (string) --
A description of the remediation action target.
EC2AssociateRouteTableAction (dict) --
Information about the AssociateRouteTable action in the Amazon EC2 API.
Description (string) --
A description of the EC2 route table that is associated with the remediation action.
RouteTableId (dict) --
The ID of the EC2 route table that is associated with the remediation action.
ResourceId (string) --
The ID of the remediation target.
Description (string) --
A description of the remediation action target.
SubnetId (dict) --
The ID of the subnet for the EC2 route table that is associated with the remediation action.
ResourceId (string) --
The ID of the remediation target.
Description (string) --
A description of the remediation action target.
GatewayId (dict) --
The ID of the gateway to be used with the EC2 route table that is associated with the remediation action.
ResourceId (string) --
The ID of the remediation target.
Description (string) --
A description of the remediation action target.
EC2CreateRouteTableAction (dict) --
Information about the CreateRouteTable action in the Amazon EC2 API.
Description (string) --
A description of the CreateRouteTable action.
VpcId (dict) --
Information about the ID of a VPC.
ResourceId (string) --
The ID of the remediation target.
Description (string) --
A description of the remediation action target.
FMSPolicyUpdateFirewallCreationConfigAction (dict) --
The remedial action to take when updating a firewall configuration.
Description (string) --
Describes the remedial action.
FirewallCreationConfig (string) --
A FirewallCreationConfig that you can copy into your current policy's SecurityServiceData in order to remedy scope violations.
Order (integer) --
The order of the remediation actions in the list.
IsDefaultAction (boolean) --
Information about whether an action is taken by default.
FirewallSubnetIsOutOfScopeViolation (dict) --
Contains details about the firewall subnet that violates the policy scope.
FirewallSubnetId (string) --
The ID of the firewall subnet that violates the policy scope.
VpcId (string) --
The VPC ID of the firewall subnet that violates the policy scope.
SubnetAvailabilityZone (string) --
The Availability Zone of the firewall subnet that violates the policy scope.
SubnetAvailabilityZoneId (string) --
The Availability Zone ID of the firewall subnet that violates the policy scope.
VpcEndpointId (string) --
The VPC endpoint ID of the firewall subnet that violates the policy scope.
RouteHasOutOfScopeEndpointViolation (dict) --
Contains details about the route endpoint that violates the policy scope.
SubnetId (string) --
The ID of the subnet associated with the route that violates the policy scope.
VpcId (string) --
The VPC ID of the route that violates the policy scope.
RouteTableId (string) --
The ID of the route table.
ViolatingRoutes (list) --
The list of routes that violate the route table.
(dict) --
Describes a route in a route table.
DestinationType (string) --
The type of destination for the route.
TargetType (string) --
The type of target for the route.
Destination (string) --
The destination of the route.
Target (string) --
The route's target.
SubnetAvailabilityZone (string) --
The subnet's Availability Zone.
SubnetAvailabilityZoneId (string) --
The ID of the subnet's Availability Zone.
CurrentFirewallSubnetRouteTable (string) --
The route table associated with the current firewall subnet.
FirewallSubnetId (string) --
The ID of the firewall subnet.
FirewallSubnetRoutes (list) --
The list of firewall subnet routes.
(dict) --
Describes a route in a route table.
DestinationType (string) --
The type of destination for the route.
TargetType (string) --
The type of target for the route.
Destination (string) --
The destination of the route.
Target (string) --
The route's target.
InternetGatewayId (string) --
The ID of the Internet Gateway.
CurrentInternetGatewayRouteTable (string) --
The current route table associated with the Internet Gateway.
InternetGatewayRoutes (list) --
The routes in the route table associated with the Internet Gateway.
(dict) --
Describes a route in a route table.
DestinationType (string) --
The type of destination for the route.
TargetType (string) --
The type of target for the route.
Destination (string) --
The destination of the route.
Target (string) --
The route's target.
ThirdPartyFirewallMissingFirewallViolation (dict) --
The violation details for a third-party firewall that's been deleted.
ViolationTarget (string) --
The ID of the third-party firewall that's causing the violation.
VPC (string) --
The resource ID of the VPC associated with a third-party firewall.
AvailabilityZone (string) --
The Availability Zone of the third-party firewall that's causing the violation.
TargetViolationReason (string) --
The reason the resource is causing this violation, if a reason is available.
ThirdPartyFirewallMissingSubnetViolation (dict) --
The violation details for a third-party firewall's subnet that's been deleted.
ViolationTarget (string) --
The ID of the third-party firewall or VPC resource that's causing the violation.
VPC (string) --
The resource ID of the VPC associated with a subnet that's causing the violation.
AvailabilityZone (string) --
The Availability Zone of a subnet that's causing the violation.
TargetViolationReason (string) --
The reason the resource is causing the violation, if a reason is available.
ThirdPartyFirewallMissingExpectedRouteTableViolation (dict) --
The violation details for a third-party firewall that has the Firewall Manager managed route table that was associated with the third-party firewall has been deleted.
ViolationTarget (string) --
The ID of the third-party firewall or VPC resource that's causing the violation.
VPC (string) --
The resource ID of the VPC associated with a fireawll subnet that's causing the violation.
AvailabilityZone (string) --
The Availability Zone of the firewall subnet that's causing the violation.
CurrentRouteTable (string) --
The resource ID of the current route table that's associated with the subnet, if one is available.
ExpectedRouteTable (string) --
The resource ID of the route table that should be associated with the subnet.
FirewallSubnetMissingVPCEndpointViolation (dict) --
The violation details for a third-party firewall's VPC endpoint subnet that was deleted.
FirewallSubnetId (string) --
The ID of the firewall that this VPC endpoint is associated with.
VpcId (string) --
The resource ID of the VPC associated with the deleted VPC subnet.
SubnetAvailabilityZone (string) --
The name of the Availability Zone of the deleted VPC subnet.
SubnetAvailabilityZoneId (string) --
The ID of the Availability Zone of the deleted VPC subnet.
ResourceTags (list) --
The ResourceTag objects associated with the resource.
(dict) --
A collection of key:value pairs associated with an Amazon Web Services resource. The key:value pair can be anything you define. Typically, the tag key represents a category (such as "environment") and the tag value represents a specific value within that category (such as "test," "development," or "production"). You can add up to 50 tags to each Amazon Web Services resource.
Key (string) --
Part of the key:value pair that defines a tag. You can use a tag key to describe a category of information, such as "customer." Tag keys are case-sensitive.
Value (string) --
Part of the key:value pair that defines a tag. You can use a tag value to describe a specific value within a category, such as "companyA" or "companyB." Tag values are case-sensitive.
ResourceDescription (string) --
Brief description for the requested resource.