Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support backend access key #1404

Merged
merged 36 commits into from
Oct 22, 2023
Merged

Support backend access key #1404

merged 36 commits into from
Oct 22, 2023

Conversation

rcohencyberarmor
Copy link
Contributor

@rcohencyberarmor rcohencyberarmor commented Oct 1, 2023

In this PR we will add access key to each client request that want to submit the kubescape result to the backend.

  1. Helm - the access key will be provide from the Helm CLI with the an argument and will be saved in the k8s cluster as a secret, therefore in the PRs belows this is what we did.
  2. Kubescape CLI - the access key will be under the $HOME/.kubescape/config.json file. but in the first time the access token will be generated when the user will use the the flag submit by the backend and will be provided by specific backend REST API call (Not part of this PR)

rcohencyberarmor added 18 commits September 5, 2023 12:08
Signed-off-by: rcohencyberarmor <rcohen@armosec.io>
Signed-off-by: rcohencyberarmor <rcohen@armosec.io>
Signed-off-by: rcohencyberarmor <rcohen@armosec.io>
Signed-off-by: rcohencyberarmor <rcohen@armosec.io>
Signed-off-by: rcohencyberarmor <rcohen@armosec.io>
Signed-off-by: rcohencyberarmor <rcohen@armosec.io>
Signed-off-by: rcohencyberarmor <rcohen@armosec.io>
Signed-off-by: rcohencyberarmor <rcohen@armosec.io>
Signed-off-by: rcohencyberarmor <rcohen@armosec.io>
Signed-off-by: rcohencyberarmor <rcohen@armosec.io>
Signed-off-by: rcohencyberarmor <rcohen@armosec.io>
Signed-off-by: rcohencyberarmor <rcohen@armosec.io>
Signed-off-by: rcohencyberarmor <rcohen@armosec.io>
Signed-off-by: rcohencyberarmor <rcohen@armosec.io>
Signed-off-by: rcohencyberarmor <rcohen@armosec.io>
Signed-off-by: rcohencyberarmor <rcohen@armosec.io>
@ghost
Copy link

ghost commented Oct 1, 2023

👇 Click on the image for a new way to code review

Review these changes using an interactive CodeSee Map

Legend

CodeSee Map legend

@github-actions
Copy link

github-actions bot commented Oct 1, 2023

Scan results:

  • License scan: failure
  • Credentials scan: success
  • Vulnerabilities scan: failure

@craigbox
Copy link
Contributor

craigbox commented Oct 1, 2023

Can you add a brief description of the PR please?

Signed-off-by: rcohencyberarmor <rcohen@armosec.io>
@github-actions
Copy link

github-actions bot commented Oct 1, 2023

Scan results:

  • License scan: failure
  • Credentials scan: success
  • Vulnerabilities scan: failure

Signed-off-by: Amir Malka <amirm@armosec.io>
@github-actions
Copy link

github-actions bot commented Oct 3, 2023

Scan results:

  • License scan: failure
  • Credentials scan: success
  • Vulnerabilities scan: failure

…ckend-access-token

Signed-off-by: Amir Malka <amirm@armosec.io>
Signed-off-by: Amir Malka <amirm@armosec.io>
Signed-off-by: Amir Malka <amirm@armosec.io>
…ckend-access-token

Signed-off-by: Amir Malka <amirm@armosec.io>
Signed-off-by: Amir Malka <amirm@armosec.io>
Signed-off-by: Amir Malka <amirm@armosec.io>
Signed-off-by: Amir Malka <amirm@armosec.io>
@amirmalka amirmalka changed the title Support backend access token Support backend access key Oct 19, 2023
Signed-off-by: Amir Malka <amirm@armosec.io>
Signed-off-by: Amir Malka <amirm@armosec.io>
dwertent
dwertent previously approved these changes Oct 19, 2023
Signed-off-by: Amir Malka <amirm@armosec.io>
Signed-off-by: Amir Malka <amirm@armosec.io>
Signed-off-by: Amir Malka <amirm@armosec.io>
Signed-off-by: Amir Malka <amirm@armosec.io>
dwertent
dwertent previously approved these changes Oct 22, 2023
…ckend-access-token

Signed-off-by: Amir Malka <amirm@armosec.io>
@amirmalka amirmalka merged commit 052c042 into master Oct 22, 2023
10 of 11 checks passed
matthyx pushed a commit to matthyx/kubescape that referenced this pull request Oct 23, 2023
Support backend access key

Signed-off-by: Amir Malka <amirm@armosec.io>
@dwertent dwertent deleted the support-backend-access-token branch October 26, 2023 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants