Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unknown data format: ArrayOfARN #237

Open
stephenson-andrew opened this issue Nov 20, 2023 · 0 comments · May be fixed by #238
Open

Unknown data format: ArrayOfARN #237

stephenson-andrew opened this issue Nov 20, 2023 · 0 comments · May be fixed by #238

Comments

@stephenson-andrew
Copy link

stephenson-andrew commented Nov 20, 2023

When attempting to validate a policy with the below statement

{
            "Sid": "DenyCrossAccountBackupOutOfNonprod",
            "Effect": "Deny",
                "Action": "backup:CopyFromBackupVault",
                "Resource":"*",
                "Condition":{
                  "ArnNotLike":{
                    "backup:CopyTargets": [
                        "arn:aws:backup:eu-west-1:*:backup-vault/*"
                  ]
                }
            }
        }

An exception is raised as ArrayOfARN is not present in the translate_documentation_types function but is present in the iam_definition.json for a number of Condition type (including backupCopyTargets )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant