You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::FMS::Types::ComplianceViolator

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Details of the resource that is not protected by the policy.

Instance Attribute Summary collapse

Instance Attribute Details

#resource_idString

The resource ID.

Returns:

  • (String)

    The resource ID.

#resource_typeString

The resource type. This is in the format shown in the AWS Resource Types Reference. For example: AWS::ElasticLoadBalancingV2::LoadBalancer, AWS::CloudFront::Distribution, or AWS::NetworkFirewall::FirewallPolicy.

Returns:

  • (String)

    The resource type.

#violation_reasonString

The reason that the resource is not protected by the policy.

Possible values:

  • WEB_ACL_MISSING_RULE_GROUP
  • RESOURCE_MISSING_WEB_ACL
  • RESOURCE_INCORRECT_WEB_ACL
  • RESOURCE_MISSING_SHIELD_PROTECTION
  • RESOURCE_MISSING_WEB_ACL_OR_SHIELD_PROTECTION
  • RESOURCE_MISSING_SECURITY_GROUP
  • RESOURCE_VIOLATES_AUDIT_SECURITY_GROUP
  • SECURITY_GROUP_UNUSED
  • SECURITY_GROUP_REDUNDANT
  • MISSING_FIREWALL
  • MISSING_FIREWALL_SUBNET_IN_AZ
  • MISSING_EXPECTED_ROUTE_TABLE
  • NETWORK_FIREWALL_POLICY_MODIFIED

Returns:

  • (String)

    The reason that the resource is not protected by the policy.