Skip to content

Commit

Permalink
Update checkov/terraform/checks/data/aws/GithubActionsOIDCTrustPolicy.py
Browse files Browse the repository at this point in the history
Co-authored-by: Taylor <28880387+tsmithv11@users.noreply.github.com>
  • Loading branch information
aviadhahami and tsmithv11 authored Jan 20, 2025
1 parent 45500bb commit 2801cdf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def scan_data_conf(self, conf: Dict[str, List[Any]]) -> CheckResult:
for abusable_claim in gh_abusable_claims:
if split_claims[0].startswith(abusable_claim):
return CheckResult.FAILED
# # Fourth -> Check if the value is a repo:org/* -> this is a pass with a warning
# Fourth -> Check if the value is a repo:org/* -> this is a pass with a warning
if split_claims[0] == "repo" and not gh_repo_regex.match(split_claims[1]):
return CheckResult.FAILED
found_sub_condition_value = True
Expand Down

0 comments on commit 2801cdf

Please sign in to comment.