wafv2
Implementation details for API wafv2
Coverage Overview
Availability | Testing* | |||||||
---|---|---|---|---|---|---|---|---|
Operation | Implemented | Image | Internal Test Suite | External Test Suite | Terraform Validated | AWS Validated | Snapshot Tested | Details |
AssociateWebACL | ✔️ | pro | ✔️ | ✔️ | ✔️ | ✔️ | Show Tests | |
CheckCapacity | ||||||||
CreateAPIKey | ||||||||
CreateIPSet | ✔️ | pro | ✔️ | ✔️ | ✔️ | ✔️ | Show Tests | |
CreateRegexPatternSet | ||||||||
CreateRuleGroup | ✔️ | pro | ✔️ | |||||
CreateWebACL | ✔️ | pro | ✔️ | ✔️ | ✔️ | ✔️ | Show Tests | |
DeleteAPIKey | ||||||||
DeleteFirewallManagerRuleGroups | ||||||||
DeleteIPSet | ✔️ | pro | ✔️ | |||||
DeleteLoggingConfiguration | ✔️ | pro | ✔️ | ✔️ | ✔️ | ✔️ | Show Tests | |
DeletePermissionPolicy | ||||||||
DeleteRegexPatternSet | ||||||||
DeleteRuleGroup | ✔️ | pro | ✔️ | |||||
DeleteWebACL | ✔️ | pro | ✔️ | ✔️ | ✔️ | ✔️ | Show Tests | |
DescribeAllManagedProducts | ||||||||
DescribeManagedProductsByVendor | ||||||||
DescribeManagedRuleGroup | ||||||||
DisassociateWebACL | ✔️ | pro | ✔️ | ✔️ | ✔️ | ✔️ | Show Tests | |
GenerateMobileSdkReleaseUrl | ||||||||
GetDecryptedAPIKey | ||||||||
GetIPSet | ✔️ | pro | ✔️ | ✔️ | ✔️ | ✔️ | Show Tests | |
GetLoggingConfiguration | ✔️ | pro | ✔️ | ✔️ | ✔️ | ✔️ | Show Tests | |
GetManagedRuleSet | ||||||||
GetMobileSdkRelease | ||||||||
GetPermissionPolicy | ||||||||
GetRateBasedStatementManagedKeys | ||||||||
GetRegexPatternSet | ||||||||
GetRuleGroup | ✔️ | pro | ✔️ | |||||
GetSampledRequests | ||||||||
GetWebACL | ✔️ | pro | ✔️ | ✔️ | ✔️ | ✔️ | Show Tests | |
GetWebACLForResource | ✔️ | pro | ✔️ | ✔️ | ✔️ | ✔️ | Show Tests | |
ListAPIKeys | ||||||||
ListAvailableManagedRuleGroupVersions | ||||||||
ListAvailableManagedRuleGroups | ||||||||
ListIPSets | ✔️ | pro | ✔️ | |||||
ListLoggingConfigurations | ✔️ | pro | ✔️ | |||||
ListManagedRuleSets | ||||||||
ListMobileSdkReleases | ||||||||
ListRegexPatternSets | ||||||||
ListResourcesForWebACL | ||||||||
ListRuleGroups | ✔️ | pro | ✔️ | |||||
ListTagsForResource | ✔️ | pro | ✔️ | ✔️ | ✔️ | ✔️ | Show Tests | |
ListWebACLs | ✔️ | pro | ✔️ | ✔️ | ✔️ | ✔️ | Show Tests | |
PutLoggingConfiguration | ✔️ | pro | ✔️ | ✔️ | ✔️ | ✔️ | Show Tests | |
PutManagedRuleSetVersions | ||||||||
PutPermissionPolicy | ||||||||
TagResource | ✔️ | pro | ✔️ | ✔️ | ✔️ | ✔️ | Show Tests | |
UntagResource | ✔️ | pro | ✔️ | |||||
UpdateIPSet | ✔️ | pro | ✔️ | |||||
UpdateManagedRuleSetVersionExpiryDate | ||||||||
UpdateRegexPatternSet | ||||||||
UpdateRuleGroup | ✔️ | pro | ✔️ | |||||
UpdateWebACL | ✔️ | pro | ✔️ |
Terminology
- Internal Test Suite: tested by LocalStack's internal integration test suite
- External Test Suite: covered by an external integration test suite, that runs against LocalStack
- Terraform Validated: operation tested with Terraform
- AWS Validated: the integration test that includes this operation call was validated against AWS
- Snapshot Tested: the operation is part of a snapshot parity test, which verifies the responses by LocalStack and AWS are the same
Testing Details
This section gives an overview about the internal integration test suite and the specific test cases that recorded the API call.How to read the test details?
For each operation we put up a list of the related integration test cases.
Those operation calls have been recorded during the execution of the outlined test cases. Some calls might be internal, i.e., they are not explicitly called in the test, but are triggered implicitly by the LocalStack framework.
Those operation calls have been recorded during the execution of the outlined test cases. Some calls might be internal, i.e., they are not explicitly called in the test, but are triggered implicitly by the LocalStack framework.
- Parameters: The tests are ordered by the parameters used, which are highlighted in bold.
- Test Details: LocalStack Community or LocalStack Pro indicates where the test originates. For each test you see:
- test name
- status code returned (which is the expected one for the test case)
- information about validation:
- AWS validated the test is validated against AWS, meaning it run successfully against real AWS as well
- Snapshot Tested this is a snapshot parity test, meaning the responses are validated against AWS
AssociateWebACL
Parameters: ResourceArn, WebACLArn
- LocalStack Pro
- test_stack_resources_are_deployed LocalStack Pro: tests/aws/services/cloudformation/resources/test_wafv2.py::TestWafV2Resources::test_stack_resources_are_deployed HTTP Status Code: 200 AWS validated Snapshot Tested
CreateIPSet
Parameters: Addresses, IPAddressVersion, Name, Scope
- LocalStack Pro
- test_stack_resources_are_deployed LocalStack Pro: tests/aws/services/cloudformation/resources/test_wafv2.py::TestWafV2Resources::test_stack_resources_are_deployed HTTP Status Code: 200 AWS validated Snapshot Tested
CreateWebACL
Parameters: DefaultAction, Name, Rules, Scope, VisibilityConfig
- LocalStack Pro
- test_stack_resources_are_deployed LocalStack Pro: tests/aws/services/cloudformation/resources/test_wafv2.py::TestWafV2Resources::test_stack_resources_are_deployed HTTP Status Code: 200 AWS validated Snapshot Tested
- LocalStack Pro
- test_create_and_list_web_acl LocalStack Pro: tests/aws/services/wafv2/test_wafv2.py::TestWafV2::test_create_and_list_web_acl HTTP Status Code: 200 AWS validated Snapshot Tested
DeleteLoggingConfiguration
Parameters: ResourceArn
- LocalStack Pro
- test_logging_configuration LocalStack Pro: tests/aws/services/cloudformation/resources/test_wafv2.py::TestWafV2Resources::test_logging_configuration HTTP Status Code: 200 AWS validated Snapshot Tested
DeleteWebACL
Parameters: Id, LockToken, Name, Scope
- LocalStack Pro
- test_create_and_list_web_acl LocalStack Pro: tests/aws/services/wafv2/test_wafv2.py::TestWafV2::test_create_and_list_web_acl HTTP Status Code: 200 AWS validated Snapshot Tested
DisassociateWebACL
Parameters: ResourceArn
- LocalStack Pro
- test_logging_configuration LocalStack Pro: tests/aws/services/cloudformation/resources/test_wafv2.py::TestWafV2Resources::test_logging_configuration HTTP Status Code: 200 AWS validated Snapshot Tested
GetIPSet
Parameters: Id, Name, Scope
- LocalStack Pro
- test_ip_set LocalStack Pro: tests/aws/services/cloudformation/resources/test_wafv2.py::TestWafV2Resources::test_ip_set HTTP Status Code: 200 AWS validated Snapshot Tested
- test_stack_resources_are_deployed LocalStack Pro: tests/aws/services/cloudformation/resources/test_wafv2.py::TestWafV2Resources::test_stack_resources_are_deployed HTTP Status Code: 200 AWS validated Snapshot Tested
GetLoggingConfiguration
Parameters: ResourceArn
- LocalStack Pro
- test_logging_configuration LocalStack Pro: tests/aws/services/cloudformation/resources/test_wafv2.py::TestWafV2Resources::test_logging_configuration HTTP Status Code: 200 AWS validated Snapshot Tested
- test_stack_resources_are_deployed LocalStack Pro: tests/aws/services/cloudformation/resources/test_wafv2.py::TestWafV2Resources::test_stack_resources_are_deployed HTTP Status Code: 200 AWS validated Snapshot Tested
- test_logging_configuration LocalStack Pro: tests/aws/services/cloudformation/resources/test_wafv2.py::TestWafV2Resources::test_logging_configuration HTTP Status Code: 400 (WAFNonexistentItemException) AWS validated Snapshot Tested
GetWebACL
Parameters: Id, Name, Scope
- LocalStack Pro
- test_stack_resources_are_deployed LocalStack Pro: tests/aws/services/cloudformation/resources/test_wafv2.py::TestWafV2Resources::test_stack_resources_are_deployed HTTP Status Code: 200 AWS validated Snapshot Tested
- test_web_acl LocalStack Pro: tests/aws/services/cloudformation/resources/test_wafv2.py::TestWafV2Resources::test_web_acl HTTP Status Code: 200 AWS validated Snapshot Tested
- test_create_and_list_web_acl LocalStack Pro: tests/aws/services/wafv2/test_wafv2.py::TestWafV2::test_create_and_list_web_acl HTTP Status Code: 200 AWS validated Snapshot Tested
GetWebACLForResource
Parameters: ResourceArn
- LocalStack Pro
- test_logging_configuration LocalStack Pro: tests/aws/services/cloudformation/resources/test_wafv2.py::TestWafV2Resources::test_logging_configuration HTTP Status Code: 200 AWS validated Snapshot Tested
- test_stack_resources_are_deployed LocalStack Pro: tests/aws/services/cloudformation/resources/test_wafv2.py::TestWafV2Resources::test_stack_resources_are_deployed HTTP Status Code: 200 AWS validated Snapshot Tested
ListTagsForResource
Parameters: ResourceARN
- LocalStack Pro
- test_create_and_list_web_acl LocalStack Pro: tests/aws/services/wafv2/test_wafv2.py::TestWafV2::test_create_and_list_web_acl HTTP Status Code: 200 AWS validated Snapshot Tested
ListWebACLs
Parameters: Scope
- LocalStack Pro
- test_create_and_list_web_acl LocalStack Pro: tests/aws/services/wafv2/test_wafv2.py::TestWafV2::test_create_and_list_web_acl HTTP Status Code: 200 AWS validated Snapshot Tested
PutLoggingConfiguration
Parameters: LoggingConfiguration
- LocalStack Pro
- test_stack_resources_are_deployed LocalStack Pro: tests/aws/services/cloudformation/resources/test_wafv2.py::TestWafV2Resources::test_stack_resources_are_deployed HTTP Status Code: 200 AWS validated Snapshot Tested
TagResource
Parameters: ResourceARN, Tags
- LocalStack Pro
- test_create_and_list_web_acl LocalStack Pro: tests/aws/services/wafv2/test_wafv2.py::TestWafV2::test_create_and_list_web_acl HTTP Status Code: 200 AWS validated Snapshot Tested