How to scan a remote GitHub repository directly ? #5916
-
Hi Team, After installing kics using docker option locally, how do we scan a remote repo using cli variant! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hello @subhamku2020, You need to use the prefix KICS provides other amazing ways of scanning, such as Terraformer (example: It also provides Kuberneter (example: If you have interest, take a look at the documentation of Terraformer and Kuberneter. You can also find other types of paths for the scan here. Let me know if it helps you, please 😊 |
Beta Was this translation helpful? Give feedback.
Hello @subhamku2020,
You need to use the prefix
git::
. For example:docker run checkmarx/kics scan -p git::https://github.com/Checkmarx/kics
.KICS provides other amazing ways of scanning, such as Terraformer (example:
docker run -e AWS_SECRET_ACCESS_KEY -e AWS_ACCESS_KEY_ID -e AWS_SESSION_TOKEN checkmarx/kics:latest scan -p "terraformer::aws:vpc:eu-west-2" -v --no-progress
) that scans resources deployed in the Cloud.It also provides Kuberneter (example:
docker run -v <credentials_path>:/credentials -v ${PWD}:/path/ -e K8S_CONFIG_FILE=/credentials/<config-file-name> checkmarx/kics:latest scan -p "kuberneter::*:*:*" -v --no-progress -o /path/results
) that scans resources deployed in the ru…