AWS WAF ClassicAWS WAF v2Old PlanNew PlanAdvancedLegacyFeature / Spec.
Credentials and WAF Configs are validated, and the results are shown on their details page. This article will explain each error and how to check them.
Validation results are available under [State] for Credentials.
Message | Description |
---|---|
Unknown | Displayed when validation has not yet been performed. |
Validated | Displayed when validation is successful. |
Invalid Credential | Displayed when the credential information is invalid. |
Undefined Error | Displayed when an unexpected error occurs. |
For the Legacy rule policy, the validation results are available on items below in the WAF Configs.
Message | Description |
---|---|
Unknown | Displayed when validation has not yet been performed. |
Validated | Displayed when validation is successful. |
Invalid Credential | Displayed when the credential information is invalid. |
Insufficient permissions | Displayed when required permissions are missing. |
Web ACL not found | Displayed when the web ACL cannot be found or does not exist. |
Undefined Error | Displayed when an unexpected error occurs that does not fall into the categories above. |
Message | Description |
---|---|
Unknown | Displayed when validation has not yet been completed. |
Validated | Displayed when validation is successful. |
Invalid Credential | Displayed when the credential is invalid. |
Insufficient permissions | Displayed when the required permissions are missing. |
S3 bucket not found | Displayed when the specified S3 bucket cannot be found. |
Access log not found | Displayed when the access logs cannot be found. |
Undefined Error | Displayed when an unexpected error occurs that doesn’t match other categories. |
For the Advanced rule policy, the status of the WAF Config is shown under the [Status] field in [Basic configuration] tab of the WAF Config details.
Message | Description |
---|---|
Unknown | Displayed when validation has not yet been performed. |
Success | Displayed when validation is successful. |
Error: Invalid Credential | Displayed when the credential information is invalid. |
Error: Insufficient permissions | Displayed when the required permissions are missing. |
Error: Web ACL not found | Displayed when the specified web ACL cannot be found. |
Error: Log config not found | Displayed when WAF log retrieval settings cannot be located. |
Error: Undefined error | Displayed when an unexpected error occurs that doesn’t fall into any of the categories above. |
Error: Apply failed | Displayed when rule application fails. This message will not appear if any of the above errors are also present. |
Below are the examples of each error. These are just some examples, and errors could be caused by other reasons. If you see an error, please check your configurations.
To revalidate your resources after solving the causes, please implement the following measures.
This message indicates that the credential information registered in the Credential Store is invalid.
The error may appear if the registered values are incorrect or if the credentials were deleted from the AWS Management Console.
Please verify that the information registered in the Credential Store matches the credentials currently set in the AWS Management Console.
This message indicates that the IAM role or user associated with the credential does not have all the required AWS-managed permissions.
To use WafCharm, the following permissions must be granted:
For the AmazonS3ReadOnlyAccess
permission, we recommend limiting access from WafCharm to only the necessary S3 buckets.
Please attach AWSWAFFullAccess
to avoid permission issues that may arise due to feature updates or changes in AWS WAF. If you are concerned about granting full access, consider using the AssumeRole method, which offers a more secure way to manage permissions.
Additionally, please ensure that Resource
is set to *
in the AWS WAF-related policy.
This message indicates that the target resource cannot be found. For example, this error may appear if the web ACL was deleted before the associated WAF Config was deleted.
This message shows that the target resources cannot be found.
Please check the values specified in the S3 Path fields and if the S3 bucket exists in your AWS management console.
This message shows that the target resources cannot be found.
Please check the values specified in the S3 Path fields and if access logs are outputted to the target S3 bucket.
This message indicates that the required resource could not be found. For example, this error may occur if WAF logging is not configured in the AWS WAF logging settings.
This message indicates that the application of rules provided by WafCharm has failed. For example, this may occur if a priority intended to be used by WafCharm is already assigned to a different rule.
This message indicates that none of the above errors apply, or that an unexpected system error has occurred, such as when WAF logs are not being directly output to an S3 bucket.
You may be able to resolve the issue by clicking the [Validate], [Reapply], or [Change Rule Priority] button to trigger revalidation. If the issue persists after multiple attempts, please contact our support team with the information listed below so we can investigate further.