logo
pub struct ResourceViolation {
    pub aws_ec_2_instance_violation: Option<AwsEc2InstanceViolation>,
    pub aws_ec_2_network_interface_violation: Option<AwsEc2NetworkInterfaceViolation>,
    pub aws_vpc_security_group_violation: Option<AwsVPCSecurityGroupViolation>,
    pub dns_duplicate_rule_group_violation: Option<DnsDuplicateRuleGroupViolation>,
    pub dns_rule_group_limit_exceeded_violation: Option<DnsRuleGroupLimitExceededViolation>,
    pub dns_rule_group_priority_conflict_violation: Option<DnsRuleGroupPriorityConflictViolation>,
    pub network_firewall_missing_expected_rt_violation: Option<NetworkFirewallMissingExpectedRTViolation>,
    pub network_firewall_missing_firewall_violation: Option<NetworkFirewallMissingFirewallViolation>,
    pub network_firewall_missing_subnet_violation: Option<NetworkFirewallMissingSubnetViolation>,
    pub network_firewall_policy_modified_violation: Option<NetworkFirewallPolicyModifiedViolation>,
}
Expand description

Violation detail based on resource type.

Fields

aws_ec_2_instance_violation: Option<AwsEc2InstanceViolation>

Violation details for an EC2 instance.

aws_ec_2_network_interface_violation: Option<AwsEc2NetworkInterfaceViolation>

Violation details for network interface.

aws_vpc_security_group_violation: Option<AwsVPCSecurityGroupViolation>

Violation details for security groups.

dns_duplicate_rule_group_violation: Option<DnsDuplicateRuleGroupViolation>

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.

dns_rule_group_limit_exceeded_violation: Option<DnsRuleGroupLimitExceededViolation>

Violation details 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.

dns_rule_group_priority_conflict_violation: Option<DnsRuleGroupPriorityConflictViolation>

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.

network_firewall_missing_expected_rt_violation: Option<NetworkFirewallMissingExpectedRTViolation>

Violation detail for an Network Firewall policy that indicates that a subnet is not associated with the expected Firewall Manager managed route table.

network_firewall_missing_firewall_violation: Option<NetworkFirewallMissingFirewallViolation>

Violation detail for an Network Firewall policy that indicates that a subnet has no Firewall Manager managed firewall in its VPC.

network_firewall_missing_subnet_violation: Option<NetworkFirewallMissingSubnetViolation>

Violation detail for an Network Firewall policy that indicates that an Availability Zone is missing the expected Firewall Manager managed subnet.

network_firewall_policy_modified_violation: Option<NetworkFirewallPolicyModifiedViolation>

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.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more