Skip to content

Commit

Permalink
adjust docs
Browse files Browse the repository at this point in the history
  • Loading branch information
gruebel committed Oct 24, 2023
1 parent e47115b commit 6ef719f
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 8 deletions.
15 changes: 8 additions & 7 deletions checkov/common/bridgecrew/platform_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,13 +172,14 @@ def is_token_valid(token: str) -> bool:
parts_len = len(parts)
if parts_len == 1:
valid = BcPlatformIntegration.is_bc_token(token)
if valid:
print(
"We're glad you're using Checkov with Bridgecrew!\n"
"Bridgecrew has been fully integrated into Prisma Cloud with a powerful code to cloud experience.\n"
"As a part of the transition, we will be shutting down Bridgecrew standalone edition at the end of 2023 (https://www.paloaltonetworks.com/services/support/end-of-life-announcements).\n"
"Please upgrade to Prisma Cloud Enterprise Edition before the end of the year.\n"
)
# TODO: add it back at a later time
# if valid:
# print(
# "We're glad you're using Checkov with Bridgecrew!\n"
# "Bridgecrew has been fully integrated into Prisma Cloud with a powerful code to cloud experience.\n"
# "As a part of the transition, we will be shutting down Bridgecrew standalone edition at the end of 2023 (https://www.paloaltonetworks.com/services/support/end-of-life-announcements).\n"
# "Please upgrade to Prisma Cloud Enterprise Edition before the end of the year.\n"
# )

return valid
elif parts_len == 2:
Expand Down
19 changes: 18 additions & 1 deletion docs/1.Welcome/Migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ nav_order: 5
# Migration - v2 to v3

With v3 not only new features were added, but following behaviour changed or was completely removed.
We plan to release the new version end of October 2023.

## Remove of "level up"

Expand Down Expand Up @@ -55,3 +54,21 @@ class Example(BaseResourceCheck):

...
```

## Repo ID requirement

For anyone using `checkov` with an API key will now require to set the repo ID via flag.

```shell
checkov -d. --bc-api-key xyz --repo-id example/example
```

## Deprecated flag removal

Following flags were deprecated a while ago and are now completely removed

- `--no-guide`
- `--skip-suppressions`
- `--skip-policy-download`

They were combined and replaced by the `--skip-download` flag.

0 comments on commit 6ef719f

Please sign in to comment.