Skip to content

Commit

Permalink
platform(sca): remove src from repo path (#3884)
Browse files Browse the repository at this point in the history
dont add src
  • Loading branch information
ayajbara authored Nov 15, 2022
1 parent 009a55d commit 9925fca
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions checkov/common/bridgecrew/platform_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,7 @@ def setup_bridgecrew_credentials(
self.skip_fixes = True # no need to run fixes on CI integration
repo_full_path, response = self.get_s3_role(repo_id)
self.bucket, self.repo_path = repo_full_path.split("/", 1)
self.timestamp = self.repo_path.split("/")[-1]
self.repo_path = path.join(self.repo_path, "src")
self.timestamp = self.repo_path.split("/")[-2]
self.credentials = cast("dict[str, str]", response["creds"])
config = Config(
s3={
Expand Down

0 comments on commit 9925fca

Please sign in to comment.