Open
Description
FYI I'm getting the following error:
Evaluating github_action_mirror_repos_role , arn:aws:iam::xxxx:role/github_action_mirror_repos_role
Traceback (most recent call last):
File "workspace/github-oidc-checker/aws-oidc-tester.py", line 96, in <module>
if "StringLike" in condition and "token.actions.githubusercontent.com:sub" in condition["StringLike"] and check_vuln_sub_pattern(condition["StringLike"]["token.actions.githubusercontent.com:sub"]):
File "workspace/github-oidc-checker/aws-oidc-tester.py", line 9, in check_vuln_sub_pattern
if pattern.index("*") > 0 and pattern.index("*") < pattern.index("/"):
ValueError: substring not found
Metadata
Assignees
Labels
No labels
Activity