Files
kubescape/core/pkg/registryadaptors/README.md
David Wertenteil f4572f6f53 adding UTMs
2022-08-01 13:47:01 +03:00

1.0 KiB

Integrate With Vulnerability Server

There are some controls that check the relation between the kubernetes manifest and vulnerabilities. For these controls to work properly, it is necessary to

Supported Servers

  • Armosec

Integrate With Armosec Server

  1. Navigate to the armosec.io
  2. Click Profile(top right icon)->"User Management"->"API Tokens" and Generate a token
  3. Copy the clientID and secretKey and run:
kubescape config set clientID <>
kubescape config set secretKey <>
  1. Confirm the keys are set
kubescape config view

Expecting:

{
  "accountID": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
  "clientID": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
  "secretKey": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
}

If you are missing the accountID field, set it by running kubescape config set accountID <>

For CICD, set environments variables as following:

KS_ACCOUNT_ID  // account id
KS_CLIENT_ID   // client id
KS_SECRET_KEY  // access key