Documentation ¶
Index ¶
- type AccountRoleStatus
- type AccountScope
- type ActionTarget
- type AdminAccountSummary
- type AdminScope
- type App
- type AppsListData
- type AppsListDataSummary
- type AwsEc2InstanceViolation
- type AwsEc2NetworkInterfaceViolation
- type AwsVPCSecurityGroupViolation
- type ComplianceViolator
- type CustomerPolicyScopeIdType
- type CustomerPolicyStatus
- type DependentServiceName
- type DestinationType
- type DiscoveredResource
- type DnsDuplicateRuleGroupViolation
- type DnsRuleGroupLimitExceededViolation
- type DnsRuleGroupPriorityConflictViolation
- type EC2AssociateRouteTableAction
- type EC2CopyRouteTableAction
- type EC2CreateRouteAction
- type EC2CreateRouteTableAction
- type EC2DeleteRouteAction
- type EC2ReplaceRouteAction
- type EC2ReplaceRouteTableAssociationAction
- type EvaluationResult
- type ExpectedRoute
- type FMSPolicyUpdateFirewallCreationConfigAction
- type FailedItem
- type FailedItemReason
- type FirewallDeploymentModel
- type FirewallSubnetIsOutOfScopeViolation
- type FirewallSubnetMissingVPCEndpointViolation
- type InternalErrorException
- type InvalidInputException
- type InvalidOperationException
- type InvalidTypeException
- type LimitExceededException
- type MarketplaceSubscriptionOnboardingStatus
- type NetworkFirewallBlackHoleRouteDetectedViolation
- type NetworkFirewallInternetTrafficNotInspectedViolation
- type NetworkFirewallInvalidRouteConfigurationViolation
- type NetworkFirewallMissingExpectedRTViolation
- type NetworkFirewallMissingExpectedRoutesViolation
- type NetworkFirewallMissingFirewallViolation
- type NetworkFirewallMissingSubnetViolation
- type NetworkFirewallOverrideAction
- type NetworkFirewallPolicy
- type NetworkFirewallPolicyDescription
- type NetworkFirewallPolicyModifiedViolation
- type NetworkFirewallStatefulRuleGroupOverride
- type NetworkFirewallUnexpectedFirewallRoutesViolation
- type NetworkFirewallUnexpectedGatewayRoutesViolation
- type OrganizationStatus
- type OrganizationalUnitScope
- type PartialMatch
- type Policy
- type PolicyComplianceDetail
- type PolicyComplianceStatus
- type PolicyComplianceStatusType
- type PolicyOption
- type PolicySummary
- type PolicyTypeScope
- type PossibleRemediationAction
- type PossibleRemediationActions
- type ProtocolsListData
- type ProtocolsListDataSummary
- type RegionScope
- type RemediationAction
- type RemediationActionType
- type RemediationActionWithOrder
- type Resource
- type ResourceNotFoundException
- type ResourceSet
- type ResourceSetStatus
- type ResourceSetSummary
- type ResourceTag
- type ResourceViolation
- type Route
- type RouteHasOutOfScopeEndpointViolation
- type RuleOrder
- type SecurityGroupRemediationAction
- type SecurityGroupRuleDescription
- type SecurityServicePolicyData
- type SecurityServiceType
- type StatefulEngineOptions
- type StatefulRuleGroup
- type StatelessRuleGroup
- type Tag
- type TargetType
- type ThirdPartyFirewall
- type ThirdPartyFirewallAssociationStatus
- type ThirdPartyFirewallFirewallPolicy
- type ThirdPartyFirewallMissingExpectedRouteTableViolation
- type ThirdPartyFirewallMissingFirewallViolation
- type ThirdPartyFirewallMissingSubnetViolation
- type ThirdPartyFirewallPolicy
- type ViolationDetail
- type ViolationReason
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountRoleStatus ¶
type AccountRoleStatus string
const ( AccountRoleStatusReady AccountRoleStatus = "READY" AccountRoleStatusCreating AccountRoleStatus = "CREATING" AccountRoleStatusPendingDeletion AccountRoleStatus = "PENDING_DELETION" AccountRoleStatusDeleting AccountRoleStatus = "DELETING" AccountRoleStatusDeleted AccountRoleStatus = "DELETED" )
Enum values for AccountRoleStatus
func (AccountRoleStatus) Values ¶ added in v0.29.0
func (AccountRoleStatus) Values() []AccountRoleStatus
Values returns all known values for AccountRoleStatus. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.
type AccountScope ¶ added in v1.23.0
type AccountScope struct { // The list of accounts within the organization that the specified Firewall // Manager administrator either can or cannot apply policies to, based on the value // of ExcludeSpecifiedAccounts . If ExcludeSpecifiedAccounts is set to true , then // the Firewall Manager administrator can apply policies to all members of the // organization except for the accounts in this list. If ExcludeSpecifiedAccounts // is set to false , then the Firewall Manager administrator can only apply // policies to the accounts in this list. Accounts []string // A boolean value that indicates if the administrator can apply policies to all // accounts within an organization. If true, the administrator can apply policies // to all accounts within the organization. You can either enable management of all // accounts through this operation, or you can specify a list of accounts to manage // in AccountScope$Accounts . You cannot specify both. AllAccountsEnabled bool // A boolean value that excludes the accounts in AccountScope$Accounts from the // administrator's scope. If true, the Firewall Manager administrator can apply // policies to all members of the organization except for the accounts listed in // AccountScope$Accounts . You can either specify a list of accounts to exclude by // AccountScope$Accounts , or you can enable management of all accounts by // AccountScope$AllAccountsEnabled . You cannot specify both. ExcludeSpecifiedAccounts bool // contains filtered or unexported fields }
Configures the accounts within the administrator's Organizations organization that the specified Firewall Manager administrator can apply policies to.
type ActionTarget ¶ added in v1.6.0
type ActionTarget struct { // A description of the remediation action target. Description *string // The ID of the remediation target. ResourceId *string // contains filtered or unexported fields }
Describes a remediation action target.
type AdminAccountSummary ¶ added in v1.23.0
type AdminAccountSummary struct { // The Amazon Web Services account ID of the Firewall Manager administrator's // account. AdminAccount *string // A boolean value that indicates if the administrator is the default // administrator. If true, then this is the default administrator account. The // default administrator can manage third-party firewalls and has full // administrative scope. There is only one default administrator account per // organization. For information about Firewall Manager default administrator // accounts, see Managing Firewall Manager administrators (https://docs.aws.amazon.com/waf/latest/developerguide/fms-administrators.html) // in the Firewall Manager Developer Guide. DefaultAdmin bool // The current status of the request to onboard a member account as an Firewall // Manager administator. // - ONBOARDING - The account is onboarding to Firewall Manager as an // administrator. // - ONBOARDING_COMPLETE - Firewall Manager The account is onboarded to Firewall // Manager as an administrator, and can perform actions on the resources defined in // their AdminScope . // - OFFBOARDING - The account is being removed as an Firewall Manager // administrator. // - OFFBOARDING_COMPLETE - The account has been removed as an Firewall Manager // administrator. Status OrganizationStatus // contains filtered or unexported fields }
Contains high level information about the Firewall Manager administrator account.
type AdminScope ¶ added in v1.23.0
type AdminScope struct { // Defines the accounts that the specified Firewall Manager administrator can // apply policies to. AccountScope *AccountScope // Defines the Organizations organizational units that the specified Firewall // Manager administrator can apply policies to. For more information about OUs in // Organizations, see Managing organizational units (OUs) (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_ous.html) // in the Organizations User Guide. OrganizationalUnitScope *OrganizationalUnitScope // Defines the Firewall Manager policy types that the specified Firewall Manager // administrator can create and manage. PolicyTypeScope *PolicyTypeScope // Defines the Amazon Web Services Regions that the specified Firewall Manager // administrator can perform actions in. RegionScope *RegionScope // contains filtered or unexported fields }
Defines the resources that the Firewall Manager administrator can manage. For more information about administrative scope, see Managing Firewall Manager administrators (https://docs.aws.amazon.com/waf/latest/developerguide/fms-administrators.html) in the Firewall Manager Developer Guide.
type App ¶
type App struct { // The application's name. // // This member is required. AppName *string // The application's port number, for example 80 . // // This member is required. Port *int64 // The IP protocol name or number. The name can be one of tcp , udp , or icmp . For // information on possible numbers, see Protocol Numbers (https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml) // . // // This member is required. Protocol *string // contains filtered or unexported fields }
An individual Firewall Manager application.
type AppsListData ¶
type AppsListData struct { // An array of applications in the Firewall Manager applications list. // // This member is required. AppsList []App // The name of the Firewall Manager applications list. // // This member is required. ListName *string // The time that the Firewall Manager applications list was created. CreateTime *time.Time // The time that the Firewall Manager applications list was last updated. LastUpdateTime *time.Time // The ID of the Firewall Manager applications list. ListId *string // A unique identifier for each update to the list. When you update the list, the // update token must match the token of the current version of the application // list. You can retrieve the update token by getting the list. ListUpdateToken *string // A map of previous version numbers to their corresponding App object arrays. PreviousAppsList map[string][]App // contains filtered or unexported fields }
An Firewall Manager applications list.
type AppsListDataSummary ¶
type AppsListDataSummary struct { // An array of App objects in the Firewall Manager applications list. AppsList []App // The Amazon Resource Name (ARN) of the applications list. ListArn *string // The ID of the applications list. ListId *string // The name of the applications list. ListName *string // contains filtered or unexported fields }
Details of the Firewall Manager applications list.
type AwsEc2InstanceViolation ¶
type AwsEc2InstanceViolation struct { // Violation detail for network interfaces associated with the EC2 instance. AwsEc2NetworkInterfaceViolations []AwsEc2NetworkInterfaceViolation // The resource ID of the EC2 instance. ViolationTarget *string // contains filtered or unexported fields }
Violation detail for an EC2 instance resource.
type AwsEc2NetworkInterfaceViolation ¶
type AwsEc2NetworkInterfaceViolation struct { // List of security groups that violate the rules specified in the primary // security group of the Firewall Manager policy. ViolatingSecurityGroups []string // The resource ID of the network interface. ViolationTarget *string // contains filtered or unexported fields }
Violation detail for network interfaces associated with an EC2 instance.
type AwsVPCSecurityGroupViolation ¶
type AwsVPCSecurityGroupViolation struct { // List of rules specified in the security group of the Firewall Manager policy // that partially match the ViolationTarget rule. PartialMatches []PartialMatch // Remediation options for the rule specified in the ViolationTarget . PossibleSecurityGroupRemediationActions []SecurityGroupRemediationAction // The security group rule that is being evaluated. ViolationTarget *string // A description of the security group that violates the policy. ViolationTargetDescription *string // contains filtered or unexported fields }
Violation detail for the rule violation in a security group when compared to the primary security group of the Firewall Manager policy.
type ComplianceViolator ¶
type ComplianceViolator struct { // Metadata about the resource that doesn't comply with the policy scope. Metadata map[string]string // The resource ID. ResourceId *string // The resource type. This is in the format shown in the Amazon Web Services // Resource Types Reference (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html) // . For example: AWS::ElasticLoadBalancingV2::LoadBalancer , // AWS::CloudFront::Distribution , or AWS::NetworkFirewall::FirewallPolicy . ResourceType *string // The reason that the resource is not protected by the policy. ViolationReason ViolationReason // contains filtered or unexported fields }
Details of the resource that is not protected by the policy.
type CustomerPolicyScopeIdType ¶
type CustomerPolicyScopeIdType string
const ( CustomerPolicyScopeIdTypeAccount CustomerPolicyScopeIdType = "ACCOUNT" CustomerPolicyScopeIdTypeOrgUnit CustomerPolicyScopeIdType = "ORG_UNIT" )
Enum values for CustomerPolicyScopeIdType
func (CustomerPolicyScopeIdType) Values ¶ added in v0.29.0
func (CustomerPolicyScopeIdType) Values() []CustomerPolicyScopeIdType
Values returns all known values for CustomerPolicyScopeIdType. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.
type CustomerPolicyStatus ¶ added in v1.23.0
type CustomerPolicyStatus string
const ( CustomerPolicyStatusActive CustomerPolicyStatus = "ACTIVE" CustomerPolicyStatusOutOfAdminScope CustomerPolicyStatus = "OUT_OF_ADMIN_SCOPE" )
Enum values for CustomerPolicyStatus
func (CustomerPolicyStatus) Values ¶ added in v1.23.0
func (CustomerPolicyStatus) Values() []CustomerPolicyStatus
Values returns all known values for CustomerPolicyStatus. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.
type DependentServiceName ¶
type DependentServiceName string
const ( DependentServiceNameAWSConfig DependentServiceName = "AWSCONFIG" DependentServiceNameAwswaf DependentServiceName = "AWSWAF" DependentServiceNameAWSShieldAdvanced DependentServiceName = "AWSSHIELD_ADVANCED" DependentServiceNameAWSVirtualPrivateCloud DependentServiceName = "AWSVPC" )
Enum values for DependentServiceName
func (DependentServiceName) Values ¶ added in v0.29.0
func (DependentServiceName) Values() []DependentServiceName
Values returns all known values for DependentServiceName. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.
type DestinationType ¶ added in v1.6.0
type DestinationType string
const ( DestinationTypeIpv4 DestinationType = "IPV4" DestinationTypeIpv6 DestinationType = "IPV6" DestinationTypePrefixList DestinationType = "PREFIX_LIST" )
Enum values for DestinationType
func (DestinationType) Values ¶ added in v1.6.0
func (DestinationType) Values() []DestinationType
Values returns all known values for DestinationType. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.
type DiscoveredResource ¶ added in v1.20.0
type DiscoveredResource struct { // The Amazon Web Services account ID associated with the discovered resource. AccountId *string // The name of the discovered resource. Name *string // The type of the discovered resource. Type *string // The universal resource identifier (URI) of the discovered resource. URI *string // contains filtered or unexported fields }
A resource in the organization that's available to be associated with a Firewall Manager resource set.
type DnsDuplicateRuleGroupViolation ¶ added in v1.3.0
type DnsDuplicateRuleGroupViolation struct { // Information about the VPC ID. ViolationTarget *string // A description of the violation that specifies the rule group and VPC. ViolationTargetDescription *string // contains filtered or unexported fields }
A DNS Firewall rule group that Firewall Manager tried to associate with a VPC is already associated with the VPC and can't be associated again.
type DnsRuleGroupLimitExceededViolation ¶ added in v1.3.0
type DnsRuleGroupLimitExceededViolation struct { // The number of rule groups currently associated with the VPC. NumberOfRuleGroupsAlreadyAssociated int32 // Information about the VPC ID. ViolationTarget *string // A description of the violation that specifies the rule group and VPC. ViolationTargetDescription *string // contains filtered or unexported fields }
The VPC that Firewall Manager was applying a DNS Fireall policy to reached the limit for associated DNS Firewall rule groups. Firewall Manager tried to associate another rule group with the VPC and failed due to the limit.
type DnsRuleGroupPriorityConflictViolation ¶ added in v1.3.0
type DnsRuleGroupPriorityConflictViolation struct { // 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. ConflictingPolicyId *string // The priority setting of the two conflicting rule groups. ConflictingPriority int32 // retry your operation, choose priority settings that aren't in this list for the // rule groups in your new DNS Firewall policy. UnavailablePriorities []int32 // Information about the VPC ID. ViolationTarget *string // A description of the violation that specifies the VPC and the rule group that's // already associated with it. ViolationTargetDescription *string // contains filtered or unexported fields }
A rule group that Firewall Manager tried to associate with a VPC has the same priority as a rule group that's already associated.
type EC2AssociateRouteTableAction ¶ added in v1.6.0
type EC2AssociateRouteTableAction struct { // The ID of the EC2 route table that is associated with the remediation action. // // This member is required. RouteTableId *ActionTarget // A description of the EC2 route table that is associated with the remediation // action. Description *string // The ID of the gateway to be used with the EC2 route table that is associated // with the remediation action. GatewayId *ActionTarget // The ID of the subnet for the EC2 route table that is associated with the // remediation action. SubnetId *ActionTarget // contains filtered or unexported fields }
The action of associating an EC2 resource, such as a subnet or internet gateway, with a route table.
type EC2CopyRouteTableAction ¶ added in v1.6.0
type EC2CopyRouteTableAction struct { // The ID of the copied EC2 route table that is associated with the remediation // action. // // This member is required. RouteTableId *ActionTarget // The VPC ID of the copied EC2 route table that is associated with the // remediation action. // // This member is required. VpcId *ActionTarget // A description of the copied EC2 route table that is associated with the // remediation action. Description *string // contains filtered or unexported fields }
An action that copies the EC2 route table for use in remediation.
type EC2CreateRouteAction ¶ added in v1.6.0
type EC2CreateRouteAction struct { // Information about the ID of the route table for the route. // // This member is required. RouteTableId *ActionTarget // A description of CreateRoute action in Amazon EC2. Description *string // Information about the IPv4 CIDR address block used for the destination match. DestinationCidrBlock *string // Information about the IPv6 CIDR block destination. DestinationIpv6CidrBlock *string // Information about the ID of a prefix list used for the destination match. DestinationPrefixListId *string // Information about the ID of an internet gateway or virtual private gateway // attached to your VPC. GatewayId *ActionTarget // Information about the ID of a VPC endpoint. Supported for Gateway Load Balancer // endpoints only. VpcEndpointId *ActionTarget // contains filtered or unexported fields }
Information about the CreateRoute action in Amazon EC2.
type EC2CreateRouteTableAction ¶ added in v1.6.0
type EC2CreateRouteTableAction struct { // Information about the ID of a VPC. // // This member is required. VpcId *ActionTarget // A description of the CreateRouteTable action. Description *string // contains filtered or unexported fields }
Information about the CreateRouteTable action in Amazon EC2.
type EC2DeleteRouteAction ¶ added in v1.6.0
type EC2DeleteRouteAction struct { // Information about the ID of the route table. // // This member is required. RouteTableId *ActionTarget // A description of the DeleteRoute action. Description *string // Information about the IPv4 CIDR range for the route. The value you specify must // match the CIDR for the route exactly. DestinationCidrBlock *string // Information about the IPv6 CIDR range for the route. The value you specify must // match the CIDR for the route exactly. DestinationIpv6CidrBlock *string // Information about the ID of the prefix list for the route. DestinationPrefixListId *string // contains filtered or unexported fields }
Information about the DeleteRoute action in Amazon EC2.
type EC2ReplaceRouteAction ¶ added in v1.6.0
type EC2ReplaceRouteAction struct { // Information about the ID of the route table. // // This member is required. RouteTableId *ActionTarget // A description of the ReplaceRoute action in Amazon EC2. Description *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. DestinationCidrBlock *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. DestinationIpv6CidrBlock *string // Information about the ID of the prefix list for the route. DestinationPrefixListId *string // Information about the ID of an internet gateway or virtual private gateway. GatewayId *ActionTarget // contains filtered or unexported fields }
Information about the ReplaceRoute action in Amazon EC2.
type EC2ReplaceRouteTableAssociationAction ¶ added in v1.6.0
type EC2ReplaceRouteTableAssociationAction struct { // Information about the association ID. // // This member is required. AssociationId *ActionTarget // Information about the ID of the new route table to associate with the subnet. // // This member is required. RouteTableId *ActionTarget // A description of the ReplaceRouteTableAssociation action in Amazon EC2. Description *string // contains filtered or unexported fields }
Information about the ReplaceRouteTableAssociation action in Amazon EC2.
type EvaluationResult ¶
type EvaluationResult struct { // Describes an Amazon Web Services account's compliance with the Firewall Manager // policy. ComplianceStatus PolicyComplianceStatusType // Indicates that over 100 resources are noncompliant with the Firewall Manager // policy. EvaluationLimitExceeded bool // The number of resources that are noncompliant with the specified policy. For // WAF and Shield Advanced policies, a resource is considered noncompliant if it is // not associated with the policy. For security group policies, a resource is // considered noncompliant if it doesn't comply with the rules of the policy and // remediation is disabled or not possible. ViolatorCount int64 // contains filtered or unexported fields }
Describes the compliance status for the account. An account is considered noncompliant if it includes resources that are not protected by the specified policy or that don't comply with the policy.
type ExpectedRoute ¶ added in v1.6.0
type ExpectedRoute struct { // Information about the allowed targets. AllowedTargets []string // Information about the contributing subnets. ContributingSubnets []string // Information about the IPv4 CIDR block. IpV4Cidr *string // Information about the IPv6 CIDR block. IpV6Cidr *string // Information about the ID of the prefix list for the route. PrefixListId *string // Information about the route table ID. RouteTableId *string // contains filtered or unexported fields }
Information about the expected route in the route table.
type FMSPolicyUpdateFirewallCreationConfigAction ¶ added in v1.15.0
type FMSPolicyUpdateFirewallCreationConfigAction struct { // Describes the remedial action. Description *string // A FirewallCreationConfig that you can copy into your current policy's // SecurityServiceData (https://docs.aws.amazon.com/fms/2018-01-01/APIReference/API_SecurityServicePolicyData.html) // in order to remedy scope violations. FirewallCreationConfig *string // contains filtered or unexported fields }
Contains information about the actions that you can take to remediate scope violations caused by your policy's FirewallCreationConfig . FirewallCreationConfig is an optional configuration that you can use to choose which Availability Zones Firewall Manager creates Network Firewall endpoints in.
type FailedItem ¶ added in v1.20.0
type FailedItem struct { // The reason the resource's association could not be updated. Reason FailedItemReason // The univeral resource indicator (URI) of the resource that failed. URI *string // contains filtered or unexported fields }
Details of a resource that failed when trying to update it's association to a resource set.
type FailedItemReason ¶ added in v1.20.0
type FailedItemReason string
const ( FailedItemReasonNotValidArn FailedItemReason = "NOT_VALID_ARN" FailedItemReasonNotValidPartition FailedItemReason = "NOT_VALID_PARTITION" FailedItemReasonNotValidRegion FailedItemReason = "NOT_VALID_REGION" FailedItemReasonNotValidService FailedItemReason = "NOT_VALID_SERVICE" FailedItemReasonNotValidResourceType FailedItemReason = "NOT_VALID_RESOURCE_TYPE" FailedItemReasonNotValidAccountId FailedItemReason = "NOT_VALID_ACCOUNT_ID" )
Enum values for FailedItemReason
func (FailedItemReason) Values ¶ added in v1.20.0
func (FailedItemReason) Values() []FailedItemReason
Values returns all known values for FailedItemReason. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.
type FirewallDeploymentModel ¶ added in v1.15.0
type FirewallDeploymentModel string
const ( FirewallDeploymentModelCentralized FirewallDeploymentModel = "CENTRALIZED" FirewallDeploymentModelDistributed FirewallDeploymentModel = "DISTRIBUTED" )
Enum values for FirewallDeploymentModel
func (FirewallDeploymentModel) Values ¶ added in v1.15.0
func (FirewallDeploymentModel) Values() []FirewallDeploymentModel
Values returns all known values for FirewallDeploymentModel. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.
type FirewallSubnetIsOutOfScopeViolation ¶ added in v1.15.0
type FirewallSubnetIsOutOfScopeViolation struct { // The ID of the firewall subnet that violates the policy scope. FirewallSubnetId *string // The Availability Zone of the firewall subnet that violates the policy scope. SubnetAvailabilityZone *string // The Availability Zone ID of the firewall subnet that violates the policy scope. SubnetAvailabilityZoneId *string // The VPC endpoint ID of the firewall subnet that violates the policy scope. VpcEndpointId *string // The VPC ID of the firewall subnet that violates the policy scope. VpcId *string // contains filtered or unexported fields }
Contains details about the firewall subnet that violates the policy scope.
type FirewallSubnetMissingVPCEndpointViolation ¶ added in v1.17.0
type FirewallSubnetMissingVPCEndpointViolation struct { // The ID of the firewall that this VPC endpoint is associated with. FirewallSubnetId *string // The name of the Availability Zone of the deleted VPC subnet. SubnetAvailabilityZone *string // The ID of the Availability Zone of the deleted VPC subnet. SubnetAvailabilityZoneId *string // The resource ID of the VPC associated with the deleted VPC subnet. VpcId *string // contains filtered or unexported fields }
The violation details for a firewall subnet's VPC endpoint that's deleted or missing.
type InternalErrorException ¶
type InternalErrorException struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
The operation failed because of a system problem, even though the request was valid. Retry your request.
func (*InternalErrorException) Error ¶
func (e *InternalErrorException) Error() string
func (*InternalErrorException) ErrorCode ¶
func (e *InternalErrorException) ErrorCode() string
func (*InternalErrorException) ErrorFault ¶
func (e *InternalErrorException) ErrorFault() smithy.ErrorFault
func (*InternalErrorException) ErrorMessage ¶
func (e *InternalErrorException) ErrorMessage() string
type InvalidInputException ¶
type InvalidInputException struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
The parameters of the request were invalid.
func (*InvalidInputException) Error ¶
func (e *InvalidInputException) Error() string
func (*InvalidInputException) ErrorCode ¶
func (e *InvalidInputException) ErrorCode() string
func (*InvalidInputException) ErrorFault ¶
func (e *InvalidInputException) ErrorFault() smithy.ErrorFault
func (*InvalidInputException) ErrorMessage ¶
func (e *InvalidInputException) ErrorMessage() string
type InvalidOperationException ¶
type InvalidOperationException struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
The operation failed because there was nothing to do or the operation wasn't possible. For example, you might have submitted an AssociateAdminAccount request for an account ID that was already set as the Firewall Manager administrator. Or you might have tried to access a Region that's disabled by default, and that you need to enable for the Firewall Manager administrator account and for Organizations before you can access it.
func (*InvalidOperationException) Error ¶
func (e *InvalidOperationException) Error() string
func (*InvalidOperationException) ErrorCode ¶
func (e *InvalidOperationException) ErrorCode() string
func (*InvalidOperationException) ErrorFault ¶
func (e *InvalidOperationException) ErrorFault() smithy.ErrorFault
func (*InvalidOperationException) ErrorMessage ¶
func (e *InvalidOperationException) ErrorMessage() string
type InvalidTypeException ¶
type InvalidTypeException struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
The value of the Type parameter is invalid.
func (*InvalidTypeException) Error ¶
func (e *InvalidTypeException) Error() string
func (*InvalidTypeException) ErrorCode ¶
func (e *InvalidTypeException) ErrorCode() string
func (*InvalidTypeException) ErrorFault ¶
func (e *InvalidTypeException) ErrorFault() smithy.ErrorFault
func (*InvalidTypeException) ErrorMessage ¶
func (e *InvalidTypeException) ErrorMessage() string
type LimitExceededException ¶
type LimitExceededException struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
The operation exceeds a resource limit, for example, the maximum number of policy objects that you can create for an Amazon Web Services account. For more information, see Firewall Manager Limits (https://docs.aws.amazon.com/waf/latest/developerguide/fms-limits.html) in the WAF Developer Guide.
func (*LimitExceededException) Error ¶
func (e *LimitExceededException) Error() string
func (*LimitExceededException) ErrorCode ¶
func (e *LimitExceededException) ErrorCode() string
func (*LimitExceededException) ErrorFault ¶
func (e *LimitExceededException) ErrorFault() smithy.ErrorFault
func (*LimitExceededException) ErrorMessage ¶
func (e *LimitExceededException) ErrorMessage() string
type MarketplaceSubscriptionOnboardingStatus ¶ added in v1.17.0
type MarketplaceSubscriptionOnboardingStatus string
const ( MarketplaceSubscriptionOnboardingStatusNoSubscription MarketplaceSubscriptionOnboardingStatus = "NO_SUBSCRIPTION" MarketplaceSubscriptionOnboardingStatusNotComplete MarketplaceSubscriptionOnboardingStatus = "NOT_COMPLETE" MarketplaceSubscriptionOnboardingStatusComplete MarketplaceSubscriptionOnboardingStatus = "COMPLETE" )
Enum values for MarketplaceSubscriptionOnboardingStatus
func (MarketplaceSubscriptionOnboardingStatus) Values ¶ added in v1.17.0
Values returns all known values for MarketplaceSubscriptionOnboardingStatus. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.
type NetworkFirewallBlackHoleRouteDetectedViolation ¶ added in v1.6.0
type NetworkFirewallBlackHoleRouteDetectedViolation struct { // Information about the route table ID. RouteTableId *string // Information about the route or routes that are in violation. ViolatingRoutes []Route // The subnet that has an inactive state. ViolationTarget *string // Information about the VPC ID. VpcId *string // contains filtered or unexported fields }
Violation detail for an internet gateway route with an inactive state in the customer subnet route table or Network Firewall subnet route table.
type NetworkFirewallInternetTrafficNotInspectedViolation ¶ added in v1.6.0
type NetworkFirewallInternetTrafficNotInspectedViolation struct { // The actual firewall subnet routes. ActualFirewallSubnetRoutes []Route // The actual internet gateway routes. ActualInternetGatewayRoutes []Route // Information about the subnet route table for the current firewall. CurrentFirewallSubnetRouteTable *string // The current route table for the internet gateway. CurrentInternetGatewayRouteTable *string // The expected endpoint for the current firewall. ExpectedFirewallEndpoint *string // The firewall subnet routes that are expected. ExpectedFirewallSubnetRoutes []ExpectedRoute // The internet gateway routes that are expected. ExpectedInternetGatewayRoutes []ExpectedRoute // The firewall subnet ID. FirewallSubnetId *string // The internet gateway ID. InternetGatewayId *string // Information about whether the route table is used in another Availability Zone. IsRouteTableUsedInDifferentAZ bool // Information about the route table ID. RouteTableId *string // The subnet Availability Zone. SubnetAvailabilityZone *string // The subnet ID. SubnetId *string // The route or routes that are in violation. ViolatingRoutes []Route // Information about the VPC ID. VpcId *string // contains filtered or unexported fields }
Violation detail for the subnet for which internet traffic that hasn't been inspected.
type NetworkFirewallInvalidRouteConfigurationViolation ¶ added in v1.6.0
type NetworkFirewallInvalidRouteConfigurationViolation struct { // The actual firewall endpoint. ActualFirewallEndpoint *string // The actual subnet ID for the firewall. ActualFirewallSubnetId *string // The actual firewall subnet routes that are expected. ActualFirewallSubnetRoutes []Route // The actual internet gateway routes. ActualInternetGatewayRoutes []Route // The subnets that are affected. AffectedSubnets []string // The subnet route table for the current firewall. CurrentFirewallSubnetRouteTable *string // The route table for the current internet gateway. CurrentInternetGatewayRouteTable *string // The firewall endpoint that's expected. ExpectedFirewallEndpoint *string // The expected subnet ID for the firewall. ExpectedFirewallSubnetId *string // The firewall subnet routes that are expected. ExpectedFirewallSubnetRoutes []ExpectedRoute // The expected routes for the internet gateway. ExpectedInternetGatewayRoutes []ExpectedRoute // The internet gateway ID. InternetGatewayId *string // Information about whether the route table is used in another Availability Zone. IsRouteTableUsedInDifferentAZ bool // The route table ID. RouteTableId *string // The route that's in violation. ViolatingRoute *Route // Information about the VPC ID. VpcId *string // contains filtered or unexported fields }
Violation detail for the improperly configured subnet route. It's possible there is a missing route table route, or a configuration that causes traffic to cross an Availability Zone boundary.
type NetworkFirewallMissingExpectedRTViolation ¶ added in v0.30.0
type NetworkFirewallMissingExpectedRTViolation struct { // The Availability Zone of a violating subnet. AvailabilityZone *string // The resource ID of the current route table that's associated with the subnet, // if one is available. CurrentRouteTable *string // The resource ID of the route table that should be associated with the subnet. ExpectedRouteTable *string // The resource ID of the VPC associated with a violating subnet. VPC *string // The ID of the Network Firewall or VPC resource that's in violation. ViolationTarget *string // contains filtered or unexported fields }
Violation detail for Network Firewall for a subnet that's not associated to the expected Firewall Manager managed route table.
type NetworkFirewallMissingExpectedRoutesViolation ¶ added in v1.6.0
type NetworkFirewallMissingExpectedRoutesViolation struct { // The expected routes. ExpectedRoutes []ExpectedRoute // The target of the violation. ViolationTarget *string // Information about the VPC ID. VpcId *string // contains filtered or unexported fields }
Violation detail for an expected route missing in Network Firewall.
type NetworkFirewallMissingFirewallViolation ¶ added in v0.30.0
type NetworkFirewallMissingFirewallViolation struct { // The Availability Zone of a violating subnet. AvailabilityZone *string // The reason the resource has this violation, if one is available. TargetViolationReason *string // The resource ID of the VPC associated with a violating subnet. VPC *string // The ID of the Network Firewall or VPC resource that's in violation. ViolationTarget *string // contains filtered or unexported fields }
Violation detail for Network Firewall for a subnet that doesn't have a Firewall Manager managed firewall in its VPC.
type NetworkFirewallMissingSubnetViolation ¶ added in v0.30.0
type NetworkFirewallMissingSubnetViolation struct { // The Availability Zone of a violating subnet. AvailabilityZone *string // The reason the resource has this violation, if one is available. TargetViolationReason *string // The resource ID of the VPC associated with a violating subnet. VPC *string // The ID of the Network Firewall or VPC resource that's in violation. ViolationTarget *string // contains filtered or unexported fields }
Violation detail for Network Firewall for an Availability Zone that's missing the expected Firewall Manager managed subnet.
type NetworkFirewallOverrideAction ¶ added in v1.19.0
type NetworkFirewallOverrideAction string
const (
NetworkFirewallOverrideActionDropToAlert NetworkFirewallOverrideAction = "DROP_TO_ALERT"
)
Enum values for NetworkFirewallOverrideAction
func (NetworkFirewallOverrideAction) Values ¶ added in v1.19.0
func (NetworkFirewallOverrideAction) Values() []NetworkFirewallOverrideAction
Values returns all known values for NetworkFirewallOverrideAction. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.
type NetworkFirewallPolicy ¶ added in v1.15.0
type NetworkFirewallPolicy struct { // Defines the deployment model to use for the firewall policy. To use a // distributed model, set PolicyOption (https://docs.aws.amazon.com/fms/2018-01-01/APIReference/API_PolicyOption.html) // to NULL . FirewallDeploymentModel FirewallDeploymentModel // contains filtered or unexported fields }
Configures the firewall policy deployment model of Network Firewall. For information about Network Firewall deployment models, see Network Firewall example architectures with routing (https://docs.aws.amazon.com/network-firewall/latest/developerguide/architectures.html) in the Network Firewall Developer Guide.
type NetworkFirewallPolicyDescription ¶ added in v0.30.0
type NetworkFirewallPolicyDescription struct { // 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 StatefulDefaultActions []string // 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. StatefulEngineOptions *StatefulEngineOptions // The stateful rule groups that are used in the Network Firewall firewall policy. StatefulRuleGroups []StatefulRuleGroup // Names of custom actions that are available for use in the stateless default // actions settings. StatelessCustomActions []string // The actions to take on packets that don't match any of the stateless rule // groups. StatelessDefaultActions []string // The actions to take on packet fragments that don't match any of the stateless // rule groups. StatelessFragmentDefaultActions []string // The stateless rule groups that are used in the Network Firewall firewall policy. StatelessRuleGroups []StatelessRuleGroup // contains filtered or unexported fields }
The definition of the Network Firewall firewall policy.
type NetworkFirewallPolicyModifiedViolation ¶ added in v0.30.0
type NetworkFirewallPolicyModifiedViolation struct { // The policy that's currently in use in the individual account. CurrentPolicyDescription *NetworkFirewallPolicyDescription // The policy that should be in use in the individual account in order to be // compliant. ExpectedPolicyDescription *NetworkFirewallPolicyDescription // The ID of the Network Firewall or VPC resource that's in violation. ViolationTarget *string // contains filtered or unexported fields }
Violation detail for Network Firewall for a firewall policy that has a different NetworkFirewallPolicyDescription than is required by the Firewall Manager policy.
type NetworkFirewallStatefulRuleGroupOverride ¶ added in v1.19.0
type NetworkFirewallStatefulRuleGroupOverride struct { // The action that changes the rule group from DROP to ALERT . This only applies to // managed rule groups. Action NetworkFirewallOverrideAction // contains filtered or unexported fields }
The setting that allows the policy owner to change the behavior of the rule group within a policy.
type NetworkFirewallUnexpectedFirewallRoutesViolation ¶ added in v1.6.0
type NetworkFirewallUnexpectedFirewallRoutesViolation struct { // The endpoint of the firewall. FirewallEndpoint *string // The subnet ID for the firewall. FirewallSubnetId *string // The ID of the route table. RouteTableId *string // The routes that are in violation. ViolatingRoutes []Route // Information about the VPC ID. VpcId *string // contains filtered or unexported fields }
Violation detail for an unexpected route that's present in a route table.
type NetworkFirewallUnexpectedGatewayRoutesViolation ¶ added in v1.6.0
type NetworkFirewallUnexpectedGatewayRoutesViolation struct { // Information about the gateway ID. GatewayId *string // Information about the route table. RouteTableId *string // The routes that are in violation. ViolatingRoutes []Route // Information about the VPC ID. VpcId *string // contains filtered or unexported fields }
Violation detail for an unexpected gateway route that’s present in a route table.
type OrganizationStatus ¶ added in v1.23.0
type OrganizationStatus string
const ( OrganizationStatusOnboarding OrganizationStatus = "ONBOARDING" OrganizationStatusOnboardingComplete OrganizationStatus = "ONBOARDING_COMPLETE" OrganizationStatusOffboarding OrganizationStatus = "OFFBOARDING" OrganizationStatusOffboardingComplete OrganizationStatus = "OFFBOARDING_COMPLETE" )
Enum values for OrganizationStatus
func (OrganizationStatus) Values ¶ added in v1.23.0
func (OrganizationStatus) Values() []OrganizationStatus
Values returns all known values for OrganizationStatus. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.
type OrganizationalUnitScope ¶ added in v1.23.0
type OrganizationalUnitScope struct { // A boolean value that indicates if the administrator can apply policies to all // OUs within an organization. If true, the administrator can manage all OUs within // the organization. You can either enable management of all OUs through this // operation, or you can specify OUs to manage in // OrganizationalUnitScope$OrganizationalUnits . You cannot specify both. AllOrganizationalUnitsEnabled bool // A boolean value that excludes the OUs in // OrganizationalUnitScope$OrganizationalUnits from the administrator's scope. If // true, the Firewall Manager administrator can apply policies to all OUs in the // organization except for the OUs listed in // OrganizationalUnitScope$OrganizationalUnits . You can either specify a list of // OUs to exclude by OrganizationalUnitScope$OrganizationalUnits , or you can // enable management of all OUs by // OrganizationalUnitScope$AllOrganizationalUnitsEnabled . You cannot specify both. ExcludeSpecifiedOrganizationalUnits bool // The list of OUs within the organization that the specified Firewall Manager // administrator either can or cannot apply policies to, based on the value of // OrganizationalUnitScope$ExcludeSpecifiedOrganizationalUnits . If // OrganizationalUnitScope$ExcludeSpecifiedOrganizationalUnits is set to true , // then the Firewall Manager administrator can apply policies to all OUs in the // organization except for the OUs in this list. If // OrganizationalUnitScope$ExcludeSpecifiedOrganizationalUnits is set to false , // then the Firewall Manager administrator can only apply policies to the OUs in // this list. OrganizationalUnits []string // contains filtered or unexported fields }
Defines the Organizations organizational units (OUs) that the specified Firewall Manager administrator can apply policies to. For more information about OUs in Organizations, see Managing organizational units (OUs) (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_ous.html) in the Organizations User Guide.
type PartialMatch ¶
type PartialMatch struct { // The reference rule from the primary security group of the Firewall Manager // policy. Reference *string // The violation reason. TargetViolationReasons []string // contains filtered or unexported fields }
The reference rule that partially matches the ViolationTarget rule and violation reason.
type Policy ¶
type Policy struct { // If set to True , resources with the tags that are specified in the ResourceTag // array are not in scope of the policy. If set to False , and the ResourceTag // array is not null, only resources with the specified tags are in scope of the // policy. // // This member is required. ExcludeResourceTags bool // The name of the Firewall Manager policy. // // This member is required. PolicyName *string // Indicates if the policy should be automatically applied to new resources. // // This member is required. RemediationEnabled bool // The type of resource protected by or in scope of the policy. This is in the // format shown in the Amazon Web Services Resource Types Reference (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html) // . To apply this policy to multiple resource types, specify a resource type of // ResourceTypeList and then specify the resource types in a ResourceTypeList . For // WAF and Shield Advanced, resource types include // AWS::ElasticLoadBalancingV2::LoadBalancer , // AWS::ElasticLoadBalancing::LoadBalancer , AWS::EC2::EIP , and // AWS::CloudFront::Distribution . For a security group common policy, valid values // are AWS::EC2::NetworkInterface and AWS::EC2::Instance . For a security group // content audit policy, valid values are AWS::EC2::SecurityGroup , // AWS::EC2::NetworkInterface , and AWS::EC2::Instance . For a security group usage // audit policy, the value is AWS::EC2::SecurityGroup . For an Network Firewall // policy or DNS Firewall policy, the value is AWS::EC2::VPC . // // This member is required. ResourceType *string // Details about the security service that is being used to protect the resources. // // This member is required. SecurityServicePolicyData *SecurityServicePolicyData // Indicates whether Firewall Manager should automatically remove protections from // resources that leave the policy scope and clean up resources that Firewall // Manager is managing for accounts when those accounts leave policy scope. For // example, Firewall Manager will disassociate a Firewall Manager managed web ACL // from a protected customer resource when the customer resource leaves policy // scope. By default, Firewall Manager doesn't remove protections or delete // Firewall Manager managed resources. This option is not available for Shield // Advanced or WAF Classic policies. DeleteUnusedFMManagedResources bool // Specifies the Amazon Web Services account IDs and Organizations organizational // units (OUs) to exclude from the policy. Specifying an OU is the equivalent of // specifying all accounts in the OU and in any of its child OUs, including any // child OUs and accounts that are added at a later time. You can specify // inclusions or exclusions, but not both. If you specify an IncludeMap , Firewall // Manager applies the policy to all accounts specified by the IncludeMap , and // does not evaluate any ExcludeMap specifications. If you do not specify an // IncludeMap , then Firewall Manager applies the policy to all accounts except for // those specified by the ExcludeMap . You can specify account IDs, OUs, or a // combination: // - Specify account IDs by setting the key to ACCOUNT . For example, the // following is a valid map: {“ACCOUNT” : [“accountID1”, “accountID2”]} . // - Specify OUs by setting the key to ORG_UNIT . For example, the following is a // valid map: {“ORG_UNIT” : [“ouid111”, “ouid112”]} . // - Specify accounts and OUs together in a single map, separated with a comma. // For example, the following is a valid map: {“ACCOUNT” : [“accountID1”, // “accountID2”], “ORG_UNIT” : [“ouid111”, “ouid112”]} . ExcludeMap map[string][]string // Specifies the Amazon Web Services account IDs and Organizations organizational // units (OUs) to include in the policy. Specifying an OU is the equivalent of // specifying all accounts in the OU and in any of its child OUs, including any // child OUs and accounts that are added at a later time. You can specify // inclusions or exclusions, but not both. If you specify an IncludeMap , Firewall // Manager applies the policy to all accounts specified by the IncludeMap , and // does not evaluate any ExcludeMap specifications. If you do not specify an // IncludeMap , then Firewall Manager applies the policy to all accounts except for // those specified by the ExcludeMap . You can specify account IDs, OUs, or a // combination: // - Specify account IDs by setting the key to ACCOUNT . For example, the // following is a valid map: {“ACCOUNT” : [“accountID1”, “accountID2”]} . // - Specify OUs by setting the key to ORG_UNIT . For example, the following is a // valid map: {“ORG_UNIT” : [“ouid111”, “ouid112”]} . // - Specify accounts and OUs together in a single map, separated with a comma. // For example, the following is a valid map: {“ACCOUNT” : [“accountID1”, // “accountID2”], “ORG_UNIT” : [“ouid111”, “ouid112”]} . IncludeMap map[string][]string // The definition of the Network Firewall firewall policy. PolicyDescription *string // The ID of the Firewall Manager policy. PolicyId *string // Indicates whether the policy is in or out of an admin's policy or Region scope. // - ACTIVE - The administrator can manage and delete the policy. // - OUT_OF_ADMIN_SCOPE - The administrator can view the policy, but they can't // edit or delete the policy. Existing policy protections stay in place. Any new // resources that come into scope of the policy won't be protected. PolicyStatus CustomerPolicyStatus // A unique identifier for each update to the policy. When issuing a PutPolicy // request, the PolicyUpdateToken in the request must match the PolicyUpdateToken // of the current policy version. To get the PolicyUpdateToken of the current // policy version, use a GetPolicy request. PolicyUpdateToken *string // The unique identifiers of the resource sets used by the policy. ResourceSetIds []string // An array of ResourceTag objects. ResourceTags []ResourceTag // An array of ResourceType objects. Use this only to specify multiple resource // types. To specify a single resource type, use ResourceType . ResourceTypeList []string // contains filtered or unexported fields }
An Firewall Manager policy.
type PolicyComplianceDetail ¶
type PolicyComplianceDetail struct { // Indicates if over 100 resources are noncompliant with the Firewall Manager // policy. EvaluationLimitExceeded bool // A timestamp that indicates when the returned information should be considered // out of date. ExpiredAt *time.Time // Details about problems with dependent services, such as WAF or Config, and the // error message received that indicates the problem with the service. IssueInfoMap map[string]string // The Amazon Web Services account ID. MemberAccount *string // The ID of the Firewall Manager policy. PolicyId *string // The Amazon Web Services account that created the Firewall Manager policy. PolicyOwner *string // An array of resources that aren't protected by the WAF or Shield Advanced // policy or that aren't in compliance with the security group policy. Violators []ComplianceViolator // contains filtered or unexported fields }
Describes the noncompliant resources in a member account for a specific Firewall Manager policy. A maximum of 100 entries are displayed. If more than 100 resources are noncompliant, EvaluationLimitExceeded is set to True .
type PolicyComplianceStatus ¶
type PolicyComplianceStatus struct { // An array of EvaluationResult objects. EvaluationResults []EvaluationResult // Details about problems with dependent services, such as WAF or Config, and the // error message received that indicates the problem with the service. IssueInfoMap map[string]string // Timestamp of the last update to the EvaluationResult objects. LastUpdated *time.Time // The member account ID. MemberAccount *string // The ID of the Firewall Manager policy. PolicyId *string // The name of the Firewall Manager policy. PolicyName *string // The Amazon Web Services account that created the Firewall Manager policy. PolicyOwner *string // contains filtered or unexported fields }
Indicates whether the account is compliant with the specified policy. An account is considered noncompliant if it includes resources that are not protected by the policy, for WAF and Shield Advanced policies, or that are noncompliant with the policy, for security group policies.
type PolicyComplianceStatusType ¶
type PolicyComplianceStatusType string
const ( PolicyComplianceStatusTypeCompliant PolicyComplianceStatusType = "COMPLIANT" PolicyComplianceStatusTypeNonCompliant PolicyComplianceStatusType = "NON_COMPLIANT" )
Enum values for PolicyComplianceStatusType
func (PolicyComplianceStatusType) Values ¶ added in v0.29.0
func (PolicyComplianceStatusType) Values() []PolicyComplianceStatusType
Values returns all known values for PolicyComplianceStatusType. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.
type PolicyOption ¶ added in v1.15.0
type PolicyOption struct { // Defines the deployment model to use for the firewall policy. NetworkFirewallPolicy *NetworkFirewallPolicy // Defines the policy options for a third-party firewall policy. ThirdPartyFirewallPolicy *ThirdPartyFirewallPolicy // contains filtered or unexported fields }
Contains the Network Firewall firewall policy options to configure the policy's deployment model and third-party firewall policy settings.
type PolicySummary ¶
type PolicySummary struct { // Indicates whether Firewall Manager should automatically remove protections from // resources that leave the policy scope and clean up resources that Firewall // Manager is managing for accounts when those accounts leave policy scope. For // example, Firewall Manager will disassociate a Firewall Manager managed web ACL // from a protected customer resource when the customer resource leaves policy // scope. By default, Firewall Manager doesn't remove protections or delete // Firewall Manager managed resources. This option is not available for Shield // Advanced or WAF Classic policies. DeleteUnusedFMManagedResources bool // The Amazon Resource Name (ARN) of the specified policy. PolicyArn *string // The ID of the specified policy. PolicyId *string // The name of the specified policy. PolicyName *string // Indicates whether the policy is in or out of an admin's policy or Region scope. // - ACTIVE - The administrator can manage and delete the policy. // - OUT_OF_ADMIN_SCOPE - The administrator can view the policy, but they can't // edit or delete the policy. Existing policy protections stay in place. Any new // resources that come into scope of the policy won't be protected. PolicyStatus CustomerPolicyStatus // Indicates if the policy should be automatically applied to new resources. RemediationEnabled bool // The type of resource protected by or in scope of the policy. This is in the // format shown in the Amazon Web Services Resource Types Reference (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html) // . For WAF and Shield Advanced, examples include // AWS::ElasticLoadBalancingV2::LoadBalancer and AWS::CloudFront::Distribution . // For a security group common policy, valid values are AWS::EC2::NetworkInterface // and AWS::EC2::Instance . For a security group content audit policy, valid values // are AWS::EC2::SecurityGroup , AWS::EC2::NetworkInterface , and // AWS::EC2::Instance . For a security group usage audit policy, the value is // AWS::EC2::SecurityGroup . For an Network Firewall policy or DNS Firewall policy, // the value is AWS::EC2::VPC . ResourceType *string // The service that the policy is using to protect the resources. This specifies // the type of policy that is created, either an WAF policy, a Shield Advanced // policy, or a security group policy. SecurityServiceType SecurityServiceType // contains filtered or unexported fields }
Details of the Firewall Manager policy.
type PolicyTypeScope ¶ added in v1.23.0
type PolicyTypeScope struct { // Allows the specified Firewall Manager administrator to manage all Firewall // Manager policy types, except for third-party policy types. Third-party policy // types can only be managed by the Firewall Manager default administrator. AllPolicyTypesEnabled bool // The list of policy types that the specified Firewall Manager administrator can // manage. PolicyTypes []SecurityServiceType // contains filtered or unexported fields }
Defines the policy types that the specified Firewall Manager administrator can manage.
type PossibleRemediationAction ¶ added in v1.6.0
type PossibleRemediationAction struct { // The ordered list of remediation actions. // // This member is required. OrderedRemediationActions []RemediationActionWithOrder // A description of the list of remediation actions. Description *string // Information about whether an action is taken by default. IsDefaultAction bool // contains filtered or unexported fields }
A list of remediation actions.
type PossibleRemediationActions ¶ added in v1.6.0
type PossibleRemediationActions struct { // Information about the actions. Actions []PossibleRemediationAction // A description of the possible remediation actions list. Description *string // contains filtered or unexported fields }
A list of possible remediation action lists. Each individual possible remediation action is a list of individual remediation actions.
type ProtocolsListData ¶
type ProtocolsListData struct { // The name of the Firewall Manager protocols list. // // This member is required. ListName *string // An array of protocols in the Firewall Manager protocols list. // // This member is required. ProtocolsList []string // The time that the Firewall Manager protocols list was created. CreateTime *time.Time // The time that the Firewall Manager protocols list was last updated. LastUpdateTime *time.Time // The ID of the Firewall Manager protocols list. ListId *string // A unique identifier for each update to the list. When you update the list, the // update token must match the token of the current version of the application // list. You can retrieve the update token by getting the list. ListUpdateToken *string // A map of previous version numbers to their corresponding protocol arrays. PreviousProtocolsList map[string][]string // contains filtered or unexported fields }
An Firewall Manager protocols list.
type ProtocolsListDataSummary ¶
type ProtocolsListDataSummary struct { // The Amazon Resource Name (ARN) of the specified protocols list. ListArn *string // The ID of the specified protocols list. ListId *string // The name of the specified protocols list. ListName *string // An array of protocols in the Firewall Manager protocols list. ProtocolsList []string // contains filtered or unexported fields }
Details of the Firewall Manager protocols list.
type RegionScope ¶ added in v1.23.0
type RegionScope struct { // Allows the specified Firewall Manager administrator to manage all Amazon Web // Services Regions. AllRegionsEnabled bool // The Amazon Web Services Regions that the specified Firewall Manager // administrator can perform actions in. Regions []string // contains filtered or unexported fields }
Defines the Amazon Web Services Regions that the specified Firewall Manager administrator can manage.
type RemediationAction ¶ added in v1.6.0
type RemediationAction struct { // A description of a remediation action. Description *string // Information about the AssociateRouteTable action in the Amazon EC2 API. EC2AssociateRouteTableAction *EC2AssociateRouteTableAction // Information about the CopyRouteTable action in the Amazon EC2 API. EC2CopyRouteTableAction *EC2CopyRouteTableAction // Information about the CreateRoute action in the Amazon EC2 API. EC2CreateRouteAction *EC2CreateRouteAction // Information about the CreateRouteTable action in the Amazon EC2 API. EC2CreateRouteTableAction *EC2CreateRouteTableAction // Information about the DeleteRoute action in the Amazon EC2 API. EC2DeleteRouteAction *EC2DeleteRouteAction // Information about the ReplaceRoute action in the Amazon EC2 API. EC2ReplaceRouteAction *EC2ReplaceRouteAction // Information about the ReplaceRouteTableAssociation action in the Amazon EC2 API. EC2ReplaceRouteTableAssociationAction *EC2ReplaceRouteTableAssociationAction // The remedial action to take when updating a firewall configuration. FMSPolicyUpdateFirewallCreationConfigAction *FMSPolicyUpdateFirewallCreationConfigAction // contains filtered or unexported fields }
Information about an individual action you can take to remediate a violation.
type RemediationActionType ¶
type RemediationActionType string
const ( RemediationActionTypeRemove RemediationActionType = "REMOVE" RemediationActionTypeModify RemediationActionType = "MODIFY" )
Enum values for RemediationActionType
func (RemediationActionType) Values ¶ added in v0.29.0
func (RemediationActionType) Values() []RemediationActionType
Values returns all known values for RemediationActionType. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.
type RemediationActionWithOrder ¶ added in v1.6.0
type RemediationActionWithOrder struct { // The order of the remediation actions in the list. Order int32 // Information about an action you can take to remediate a violation. RemediationAction *RemediationAction // contains filtered or unexported fields }
An ordered list of actions you can take to remediate a violation.
type Resource ¶ added in v1.20.0
type Resource struct { // The resource's universal resource indicator (URI). // // This member is required. URI *string // The Amazon Web Services account ID that the associated resource belongs to. AccountId *string // contains filtered or unexported fields }
Details of a resource that is associated to an Firewall Manager resource set.
type ResourceNotFoundException ¶
type ResourceNotFoundException struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
The specified resource was not found.
func (*ResourceNotFoundException) Error ¶
func (e *ResourceNotFoundException) Error() string
func (*ResourceNotFoundException) ErrorCode ¶
func (e *ResourceNotFoundException) ErrorCode() string
func (*ResourceNotFoundException) ErrorFault ¶
func (e *ResourceNotFoundException) ErrorFault() smithy.ErrorFault
func (*ResourceNotFoundException) ErrorMessage ¶
func (e *ResourceNotFoundException) ErrorMessage() string
type ResourceSet ¶ added in v1.20.0
type ResourceSet struct { // The descriptive name of the resource set. You can't change the name of a // resource set after you create it. // // This member is required. Name *string // Determines the resources that can be associated to the resource set. Depending // on your setting for max results and the number of resource sets, a single call // might not return the full list. // // This member is required. ResourceTypeList []string // A description of the resource set. Description *string // A unique identifier for the resource set. This ID is returned in the responses // to create and list commands. You provide it to operations like update and // delete. Id *string // The last time that the resource set was changed. LastUpdateTime *time.Time // Indicates whether the resource set is in or out of an admin's Region scope. // - ACTIVE - The administrator can manage and delete the resource set. // - OUT_OF_ADMIN_SCOPE - The administrator can view the resource set, but they // can't edit or delete the resource set. Existing protections stay in place. Any // new resource that come into scope of the resource set won't be protected. ResourceSetStatus ResourceSetStatus // An optional token that you can use for optimistic locking. Firewall Manager // returns a token to your requests that access the resource set. The token marks // the state of the resource set resource at the time of the request. Update tokens // are not allowed when creating a resource set. After creation, each subsequent // update call to the resource set requires the update token. To make an // unconditional change to the resource set, omit the token in your update request. // Without the token, Firewall Manager performs your updates regardless of whether // the resource set has changed since you last retrieved it. To make a conditional // change to the resource set, provide the token in your update request. Firewall // Manager uses the token to ensure that the resource set hasn't changed since you // last retrieved it. If it has changed, the operation fails with an // InvalidTokenException . If this happens, retrieve the resource set again to get // a current copy of it with a new token. Reapply your changes as needed, then try // the operation again using the new token. UpdateToken *string // contains filtered or unexported fields }
A set of resources to include in a policy.
type ResourceSetStatus ¶ added in v1.23.0
type ResourceSetStatus string
const ( ResourceSetStatusActive ResourceSetStatus = "ACTIVE" ResourceSetStatusOutOfAdminScope ResourceSetStatus = "OUT_OF_ADMIN_SCOPE" )
Enum values for ResourceSetStatus
func (ResourceSetStatus) Values ¶ added in v1.23.0
func (ResourceSetStatus) Values() []ResourceSetStatus
Values returns all known values for ResourceSetStatus. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.
type ResourceSetSummary ¶ added in v1.20.0
type ResourceSetSummary struct { // A description of the resource set. Description *string // A unique identifier for the resource set. This ID is returned in the responses // to create and list commands. You provide it to operations like update and // delete. Id *string // The last time that the resource set was changed. LastUpdateTime *time.Time // The descriptive name of the resource set. You can't change the name of a // resource set after you create it. Name *string // Indicates whether the resource set is in or out of an admin's Region scope. // - ACTIVE - The administrator can manage and delete the resource set. // - OUT_OF_ADMIN_SCOPE - The administrator can view the resource set, but they // can't edit or delete the resource set. Existing protections stay in place. Any // new resource that come into scope of the resource set won't be protected. ResourceSetStatus ResourceSetStatus // contains filtered or unexported fields }
Summarizes the resource sets used in a policy.
type ResourceTag ¶
type ResourceTag struct { // The resource tag key. // // This member is required. Key *string // The resource tag value. Value *string // contains filtered or unexported fields }
The resource tags that Firewall Manager uses to determine if a particular resource should be included or excluded from the Firewall Manager policy. Tags enable you to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. Each tag consists of a key and an optional value. Firewall Manager combines the tags with "AND" so that, if you add more than one tag to a policy scope, a resource must have all the specified tags to be included or excluded. For more information, see Working with Tag Editor (https://docs.aws.amazon.com/awsconsolehelpdocs/latest/gsg/tag-editor.html) .
type ResourceViolation ¶
type ResourceViolation struct { // Violation detail for an EC2 instance. AwsEc2InstanceViolation *AwsEc2InstanceViolation // Violation detail for a network interface. AwsEc2NetworkInterfaceViolation *AwsEc2NetworkInterfaceViolation // Violation detail for security groups. AwsVPCSecurityGroupViolation *AwsVPCSecurityGroupViolation // 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. DnsDuplicateRuleGroupViolation *DnsDuplicateRuleGroupViolation // 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. DnsRuleGroupLimitExceededViolation *DnsRuleGroupLimitExceededViolation // 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. DnsRuleGroupPriorityConflictViolation *DnsRuleGroupPriorityConflictViolation // Contains details about the firewall subnet that violates the policy scope. FirewallSubnetIsOutOfScopeViolation *FirewallSubnetIsOutOfScopeViolation // The violation details for a third-party firewall's VPC endpoint subnet that was // deleted. FirewallSubnetMissingVPCEndpointViolation *FirewallSubnetMissingVPCEndpointViolation // Violation detail for an internet gateway route with an inactive state in the // customer subnet route table or Network Firewall subnet route table. NetworkFirewallBlackHoleRouteDetectedViolation *NetworkFirewallBlackHoleRouteDetectedViolation // Violation detail for the subnet for which internet traffic hasn't been // inspected. NetworkFirewallInternetTrafficNotInspectedViolation *NetworkFirewallInternetTrafficNotInspectedViolation // The route configuration is invalid. NetworkFirewallInvalidRouteConfigurationViolation *NetworkFirewallInvalidRouteConfigurationViolation // Violation detail for an Network Firewall policy that indicates that a subnet is // not associated with the expected Firewall Manager managed route table. NetworkFirewallMissingExpectedRTViolation *NetworkFirewallMissingExpectedRTViolation // Expected routes are missing from Network Firewall. NetworkFirewallMissingExpectedRoutesViolation *NetworkFirewallMissingExpectedRoutesViolation // Violation detail for an Network Firewall policy that indicates that a subnet // has no Firewall Manager managed firewall in its VPC. NetworkFirewallMissingFirewallViolation *NetworkFirewallMissingFirewallViolation // Violation detail for an Network Firewall policy that indicates that an // Availability Zone is missing the expected Firewall Manager managed subnet. NetworkFirewallMissingSubnetViolation *NetworkFirewallMissingSubnetViolation // 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. NetworkFirewallPolicyModifiedViolation *NetworkFirewallPolicyModifiedViolation // There's an unexpected firewall route. NetworkFirewallUnexpectedFirewallRoutesViolation *NetworkFirewallUnexpectedFirewallRoutesViolation // There's an unexpected gateway route. NetworkFirewallUnexpectedGatewayRoutesViolation *NetworkFirewallUnexpectedGatewayRoutesViolation // A list of possible remediation action lists. Each individual possible // remediation action is a list of individual remediation actions. PossibleRemediationActions *PossibleRemediationActions // Contains details about the route endpoint that violates the policy scope. RouteHasOutOfScopeEndpointViolation *RouteHasOutOfScopeEndpointViolation // 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. ThirdPartyFirewallMissingExpectedRouteTableViolation *ThirdPartyFirewallMissingExpectedRouteTableViolation // The violation details for a third-party firewall that's been deleted. ThirdPartyFirewallMissingFirewallViolation *ThirdPartyFirewallMissingFirewallViolation // The violation details for a third-party firewall's subnet that's been deleted. ThirdPartyFirewallMissingSubnetViolation *ThirdPartyFirewallMissingSubnetViolation // contains filtered or unexported fields }
Violation detail based on resource type.
type Route ¶ added in v1.6.0
type Route struct { // The destination of the route. Destination *string // The type of destination for the route. DestinationType DestinationType // The route's target. Target *string // The type of target for the route. TargetType TargetType // contains filtered or unexported fields }
Describes a route in a route table.
type RouteHasOutOfScopeEndpointViolation ¶ added in v1.15.0
type RouteHasOutOfScopeEndpointViolation struct { // The route table associated with the current firewall subnet. CurrentFirewallSubnetRouteTable *string // The current route table associated with the Internet Gateway. CurrentInternetGatewayRouteTable *string // The ID of the firewall subnet. FirewallSubnetId *string // The list of firewall subnet routes. FirewallSubnetRoutes []Route // The ID of the Internet Gateway. InternetGatewayId *string // The routes in the route table associated with the Internet Gateway. InternetGatewayRoutes []Route // The ID of the route table. RouteTableId *string // The subnet's Availability Zone. SubnetAvailabilityZone *string // The ID of the subnet's Availability Zone. SubnetAvailabilityZoneId *string // The ID of the subnet associated with the route that violates the policy scope. SubnetId *string // The list of routes that violate the route table. ViolatingRoutes []Route // The VPC ID of the route that violates the policy scope. VpcId *string // contains filtered or unexported fields }
Contains details about the route endpoint that violates the policy scope.
type RuleOrder ¶ added in v1.18.0
type RuleOrder string
type SecurityGroupRemediationAction ¶
type SecurityGroupRemediationAction struct { // Brief description of the action that will be performed. Description *string // Indicates if the current action is the default action. IsDefaultAction bool // The remediation action that will be performed. RemediationActionType RemediationActionType // The final state of the rule specified in the ViolationTarget after it is // remediated. RemediationResult *SecurityGroupRuleDescription // contains filtered or unexported fields }
Remediation option for the rule specified in the ViolationTarget .
type SecurityGroupRuleDescription ¶
type SecurityGroupRuleDescription struct { // 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. FromPort *int64 // The IPv4 ranges for the security group rule. IPV4Range *string // The IPv6 ranges for the security group rule. IPV6Range *string // The ID of the prefix list for the security group rule. PrefixListId *string // The IP protocol name ( tcp , udp , icmp , icmpv6 ) or number. Protocol *string // 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. ToPort *int64 // contains filtered or unexported fields }
Describes a set of permissions for a security group rule.
type SecurityServicePolicyData ¶
type SecurityServicePolicyData struct { // The service that the policy is using to protect the resources. This specifies // the type of policy that is created, either an 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 // Amazon Web Services Support. // // This member is required. Type SecurityServiceType // Details about the service that are specific to the service type, in JSON // format. // - Example: DNS_FIREWALL // "{\"type\":\"DNS_FIREWALL\",\"preProcessRuleGroups\":[{\"ruleGroupId\":\"rslvr-frg-1\",\"priority\":10}],\"postProcessRuleGroups\":[{\"ruleGroupId\":\"rslvr-frg-2\",\"priority\":9911}]}" // Valid values for preProcessRuleGroups are between 1 and 99. Valid values for // postProcessRuleGroups are between 9901 and 10000. // - Example: IMPORT_NETWORK_FIREWALL // "{\"type\":\"IMPORT_NETWORK_FIREWALL\",\"awsNetworkFirewallConfig\":{\"networkFirewallStatelessRuleGroupReferences\":[{\"resourceARN\":\"arn:aws:network-firewall:us-west-2:000000000000:stateless-rulegroup\/rg1\",\"priority\":1}],\"networkFirewallStatelessDefaultActions\":[\"aws:drop\"],\"networkFirewallStatelessFragmentDefaultActions\":[\"aws:pass\"],\"networkFirewallStatelessCustomActions\":[],\"networkFirewallStatefulRuleGroupReferences\":[{\"resourceARN\":\"arn:aws:network-firewall:us-west-2:aws-managed:stateful-rulegroup\/ThreatSignaturesEmergingEventsStrictOrder\",\"priority\":8}],\"networkFirewallStatefulEngineOptions\":{\"ruleOrder\":\"STRICT_ORDER\"},\"networkFirewallStatefulDefaultActions\":[\"aws:drop_strict\"]}}" // "{\"type\":\"DNS_FIREWALL\",\"preProcessRuleGroups\":[{\"ruleGroupId\":\"rslvr-frg-1\",\"priority\":10}],\"postProcessRuleGroups\":[{\"ruleGroupId\":\"rslvr-frg-2\",\"priority\":9911}]}" // Valid values for preProcessRuleGroups are between 1 and 99. Valid values for // postProcessRuleGroups are between 9901 and 10000. // - Example: NETWORK_FIREWALL - Centralized deployment model // "{\"type\":\"NETWORK_FIREWALL\",\"awsNetworkFirewallConfig\":{\"networkFirewallStatelessRuleGroupReferences\":[{\"resourceARN\":\"arn:aws:network-firewall:us-east-1:123456789011:stateless-rulegroup/test\",\"priority\":1}],\"networkFirewallStatelessDefaultActions\":[\"aws:forward_to_sfe\",\"customActionName\"],\"networkFirewallStatelessFragmentDefaultActions\":[\"aws:forward_to_sfe\",\"customActionName\"],\"networkFirewallStatelessCustomActions\":[{\"actionName\":\"customActionName\",\"actionDefinition\":{\"publishMetricAction\":{\"dimensions\":[{\"value\":\"metricdimensionvalue\"}]}}}],\"networkFirewallStatefulRuleGroupReferences\":[{\"resourceARN\":\"arn:aws:network-firewall:us-east-1:123456789011:stateful-rulegroup/test\"}],\"networkFirewallLoggingConfiguration\":{\"logDestinationConfigs\":[{\"logDestinationType\":\"S3\",\"logType\":\"ALERT\",\"logDestination\":{\"bucketName\":\"s3-bucket-name\"}},{\"logDestinationType\":\"S3\",\"logType\":\"FLOW\",\"logDestination\":{\"bucketName\":\"s3-bucket-name\"}}],\"overrideExistingConfig\":true}},\"firewallDeploymentModel\":{\"centralizedFirewallDeploymentModel\":{\"centralizedFirewallOrchestrationConfig\":{\"inspectionVpcIds\":[{\"resourceId\":\"vpc-1234\",\"accountId\":\"123456789011\"}],\"firewallCreationConfig\":{\"endpointLocation\":{\"availabilityZoneConfigList\":[{\"availabilityZoneId\":null,\"availabilityZoneName\":\"us-east-1a\",\"allowedIPV4CidrList\":[\"10.0.0.0/28\"]}]}},\"allowedIPV4CidrList\":[]}}}}" // To use the centralized deployment model, you must set PolicyOption (https://docs.aws.amazon.com/fms/2018-01-01/APIReference/API_PolicyOption.html) // to CENTRALIZED . // - Example: NETWORK_FIREWALL - Distributed deployment model with automatic // Availability Zone configuration // "{\"type\":\"NETWORK_FIREWALL\",\"networkFirewallStatelessRuleGroupReferences\":[{\"resourceARN\":\"arn:aws:network-firewall:us-east-1:123456789011:stateless-rulegroup/test\",\"priority\":1}],\"networkFirewallStatelessDefaultActions\":[\"aws:forward_to_sfe\",\"customActionName\"],\"networkFirewallStatelessFragmentDefaultActions\":[\"aws:forward_to_sfe\",\"customActionName\"],\"networkFirewallStatelessCustomActions\":[{\"actionName\":\"customActionName\",\"actionDefinition\":{\"publishMetricAction\":{\"dimensions\":[{\"value\":\"metricdimensionvalue\"}]}}}],\"networkFirewallStatefulRuleGroupReferences\":[{\"resourceARN\":\"arn:aws:network-firewall:us-east-1:123456789011:stateful-rulegroup/test\"}],\"networkFirewallOrchestrationConfig\":{\"singleFirewallEndpointPerVPC\":false,\"allowedIPV4CidrList\":[\"10.0.0.0/28\",\"192.168.0.0/28\"],\"routeManagementAction\":\"OFF\"},\"networkFirewallLoggingConfiguration\":{\"logDestinationConfigs\":[{\"logDestinationType\":\"S3\",\"logType\":\"ALERT\",\"logDestination\":{\"bucketName\":\"s3-bucket-name\"}},{\"logDestinationType\":\"S3\",\"logType\":\"FLOW\",\"logDestination\":{\"bucketName\":\"s3-bucket-name\"}}],\"overrideExistingConfig\":true}}" // With automatic Availbility Zone configuration, Firewall Manager chooses which // Availability Zones to create the endpoints in. To use the distributed deployment // model, you must set PolicyOption (https://docs.aws.amazon.com/fms/2018-01-01/APIReference/API_PolicyOption.html) // to NULL . // - Example: NETWORK_FIREWALL - Distributed deployment model with automatic // Availability Zone configuration and route management // "{\"type\":\"NETWORK_FIREWALL\",\"networkFirewallStatelessRuleGroupReferences\":[{\"resourceARN\":\"arn:aws:network-firewall:us-east-1:123456789011:stateless-rulegroup/test\",\"priority\":1}],\"networkFirewallStatelessDefaultActions\":[\"aws:forward_to_sfe\",\"customActionName\"],\"networkFirewallStatelessFragmentDefaultActions\":[\"aws:forward_to_sfe\",\"customActionName\"],\"networkFirewallStatelessCustomActions\":[{\"actionName\":\"customActionName\",\"actionDefinition\":{\"publishMetricAction\":{\"dimensions\":[{\"value\":\"metricdimensionvalue\"}]}}}],\"networkFirewallStatefulRuleGroupReferences\":[{\"resourceARN\":\"arn:aws:network-firewall:us-east-1:123456789011:stateful-rulegroup/test\"}],\"networkFirewallOrchestrationConfig\":{\"singleFirewallEndpointPerVPC\":false,\"allowedIPV4CidrList\":[\"10.0.0.0/28\",\"192.168.0.0/28\"],\"routeManagementAction\":\"MONITOR\",\"routeManagementTargetTypes\":[\"InternetGateway\"]},\"networkFirewallLoggingConfiguration\":{\"logDestinationConfigs\":[{\"logDestinationType\":\"S3\",\"logType\":\"ALERT\",\"logDestination\":{\"bucketName\":\"s3-bucket-name\"}},{\"logDestinationType\":\"S3\",\"logType\": // \"FLOW\",\"logDestination\":{\"bucketName\":\"s3-bucket-name\"}}],\"overrideExistingConfig\":true}}" // To use the distributed deployment model, you must set PolicyOption (https://docs.aws.amazon.com/fms/2018-01-01/APIReference/API_PolicyOption.html) // to NULL . // - Example: NETWORK_FIREWALL - Distributed deployment model with custom // Availability Zone configuration // "{\"type\":\"NETWORK_FIREWALL\",\"networkFirewallStatelessRuleGroupReferences\":[{\"resourceARN\":\"arn:aws:network-firewall:us-east-1:123456789011:stateless-rulegroup/test\",\"priority\":1}],\"networkFirewallStatelessDefaultActions\":[\"aws:forward_to_sfe\",\"customActionName\"],\"networkFirewallStatelessFragmentDefaultActions\":[\"aws:forward_to_sfe\",\"fragmentcustomactionname\"],\"networkFirewallStatelessCustomActions\":[{\"actionName\":\"customActionName\", // \"actionDefinition\":{\"publishMetricAction\":{\"dimensions\":[{\"value\":\"metricdimensionvalue\"}]}}},{\"actionName\":\"fragmentcustomactionname\",\"actionDefinition\":{\"publishMetricAction\":{\"dimensions\":[{\"value\":\"fragmentmetricdimensionvalue\"}]}}}],\"networkFirewallStatefulRuleGroupReferences\":[{\"resourceARN\":\"arn:aws:network-firewall:us-east-1:123456789011:stateful-rulegroup/test\"}],\"networkFirewallOrchestrationConfig\":{\"firewallCreationConfig\":{ // \"endpointLocation\":{\"availabilityZoneConfigList\":[{\"availabilityZoneName\":\"us-east-1a\",\"allowedIPV4CidrList\":[\"10.0.0.0/28\"]},{\"availabilityZoneName\":\"us-east-1b\",\"allowedIPV4CidrList\":[ // \"10.0.0.0/28\"]}]} // },\"singleFirewallEndpointPerVPC\":false,\"allowedIPV4CidrList\":null,\"routeManagementAction\":\"OFF\",\"networkFirewallLoggingConfiguration\":{\"logDestinationConfigs\":[{\"logDestinationType\":\"S3\",\"logType\":\"ALERT\",\"logDestination\":{\"bucketName\":\"s3-bucket-name\"}},{\"logDestinationType\":\"S3\",\"logType\":\"FLOW\",\"logDestination\":{\"bucketName\":\"s3-bucket-name\"}}],\"overrideExistingConfig\":boolean}}" // With custom Availability Zone configuration, you define which specific // Availability Zones to create endpoints in by configuring // firewallCreationConfig . To configure the Availability Zones in // firewallCreationConfig , specify either the availabilityZoneName or // availabilityZoneId parameter, not both parameters. To use the distributed // deployment model, you must set PolicyOption (https://docs.aws.amazon.com/fms/2018-01-01/APIReference/API_PolicyOption.html) // to NULL . // - Example: NETWORK_FIREWALL - Distributed deployment model with custom // Availability Zone configuration and route management // "{\"type\":\"NETWORK_FIREWALL\",\"networkFirewallStatelessRuleGroupReferences\":[{\"resourceARN\":\"arn:aws:network-firewall:us-east-1:123456789011:stateless-rulegroup/test\",\"priority\":1}],\"networkFirewallStatelessDefaultActions\":[\"aws:forward_to_sfe\",\"customActionName\"],\"networkFirewallStatelessFragmentDefaultActions\":[\"aws:forward_to_sfe\",\"fragmentcustomactionname\"],\"networkFirewallStatelessCustomActions\":[{\"actionName\":\"customActionName\",\"actionDefinition\":{\"publishMetricAction\":{\"dimensions\":[{\"value\":\"metricdimensionvalue\"}]}}},{\"actionName\":\"fragmentcustomactionname\",\"actionDefinition\":{\"publishMetricAction\":{\"dimensions\":[{\"value\":\"fragmentmetricdimensionvalue\"}]}}}],\"networkFirewallStatefulRuleGroupReferences\":[{\"resourceARN\":\"arn:aws:network-firewall:us-east-1:123456789011:stateful-rulegroup/test\"}],\"networkFirewallOrchestrationConfig\":{\"firewallCreationConfig\":{\"endpointLocation\":{\"availabilityZoneConfigList\":[{\"availabilityZoneName\":\"us-east-1a\",\"allowedIPV4CidrList\":[\"10.0.0.0/28\"]},{\"availabilityZoneName\":\"us-east-1b\",\"allowedIPV4CidrList\":[\"10.0.0.0/28\"]}]}},\"singleFirewallEndpointPerVPC\":false,\"allowedIPV4CidrList\":null,\"routeManagementAction\":\"MONITOR\",\"routeManagementTargetTypes\":[\"InternetGateway\"],\"routeManagementConfig\":{\"allowCrossAZTrafficIfNoEndpoint\":true}},\"networkFirewallLoggingConfiguration\":{\"logDestinationConfigs\":[{\"logDestinationType\":\"S3\",\"logType\":\"ALERT\",\"logDestination\":{\"bucketName\":\"s3-bucket-name\"}},{\"logDestinationType\":\"S3\",\"logType\":\"FLOW\",\"logDestination\":{\"bucketName\":\"s3-bucket-name\"}}],\"overrideExistingConfig\":boolean}}" // To use the distributed deployment model, you must set PolicyOption (https://docs.aws.amazon.com/fms/2018-01-01/APIReference/API_PolicyOption.html) // to NULL . // - Example: THIRD_PARTY_FIREWALL "{ "type":"THIRD_PARTY_FIREWALL", // "thirdPartyFirewall":"PALO_ALTO_NETWORKS_CLOUD_NGFW", // "thirdPartyFirewallConfig":{ "thirdPartyFirewallPolicyList":["global-1"] }, // "firewallDeploymentModel":{ "distributedFirewallDeploymentModel":{ // "distributedFirewallOrchestrationConfig":{ "firewallCreationConfig":{ // "endpointLocation":{ "availabilityZoneConfigList":[ { // "availabilityZoneName":"${AvailabilityZone}" } ] } }, "allowedIPV4CidrList":[ ] // } } } }" // - Example: SECURITY_GROUPS_COMMON // "{\"type\":\"SECURITY_GROUPS_COMMON\",\"revertManualSecurityGroupChanges\":false,\"exclusiveResourceSecurityGroupManagement\":false, // \"applyToAllEC2InstanceENIs\":false,\"securityGroups\":[{\"id\":\" // sg-000e55995d61a06bd\"}]}" // - Example: SECURITY_GROUPS_COMMON - Security group tag distribution // ""{\"type\":\"SECURITY_GROUPS_COMMON\",\"securityGroups\":[{\"id\":\"sg-000e55995d61a06bd\"}],\"revertManualSecurityGroupChanges\":true,\"exclusiveResourceSecurityGroupManagement\":false,\"applyToAllEC2InstanceENIs\":false,\"includeSharedVPC\":false,\"enableTagDistribution\":true}"" // Firewall Manager automatically distributes tags from the primary group to the // security groups created by this policy. To use security group tag distribution, // you must also set revertManualSecurityGroupChanges to true , otherwise // Firewall Manager won't be able to create the policy. When you enable // revertManualSecurityGroupChanges , Firewall Manager identifies and reports // when the security groups created by this policy become non-compliant. Firewall // Manager won't distrubute system tags added by Amazon Web Services services into // the replica security groups. System tags begin with the aws: prefix. // - Example: Shared VPCs. Apply the preceding policy to resources in shared // VPCs as well as to those in VPCs that the account owns // "{\"type\":\"SECURITY_GROUPS_COMMON\",\"revertManualSecurityGroupChanges\":false,\"exclusiveResourceSecurityGroupManagement\":false, // \"applyToAllEC2InstanceENIs\":false,\"includeSharedVPC\":true,\"securityGroups\":[{\"id\":\" // sg-000e55995d61a06bd\"}]}" // - Example: SECURITY_GROUPS_CONTENT_AUDIT // "{\"type\":\"SECURITY_GROUPS_CONTENT_AUDIT\",\"securityGroups\":[{\"id\":\"sg-000e55995d61a06bd\"}],\"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}" // - Specification for SHIELD_ADVANCED for Amazon CloudFront distributions // "{\"type\":\"SHIELD_ADVANCED\",\"automaticResponseConfiguration\": // {\"automaticResponseStatus\":\"ENABLED|IGNORED|DISABLED\", // \"automaticResponseAction\":\"BLOCK|COUNT\"}, // \"overrideCustomerWebaclClassic\":true|false}" For example: // "{\"type\":\"SHIELD_ADVANCED\",\"automaticResponseConfiguration\": // {\"automaticResponseStatus\":\"ENABLED\", // \"automaticResponseAction\":\"COUNT\"}}" The default value for // automaticResponseStatus is IGNORED . The value for automaticResponseAction is // only required when automaticResponseStatus is set to ENABLED . The default // value for overrideCustomerWebaclClassic is false . For other resource types // that you can protect with a Shield Advanced policy, this ManagedServiceData // configuration is an empty string. // - Example: WAFV2 - Account takeover prevention and Bot Control managed rule // groups, and rule action override // "{\"type\":\"WAFV2\",\"preProcessRuleGroups\":[{\"ruleGroupArn\":null,\"overrideAction\":{\"type\":\"NONE\"},\"managedRuleGroupIdentifier\":{\"versionEnabled\":null,\"version\":null,\"vendorName\":\"AWS\",\"managedRuleGroupName\":\"AWSManagedRulesATPRuleSet\",\"managedRuleGroupConfigs\":[{\"awsmanagedRulesATPRuleSet\":{\"loginPath\":\"/loginpath\",\"requestInspection\":{\"payloadType\":\"FORM_ENCODED|JSON\",\"usernameField\":{\"identifier\":\"/form/username\"},\"passwordField\":{\"identifier\":\"/form/password\"}}}}]},\"ruleGroupType\":\"ManagedRuleGroup\",\"excludeRules\":[],\"sampledRequestsEnabled\":true},{\"ruleGroupArn\":null,\"overrideAction\":{\"type\":\"NONE\"},\"managedRuleGroupIdentifier\":{\"versionEnabled\":null,\"version\":null,\"vendorName\":\"AWS\",\"managedRuleGroupName\":\"AWSManagedRulesBotControlRuleSet\",\"managedRuleGroupConfigs\":[{\"awsmanagedRulesBotControlRuleSet\":{\"inspectionLevel\":\"TARGETED|COMMON\"}}]},\"ruleGroupType\":\"ManagedRuleGroup\",\"excludeRules\":[],\"sampledRequestsEnabled\":true,\"ruleActionOverrides\":[{\"name\":\"Rule1\",\"actionToUse\":{\"allow|block|count|captcha|challenge\":{}}},{\"name\":\"Rule2\",\"actionToUse\":{\"allow|block|count|captcha|challenge\":{}}}]}],\"postProcessRuleGroups\":[],\"defaultAction\":{\"type\":\"ALLOW\"},\"customRequestHandling\":null,\"customResponse\":null,\"overrideCustomerWebACLAssociation\":false,\"loggingConfiguration\":null,\"sampledRequestsEnabledForDefaultActions\":true}" // - Fraud Control account takeover prevention (ATP) - For information about the // properties available for AWSManagedRulesATPRuleSet managed rule groups, see // AWSManagedRulesATPRuleSet (https://docs.aws.amazon.com/waf/latest/APIReference/API_AWSManagedRulesATPRuleSet.html) // in the WAF API Reference. // - Bot Control - For information about AWSManagedRulesBotControlRuleSet managed // rule groups, see AWSManagedRulesBotControlRuleSet (https://docs.aws.amazon.com/waf/latest/APIReference/API_AWSManagedRulesBotControlRuleSet.html) // in the WAF API Reference. // - Rule action overrides - Firewall Manager supports rule action overrides // only for managed rule groups. To configure a RuleActionOverrides add the Name // of the rule to override, and ActionToUse , which is the new action to use for // the rule. For information about using rule action override, see // RuleActionOverride (https://docs.aws.amazon.com/waf/latest/APIReference/API_RuleActionOverride.html) // in the WAF API Reference. // - Example: WAFV2 - CAPTCHA and Challenge configs // "{\"type\":\"WAFV2\",\"preProcessRuleGroups\":[{\"ruleGroupArn\":null,\"overrideAction\":{\"type\":\"NONE\"},\"managedRuleGroupIdentifier\":{\"versionEnabled\":null,\"version\":null,\"vendorName\":\"AWS\",\"managedRuleGroupName\":\"AWSManagedRulesAdminProtectionRuleSet\"},\"ruleGroupType\":\"ManagedRuleGroup\",\"excludeRules\":[],\"sampledRequestsEnabled\":true}],\"postProcessRuleGroups\":[],\"defaultAction\":{\"type\":\"ALLOW\"},\"customRequestHandling\":null,\"customResponse\":null,\"overrideCustomerWebACLAssociation\":false,\"loggingConfiguration\":null,\"sampledRequestsEnabledForDefaultActions\":true,\"captchaConfig\":{\"immunityTimeProperty\":{\"immunityTime\":500}},\"challengeConfig\":{\"immunityTimeProperty\":{\"immunityTime\":800}},\"tokenDomains\":[\"google.com\",\"amazon.com\"]}" // If you update the policy's values for captchaConfig , challengeConfig , or // tokenDomains , Firewall Manager will overwrite your local web ACLs to contain // the new value(s). However, if you don't update the policy's captchaConfig , // challengeConfig , or tokenDomains values, the values in your local web ACLs // will remain unchanged. For information about CAPTCHA and Challenge configs, see // CaptchaConfig (https://docs.aws.amazon.com/waf/latest/APIReference/API_CaptchaConfig.html) // and ChallengeConfig (https://docs.aws.amazon.com/waf/latest/APIReference/API_ChallengeConfig.html) // in the WAF API Reference. // - Example: WAFV2 - Firewall Manager support for WAF managed rule group // versioning // "{\"type\":\"WAFV2\",\"preProcessRuleGroups\":[{\"ruleGroupArn\":null,\"overrideAction\":{\"type\":\"NONE\"},\"managedRuleGroupIdentifier\":{\"versionEnabled\":true,\"version\":\"Version_2.0\",\"vendorName\":\"AWS\",\"managedRuleGroupName\":\"AWSManagedRulesCommonRuleSet\"},\"ruleGroupType\":\"ManagedRuleGroup\",\"excludeRules\":[{\"name\":\"NoUserAgent_HEADER\"}]}],\"postProcessRuleGroups\":[],\"defaultAction\":{\"type\":\"ALLOW\"},\"overrideCustomerWebACLAssociation\":false,\"loggingConfiguration\":{\"logDestinationConfigs\":[\"arn:aws:firehose:us-west-2:12345678912:deliverystream/aws-waf-logs-fms-admin-destination\"],\"redactedFields\":[{\"redactedFieldType\":\"SingleHeader\",\"redactedFieldValue\":\"Cookies\"},{\"redactedFieldType\":\"Method\"}]}}" // To use a specific version of a WAF managed rule group in your Firewall Manager // policy, you must set versionEnabled to true , and set version to the version // you'd like to use. If you don't set versionEnabled to true , or if you omit // versionEnabled , then Firewall Manager uses the default version of the WAF // managed rule group. // - Example: WAFV2 - Logging configurations // "{\"type\":\"WAFV2\",\"preProcessRuleGroups\":[{\"ruleGroupArn\":null, // \"overrideAction\":{\"type\":\"NONE\"},\"managedRuleGroupIdentifier\": // {\"versionEnabled\":null,\"version\":null,\"vendorName\":\"AWS\", // \"managedRuleGroupName\":\"AWSManagedRulesAdminProtectionRuleSet\"} // ,\"ruleGroupType\":\"ManagedRuleGroup\",\"excludeRules\":[], // \"sampledRequestsEnabled\":true}],\"postProcessRuleGroups\":[], // \"defaultAction\":{\"type\":\"ALLOW\"},\"customRequestHandling\" // :null,\"customResponse\":null,\"overrideCustomerWebACLAssociation\" // :false,\"loggingConfiguration\":{\"logDestinationConfigs\": // [\"arn:aws:s3:::aws-waf-logs-example-bucket\"] // ,\"redactedFields\":[],\"loggingFilterConfigs\":{\"defaultBehavior\":\"KEEP\", // \"filters\":[{\"behavior\":\"KEEP\",\"requirement\":\"MEETS_ALL\", // \"conditions\":[{\"actionCondition\":\"CAPTCHA\"},{\"actionCondition\": // \"CHALLENGE\"}, // {\"actionCondition\":\"EXCLUDED_AS_COUNT\"}]}]}},\"sampledRequestsEnabledForDefaultActions\":true}" // Firewall Manager supports Amazon Kinesis Data Firehose and Amazon S3 as the // logDestinationConfigs in your loggingConfiguration . For information about WAF // logging configurations, see LoggingConfiguration (https://docs.aws.amazon.com/waf/latest/APIReference/API_LoggingConfiguration.html) // in the WAF API Reference In the loggingConfiguration , you can specify one // logDestinationConfigs . Optionally provide as many as 20 redactedFields . The // RedactedFieldType must be one of URI , QUERY_STRING , HEADER , or METHOD . // - Example: WAF Classic "{\"type\": \"WAF\", \"ruleGroups\": // [{\"id\":\"12345678-1bcd-9012-efga-0987654321ab\", \"overrideAction\" : // {\"type\": \"COUNT\"}}], \"defaultAction\": {\"type\": \"BLOCK\"}}" ManagedServiceData *string // Contains the Network Firewall firewall policy options to configure a // centralized deployment model. PolicyOption *PolicyOption // contains filtered or unexported fields }
Details about the security service that is being used to protect the resources.
type SecurityServiceType ¶
type SecurityServiceType string
const ( SecurityServiceTypeWaf SecurityServiceType = "WAF" SecurityServiceTypeWafv2 SecurityServiceType = "WAFV2" SecurityServiceTypeShieldAdvanced SecurityServiceType = "SHIELD_ADVANCED" SecurityServiceTypeSecurityGroupsCommon SecurityServiceType = "SECURITY_GROUPS_COMMON" SecurityServiceTypeSecurityGroupsContentAudit SecurityServiceType = "SECURITY_GROUPS_CONTENT_AUDIT" SecurityServiceTypeSecurityGroupsUsageAudit SecurityServiceType = "SECURITY_GROUPS_USAGE_AUDIT" SecurityServiceTypeNetworkFirewall SecurityServiceType = "NETWORK_FIREWALL" SecurityServiceTypeDnsFirewall SecurityServiceType = "DNS_FIREWALL" SecurityServiceTypeThirdPartyFirewall SecurityServiceType = "THIRD_PARTY_FIREWALL" SecurityServiceTypeImportNetworkFirewall SecurityServiceType = "IMPORT_NETWORK_FIREWALL" )
Enum values for SecurityServiceType
func (SecurityServiceType) Values ¶ added in v0.29.0
func (SecurityServiceType) Values() []SecurityServiceType
Values returns all known values for SecurityServiceType. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.
type StatefulEngineOptions ¶ added in v1.18.0
type StatefulEngineOptions struct { // 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 (https://docs.aws.amazon.com/network-firewall/latest/developerguide/suricata-rule-evaluation-order.html) // in the Network Firewall Developer Guide. RuleOrder RuleOrder // contains filtered or unexported fields }
Configuration settings for the handling of the stateful rule groups in a Network Firewall firewall policy.
type StatefulRuleGroup ¶ added in v0.30.0
type StatefulRuleGroup struct { // The action that allows the policy owner to override the behavior of the rule // group within a policy. Override *NetworkFirewallStatefulRuleGroupOverride // 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. Priority *int32 // The resource ID of the rule group. ResourceId *string // The name of the rule group. RuleGroupName *string // contains filtered or unexported fields }
Network Firewall stateful rule group, used in a NetworkFirewallPolicyDescription .
type StatelessRuleGroup ¶ added in v0.30.0
type StatelessRuleGroup struct { // The priority of the rule group. Network Firewall evaluates the stateless rule // groups in a firewall policy starting from the lowest priority setting. Priority int32 // The resource ID of the rule group. ResourceId *string // The name of the rule group. RuleGroupName *string // contains filtered or unexported fields }
Network Firewall stateless rule group, used in a NetworkFirewallPolicyDescription .
type Tag ¶
type Tag struct { // 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. // // This member is required. Key *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. // // This member is required. Value *string // contains filtered or unexported fields }
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.
type TargetType ¶ added in v1.6.0
type TargetType string
const ( TargetTypeGateway TargetType = "GATEWAY" TargetTypeCarrierGateway TargetType = "CARRIER_GATEWAY" TargetTypeInstance TargetType = "INSTANCE" TargetTypeLocalGateway TargetType = "LOCAL_GATEWAY" TargetTypeNatGateway TargetType = "NAT_GATEWAY" TargetTypeNetworkInterface TargetType = "NETWORK_INTERFACE" TargetTypeVPCEndpoint TargetType = "VPC_ENDPOINT" TargetTypeVPCPeeringConnection TargetType = "VPC_PEERING_CONNECTION" TargetTypeEgressOnlyInternetGateway TargetType = "EGRESS_ONLY_INTERNET_GATEWAY" TargetTypeTransitGateway TargetType = "TRANSIT_GATEWAY" )
Enum values for TargetType
func (TargetType) Values ¶ added in v1.6.0
func (TargetType) Values() []TargetType
Values returns all known values for TargetType. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.
type ThirdPartyFirewall ¶ added in v1.17.0
type ThirdPartyFirewall string
const ( ThirdPartyFirewallPaloAltoNetworksCloudNgfw ThirdPartyFirewall = "PALO_ALTO_NETWORKS_CLOUD_NGFW" ThirdPartyFirewallFortigateCloudNativeFirewall ThirdPartyFirewall = "FORTIGATE_CLOUD_NATIVE_FIREWALL" )
Enum values for ThirdPartyFirewall
func (ThirdPartyFirewall) Values ¶ added in v1.17.0
func (ThirdPartyFirewall) Values() []ThirdPartyFirewall
Values returns all known values for ThirdPartyFirewall. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.
type ThirdPartyFirewallAssociationStatus ¶ added in v1.17.0
type ThirdPartyFirewallAssociationStatus string
const ( ThirdPartyFirewallAssociationStatusOnboarding ThirdPartyFirewallAssociationStatus = "ONBOARDING" ThirdPartyFirewallAssociationStatusOnboardComplete ThirdPartyFirewallAssociationStatus = "ONBOARD_COMPLETE" ThirdPartyFirewallAssociationStatusOffboarding ThirdPartyFirewallAssociationStatus = "OFFBOARDING" ThirdPartyFirewallAssociationStatusOffboardComplete ThirdPartyFirewallAssociationStatus = "OFFBOARD_COMPLETE" ThirdPartyFirewallAssociationStatusNotExist ThirdPartyFirewallAssociationStatus = "NOT_EXIST" )
Enum values for ThirdPartyFirewallAssociationStatus
func (ThirdPartyFirewallAssociationStatus) Values ¶ added in v1.17.0
func (ThirdPartyFirewallAssociationStatus) Values() []ThirdPartyFirewallAssociationStatus
Values returns all known values for ThirdPartyFirewallAssociationStatus. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.
type ThirdPartyFirewallFirewallPolicy ¶ added in v1.17.0
type ThirdPartyFirewallFirewallPolicy struct { // The ID of the specified firewall policy. FirewallPolicyId *string // The name of the specified firewall policy. FirewallPolicyName *string // contains filtered or unexported fields }
Configures the third-party firewall's firewall policy.
type ThirdPartyFirewallMissingExpectedRouteTableViolation ¶ added in v1.17.0
type ThirdPartyFirewallMissingExpectedRouteTableViolation struct { // The Availability Zone of the firewall subnet that's causing the violation. AvailabilityZone *string // The resource ID of the current route table that's associated with the subnet, // if one is available. CurrentRouteTable *string // The resource ID of the route table that should be associated with the subnet. ExpectedRouteTable *string // The resource ID of the VPC associated with a fireawll subnet that's causing the // violation. VPC *string // The ID of the third-party firewall or VPC resource that's causing the violation. ViolationTarget *string // contains filtered or unexported fields }
The violation details for a third-party firewall that's not associated with an Firewall Manager managed route table.
type ThirdPartyFirewallMissingFirewallViolation ¶ added in v1.17.0
type ThirdPartyFirewallMissingFirewallViolation struct { // The Availability Zone of the third-party firewall that's causing the violation. AvailabilityZone *string // The reason the resource is causing this violation, if a reason is available. TargetViolationReason *string // The resource ID of the VPC associated with a third-party firewall. VPC *string // The ID of the third-party firewall that's causing the violation. ViolationTarget *string // contains filtered or unexported fields }
The violation details about a third-party firewall's subnet that doesn't have a Firewall Manager managed firewall in its VPC.
type ThirdPartyFirewallMissingSubnetViolation ¶ added in v1.17.0
type ThirdPartyFirewallMissingSubnetViolation struct { // The Availability Zone of a subnet that's causing the violation. AvailabilityZone *string // The reason the resource is causing the violation, if a reason is available. TargetViolationReason *string // The resource ID of the VPC associated with a subnet that's causing the // violation. VPC *string // The ID of the third-party firewall or VPC resource that's causing the violation. ViolationTarget *string // contains filtered or unexported fields }
The violation details for a third-party firewall for an Availability Zone that's missing the Firewall Manager managed subnet.
type ThirdPartyFirewallPolicy ¶ added in v1.17.0
type ThirdPartyFirewallPolicy struct { // Defines the deployment model to use for the third-party firewall policy. FirewallDeploymentModel FirewallDeploymentModel // contains filtered or unexported fields }
Configures the deployment model for the third-party firewall.
type ViolationDetail ¶
type ViolationDetail struct { // The Amazon Web Services account that the violation details were requested for. // // This member is required. MemberAccount *string // The ID of the Firewall Manager policy that the violation details were requested // for. // // This member is required. PolicyId *string // The resource ID that the violation details were requested for. // // This member is required. ResourceId *string // The resource type that the violation details were requested for. // // This member is required. ResourceType *string // List of violations for the requested resource. // // This member is required. ResourceViolations []ResourceViolation // Brief description for the requested resource. ResourceDescription *string // The ResourceTag objects associated with the resource. ResourceTags []Tag // contains filtered or unexported fields }
Violations for a resource based on the specified Firewall Manager policy and Amazon Web Services account.
type ViolationReason ¶
type ViolationReason string
const ( ViolationReasonWebAclMissingRuleGroup ViolationReason = "WEB_ACL_MISSING_RULE_GROUP" ViolationReasonResourceMissingWebAcl ViolationReason = "RESOURCE_MISSING_WEB_ACL" ViolationReasonResourceIncorrectWebAcl ViolationReason = "RESOURCE_INCORRECT_WEB_ACL" ViolationReasonResourceMissingShieldProtection ViolationReason = "RESOURCE_MISSING_SHIELD_PROTECTION" ViolationReasonResourceMissingWebaclOrShieldProtection ViolationReason = "RESOURCE_MISSING_WEB_ACL_OR_SHIELD_PROTECTION" ViolationReasonResourceMissingSecurityGroup ViolationReason = "RESOURCE_MISSING_SECURITY_GROUP" ViolationReasonResourceViolatesAuditSecurityGroup ViolationReason = "RESOURCE_VIOLATES_AUDIT_SECURITY_GROUP" ViolationReasonSecurityGroupUnused ViolationReason = "SECURITY_GROUP_UNUSED" ViolationReasonSecurityGroupRedundant ViolationReason = "SECURITY_GROUP_REDUNDANT" ViolationReasonFMSCreatedSecurityGroupEdited ViolationReason = "FMS_CREATED_SECURITY_GROUP_EDITED" ViolationReasonMissingFirewall ViolationReason = "MISSING_FIREWALL" ViolationReasonMissingFirewallSubnetInAZ ViolationReason = "MISSING_FIREWALL_SUBNET_IN_AZ" ViolationReasonMissingExpectedRouteTable ViolationReason = "MISSING_EXPECTED_ROUTE_TABLE" ViolationReasonNetworkFirewallPolicyModified ViolationReason = "NETWORK_FIREWALL_POLICY_MODIFIED" ViolationReasonFirewallSubnetIsOutOfScope ViolationReason = "FIREWALL_SUBNET_IS_OUT_OF_SCOPE" ViolationReasonInternetGatewayMissingExpectedRoute ViolationReason = "INTERNET_GATEWAY_MISSING_EXPECTED_ROUTE" ViolationReasonFirewallSubnetMissingExpectedRoute ViolationReason = "FIREWALL_SUBNET_MISSING_EXPECTED_ROUTE" ViolationReasonUnexpectedFirewallRoutes ViolationReason = "UNEXPECTED_FIREWALL_ROUTES" ViolationReasonUnexpectedTargetGatewayRoutes ViolationReason = "UNEXPECTED_TARGET_GATEWAY_ROUTES" ViolationReasonTrafficInspectionCrossesAZBoundary ViolationReason = "TRAFFIC_INSPECTION_CROSSES_AZ_BOUNDARY" ViolationReasonInvalidRouteConfiguration ViolationReason = "INVALID_ROUTE_CONFIGURATION" ViolationReasonMissingTargetGateway ViolationReason = "MISSING_TARGET_GATEWAY" ViolationReasonInternetTrafficNotInspected ViolationReason = "INTERNET_TRAFFIC_NOT_INSPECTED" ViolationReasonBlackHoleRouteDetected ViolationReason = "BLACK_HOLE_ROUTE_DETECTED" ViolationReasonBlackHoleRouteDetectedInFirewallSubnet ViolationReason = "BLACK_HOLE_ROUTE_DETECTED_IN_FIREWALL_SUBNET" ViolationReasonResourceMissingDnsFirewall ViolationReason = "RESOURCE_MISSING_DNS_FIREWALL" ViolationReasonRouteHasOutOfScopeEndpoint ViolationReason = "ROUTE_HAS_OUT_OF_SCOPE_ENDPOINT" ViolationReasonFirewallSubnetMissingVPCEndpoint ViolationReason = "FIREWALL_SUBNET_MISSING_VPCE_ENDPOINT" )
Enum values for ViolationReason
func (ViolationReason) Values ¶ added in v0.29.0
func (ViolationReason) Values() []ViolationReason
Values returns all known values for ViolationReason. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.