Class: Aws::FMS::Types::SecurityServicePolicyData
- Inherits:
-
Struct
- Object
- Struct
- Aws::FMS::Types::SecurityServicePolicyData
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-fms/types.rb
Overview
When making an API call, you may pass SecurityServicePolicyData data as a hash:
{
type: "WAF", # required, accepts WAF, WAFV2, SHIELD_ADVANCED, SECURITY_GROUPS_COMMON, SECURITY_GROUPS_CONTENT_AUDIT, SECURITY_GROUPS_USAGE_AUDIT, NETWORK_FIREWALL, DNS_FIREWALL
managed_service_data: "ManagedServiceData",
}
Details about the security service that is being used to protect the resources.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#managed_service_data ⇒ String
Details about the service that are specific to the service type, in JSON format.
-
#type ⇒ String
The service that the policy is using to protect the resources.
Instance Attribute Details
#managed_service_data ⇒ String
Details about the service that are specific to the service type, in JSON format. For service type ‘SHIELD_ADVANCED`, this is an empty string.
-
Example: ‘NETWORK_FIREWALL`
‘“href="\{"resourceARN":"arn:aws:network-firewall:us-west-1:1234567891011:stateless-rulegroup/rulegroup2","priority":10\">type“:”NETWORK_FIREWALL“,”networkFirewallStatelessRuleGroupReferences“:,”networkFirewallStatelessDefaultActions“:,”networkFirewallStatelessFragmentDefaultActions“:,”networkFirewallStatelessCustomActions“:[”actionName“:”custom1“,”actionDefinition“:{”publishMetricAction“:{”dimensions“:</a>}},href="\{"value":"dimension2"\">dimensions“:}}}],”networkFirewallStatefulRuleGroupReferences“:,”networkFirewallOrchestrationConfig“:href=""10.24.34.0/28"">singleFirewallEndpointPerVPC“:true,”allowedIPV4CidrList“: }”`
-
Example: ‘WAFV2`
‘“href="">type“:”WAFV2“,”preProcessRuleGroups“:[{”ruleGroupArn“:null,”overrideAction“:{”type“:”NONE“,”managedRuleGroupIdentifier“:”version“:null,”vendorName“:”AWS“,”managedRuleGroupName“:”AWSManagedRulesAmazonIpReputationList“,”ruleGroupType“:”ManagedRuleGroup“,”excludeRules“:}],”postProcessRuleGroups“:[],”defaultAction“:”type“:”ALLOW“,”overrideCustomerWebACLAssociation“:false,”loggingConfiguration“:href="\{"redactedFieldType":"SingleHeader","redactedFieldValue":"Cookies"\,{"redactedFieldType":"Method"\}">redactedFields“:}}”`
In the ‘loggingConfiguration`, you can specify one `logDestinationConfigs`, you can optionally provide up to 20 `redactedFields`, and the `RedactedFieldType` must be one of `URI`, `QUERY_STRING`, `HEADER`, or `METHOD`.
-
Example: ‘WAF Classic`
‘“”WAF“, ”ruleGroups“: [{”id“:”12345678-1bcd-9012-efga-0987654321ab“, ”overrideAction“ : {”type“: ”COUNT“}], ”defaultAction“: ”BLOCK“}”`
-
Example: ‘SECURITY_GROUPS_COMMON`
‘“”applyToAllEC2InstanceENIs“:false,”securityGroups“:[{”id“:” sg-000e55995d61a06bd“]}”`
-
Example: ‘SECURITY_GROUPS_CONTENT_AUDIT`
‘“href="\{"id":"sg-000e55995d61a06bd"\">type“:”SECURITY_GROUPS_CONTENT_AUDIT“,”securityGroups“:,”securityGroupAction“:”type“:”ALLOW“}”`
The security group action for content audit can be ‘ALLOW` or `DENY`. For `ALLOW`, all in-scope security group rules must be within the allowed range of the policy’s security group rules. For ‘DENY`, all in-scope security group rules must not contain a value or a range that matches a rule value or range in the policy security group.
-
Example: ‘SECURITY_GROUPS_USAGE_AUDIT`
‘“”type“:”SECURITY_GROUPS_USAGE_AUDIT“,”deleteUnusedSecurityGroups“:true,”coalesceRedundantSecurityGroups“:true”`
2434 2435 2436 2437 2438 2439 |
# File 'lib/aws-sdk-fms/types.rb', line 2434 class SecurityServicePolicyData < Struct.new( :type, :managed_service_data) SENSITIVE = [] include Aws::Structure end |
#type ⇒ String
The service that the policy is using to protect the resources. This specifies the type of policy that is created, either an AWS WAF policy, a Shield Advanced policy, or a security group policy. For security group policies, Firewall Manager supports one security group for each common policy and for each content audit policy. This is an adjustable limit that you can increase by contacting AWS Support.
2434 2435 2436 2437 2438 2439 |
# File 'lib/aws-sdk-fms/types.rb', line 2434 class SecurityServicePolicyData < Struct.new( :type, :managed_service_data) SENSITIVE = [] include Aws::Structure end |