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

Update compliance-scan.md #3841

Merged
merged 11 commits into from
Sep 20, 2024
Merged

Update compliance-scan.md #3841

merged 11 commits into from
Sep 20, 2024

Conversation

vadimzharov
Copy link
Contributor

Describe the Change

This PR is to add to the documentation commands users can use to get scan reports from K8S cluster.

Changed Pages

[💻 Add Preview URL for Page
](https://docs.spectrocloud.com/clusters/cluster-management/compliance-scan/)

Jira Tickets

🎫 Jira Ticket

Backports

Can this PR be backported?

  • Yes. Remember to add the relevant backport labels to your PR.
  • No. Please leave a short comment below about why this PR cannot be backported.

Copy link

netlify bot commented Sep 9, 2024

Deploy Preview for docs-spectrocloud ready!

Name Link
🔨 Latest commit 4edefbb
🔍 Latest deploy log https://app.netlify.com/sites/docs-spectrocloud/deploys/66edd138e54d15000809038e
😎 Deploy Preview https://deploy-preview-3841--docs-spectrocloud.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

## Scan reports

All scan reports are available for users in Palette UI, where users can download reports as CSV or PDF file. In
addition, Palette agent stores reports on the Kubernetes cluster, where users can list all available reports, see the
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [vale] reported by reviewdog 🐶
[spectrocloud-docs-internal.ableism] Avoid using ableism terms. Use 'display' instead of 'see'.

All scan reports are available for users in Palette UI, where users can download reports as CSV or PDF file. In
addition, Palette agent stores reports on the Kubernetes cluster, where users can list all available reports, see the
status per each report and get the report as Kubernetes resource. To retrieve the list of all available reports, use
Admin Kubeconfig file downloaded from Palette UI and execute command:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [vale] reported by reviewdog 🐶
[Vale.Terms] Use 'admin' instead of 'Admin'.

All scan reports are available for users in Palette UI, where users can download reports as CSV or PDF file. In
addition, Palette agent stores reports on the Kubernetes cluster, where users can list all available reports, see the
status per each report and get the report as Kubernetes resource. To retrieve the list of all available reports, use
Admin Kubeconfig file downloaded from Palette UI and execute command:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [vale] reported by reviewdog 🐶
[Vale.Terms] Use 'kubeconfig' instead of 'Kubeconfig'.

All scan reports are available for users in Palette UI, where users can download reports as CSV or PDF file. In
addition, Palette agent stores reports on the Kubernetes cluster, where users can list all available reports, see the
status per each report and get the report as Kubernetes resource. To retrieve the list of all available reports, use
Admin Kubeconfig file downloaded from Palette UI and execute command:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [vale] reported by reviewdog 🐶
[spectrocloud-docs-internal.colon] Use colons only to introduce lists, unless in code blocks or inline code.

```

The output of this command provides the list of all reports executed on this Kubernetes cluster with the status for each
report:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [vale] reported by reviewdog 🐶
[spectrocloud-docs-internal.colon] Use colons only to introduce lists, unless in code blocks or inline code.

cluster-66d8a761ed405e70b86a8a17 syft-66df6d437cda16db7074cefe-czfxq 21m Complete
```

To see details for the particular report, execute command
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [vale] reported by reviewdog 🐶
[spectrocloud-docs-internal.ableism] Avoid using ableism terms. Use 'display' instead of 'see'.

```

To see details for the particular report, execute command
`kubectl get audits.cluster.spectrocloud.com -n cluster-<cluster-uuid> <name of the report> -o yaml`, for example:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [vale] reported by reviewdog 🐶
[spectrocloud-docs-internal.longform] Avoid using the short form of commands. Replace the short form flag in 'com -n' with the corresponding long form flag.

```

To see details for the particular report, execute command
`kubectl get audits.cluster.spectrocloud.com -n cluster-<cluster-uuid> <name of the report> -o yaml`, for example:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [vale] reported by reviewdog 🐶
[spectrocloud-docs-internal.colon] Use colons only to introduce lists, unless in code blocks or inline code.


## Scan reports

All scan reports are available for users in the Palette UI, where users can download reports as CSV or PDF file. In addition, Palette agent stores reports on the Kubernetes cluster, where users can list all available reports, see the status per each report and get the report as Kubernetes resource. To retrieve the list of all available reports, use admin kubeconfig file downloaded from the Palette UI and execute command:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [vale] reported by reviewdog 🐶
[spectrocloud-docs-internal.ableism] Avoid using ableism terms. Use 'display' instead of 'see'.


## Scan reports

All scan reports are available for users in the Palette UI, where users can download reports as CSV or PDF file. In addition, Palette agent stores reports on the Kubernetes cluster, where users can list all available reports, see the status per each report and get the report as Kubernetes resource. To retrieve the list of all available reports, use admin kubeconfig file downloaded from the Palette UI and execute command:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [vale] reported by reviewdog 🐶
[spectrocloud-docs-internal.colon] Use colons only to introduce lists, unless in code blocks or inline code.

kubectl get audits.cluster.spectrocloud.com -A
```

The output of this command provides the list of all reports executed on this Kubernetes cluster with the status for each report:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [vale] reported by reviewdog 🐶
[spectrocloud-docs-internal.colon] Use colons only to introduce lists, unless in code blocks or inline code.

cluster-66d8a761ed405e70b86a8a17 syft-66df6d437cda16db7074cefe-czfxq 21m Complete
```

To check details for the particular report, including report content, execute command:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [vale] reported by reviewdog 🐶
[spectrocloud-docs-internal.colon] Use colons only to introduce lists, unless in code blocks or inline code.

To check details for the particular report, including report content, execute command:

```
kubectl get audits.cluster.spectrocloud.com -n cluster-<cluster-uuid> <name of the report> -o yaml```
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [vale] reported by reviewdog 🐶
[spectrocloud-docs-internal.longform] Avoid using the short form of commands. Replace the short form flag in 'com -n' with the corresponding long form flag.

```
kubectl get audits.cluster.spectrocloud.com -n cluster-<cluster-uuid> <name of the report> -o yaml```

For example:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [vale] reported by reviewdog 🐶
[spectrocloud-docs-internal.colon] Use colons only to introduce lists, unless in code blocks or inline code.

For example:

```
# kubectl get audits.cluster.spectrocloud.com -n cluster-66d8a761ed405e70b86a8a17 kube-bench-66df28ab3c13fb7876674c98-xscvq -o yaml
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [vale] reported by reviewdog 🐶
[Google.Units] Put a nonbreaking space between the number and the unit in '66d'.

For example:

```
# kubectl get audits.cluster.spectrocloud.com -n cluster-66d8a761ed405e70b86a8a17 kube-bench-66df28ab3c13fb7876674c98-xscvq -o yaml
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [vale] reported by reviewdog 🐶
[Google.Units] Put a nonbreaking space between the number and the unit in '66d'.

For example:

```
# kubectl get audits.cluster.spectrocloud.com -n cluster-66d8a761ed405e70b86a8a17 kube-bench-66df28ab3c13fb7876674c98-xscvq -o yaml
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [vale] reported by reviewdog 🐶
[Vale.Spelling] Did you really mean 'yaml'?

All scan reports are available for users in the Palette UI, where users can download reports as CSV or PDF file. In
addition, Palette agent stores reports on the Kubernetes cluster, where users can list all available reports, see the
status per each report and get the report as Kubernetes resource. To retrieve the list of all available reports, use
admin kubeconfig file downloaded from the Palette UI and execute command:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [vale] reported by reviewdog 🐶
[spectrocloud-docs-internal.colon] Use colons only to introduce lists, unless in code blocks or inline code.

Copy link
Contributor

@karl-cardenas-coding karl-cardenas-coding left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR @vadimzharov

@karl-cardenas-coding karl-cardenas-coding added backport-version-4-0 Backport change to version 4.0 auto-backport Enable backport backport-version-4-1 Backport change to version 4.1 backport-version-4-2 Backport change to version 4.2 backport-version-4-3 Backport change to version 4.3 backport-version-4-4 Backport change to version 4.4 labels Sep 20, 2024
@karl-cardenas-coding karl-cardenas-coding merged commit 9253440 into master Sep 20, 2024
15 checks passed
@karl-cardenas-coding karl-cardenas-coding deleted the scan-reports-kubectl branch September 20, 2024 22:04
vault-token-factory-spectrocloud bot pushed a commit that referenced this pull request Sep 20, 2024
* Update compliance-scan.md

* ci: auto-formatting prettier issues

* text updated

* ci: auto-formatting prettier issues

* docs: minor fixes to match voice and style in docs

* docs: vale fix

* Update docs/docs-content/clusters/cluster-management/compliance-scan.md

---------

Co-authored-by: vadimzharov <[email protected]>
Co-authored-by: Karl Cardenas <[email protected]>
Co-authored-by: Karl Cardenas <[email protected]>
(cherry picked from commit 9253440)
vault-token-factory-spectrocloud bot pushed a commit that referenced this pull request Sep 20, 2024
* Update compliance-scan.md

* ci: auto-formatting prettier issues

* text updated

* ci: auto-formatting prettier issues

* docs: minor fixes to match voice and style in docs

* docs: vale fix

* Update docs/docs-content/clusters/cluster-management/compliance-scan.md

---------

Co-authored-by: vadimzharov <[email protected]>
Co-authored-by: Karl Cardenas <[email protected]>
Co-authored-by: Karl Cardenas <[email protected]>
(cherry picked from commit 9253440)
vault-token-factory-spectrocloud bot pushed a commit that referenced this pull request Sep 20, 2024
* Update compliance-scan.md

* ci: auto-formatting prettier issues

* text updated

* ci: auto-formatting prettier issues

* docs: minor fixes to match voice and style in docs

* docs: vale fix

* Update docs/docs-content/clusters/cluster-management/compliance-scan.md

---------

Co-authored-by: vadimzharov <[email protected]>
Co-authored-by: Karl Cardenas <[email protected]>
Co-authored-by: Karl Cardenas <[email protected]>
(cherry picked from commit 9253440)
vault-token-factory-spectrocloud bot pushed a commit that referenced this pull request Sep 20, 2024
* Update compliance-scan.md

* ci: auto-formatting prettier issues

* text updated

* ci: auto-formatting prettier issues

* docs: minor fixes to match voice and style in docs

* docs: vale fix

* Update docs/docs-content/clusters/cluster-management/compliance-scan.md

---------

Co-authored-by: vadimzharov <[email protected]>
Co-authored-by: Karl Cardenas <[email protected]>
Co-authored-by: Karl Cardenas <[email protected]>
(cherry picked from commit 9253440)
vault-token-factory-spectrocloud bot pushed a commit that referenced this pull request Sep 20, 2024
* Update compliance-scan.md

* ci: auto-formatting prettier issues

* text updated

* ci: auto-formatting prettier issues

* docs: minor fixes to match voice and style in docs

* docs: vale fix

* Update docs/docs-content/clusters/cluster-management/compliance-scan.md

---------

Co-authored-by: vadimzharov <[email protected]>
Co-authored-by: Karl Cardenas <[email protected]>
Co-authored-by: Karl Cardenas <[email protected]>
(cherry picked from commit 9253440)
@vault-token-factory-spectrocloud
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
version-4-0
version-4-1
version-4-2
version-4-3
version-4-4

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation and see the Github Action logs for details

vault-token-factory-spectrocloud bot added a commit that referenced this pull request Sep 20, 2024
* docs: update compliance-scan.md (#3841)

* Update compliance-scan.md

* ci: auto-formatting prettier issues

* text updated

* ci: auto-formatting prettier issues

* docs: minor fixes to match voice and style in docs

* docs: vale fix

* Update docs/docs-content/clusters/cluster-management/compliance-scan.md

---------

Co-authored-by: vadimzharov <[email protected]>
Co-authored-by: Karl Cardenas <[email protected]>
Co-authored-by: Karl Cardenas <[email protected]>
(cherry picked from commit 9253440)

* chore: fix gitleaks

---------

Co-authored-by: Vadim Zharov <[email protected]>
Co-authored-by: Karl Cardenas <[email protected]>
vault-token-factory-spectrocloud bot added a commit that referenced this pull request Sep 20, 2024
* docs: update compliance-scan.md (#3841)

* Update compliance-scan.md

* ci: auto-formatting prettier issues

* text updated

* ci: auto-formatting prettier issues

* docs: minor fixes to match voice and style in docs

* docs: vale fix

* Update docs/docs-content/clusters/cluster-management/compliance-scan.md

---------

Co-authored-by: vadimzharov <[email protected]>
Co-authored-by: Karl Cardenas <[email protected]>
Co-authored-by: Karl Cardenas <[email protected]>
(cherry picked from commit 9253440)

* chore: fix gitleaks

---------

Co-authored-by: Vadim Zharov <[email protected]>
Co-authored-by: Karl Cardenas <[email protected]>
vault-token-factory-spectrocloud bot added a commit that referenced this pull request Sep 20, 2024
* docs: update compliance-scan.md (#3841)

* Update compliance-scan.md

* ci: auto-formatting prettier issues

* text updated

* ci: auto-formatting prettier issues

* docs: minor fixes to match voice and style in docs

* docs: vale fix

* Update docs/docs-content/clusters/cluster-management/compliance-scan.md

---------

Co-authored-by: vadimzharov <[email protected]>
Co-authored-by: Karl Cardenas <[email protected]>
Co-authored-by: Karl Cardenas <[email protected]>
(cherry picked from commit 9253440)

* chore: fix gitleaks

---------

Co-authored-by: Vadim Zharov <[email protected]>
Co-authored-by: Karl Cardenas <[email protected]>
vault-token-factory-spectrocloud bot added a commit that referenced this pull request Sep 20, 2024
* docs: update compliance-scan.md (#3841)

* Update compliance-scan.md

* ci: auto-formatting prettier issues

* text updated

* ci: auto-formatting prettier issues

* docs: minor fixes to match voice and style in docs

* docs: vale fix

* Update docs/docs-content/clusters/cluster-management/compliance-scan.md

---------

Co-authored-by: vadimzharov <[email protected]>
Co-authored-by: Karl Cardenas <[email protected]>
Co-authored-by: Karl Cardenas <[email protected]>
(cherry picked from commit 9253440)

* chore: fixed gitleaks

---------

Co-authored-by: Vadim Zharov <[email protected]>
Co-authored-by: Karl Cardenas <[email protected]>
vault-token-factory-spectrocloud bot added a commit that referenced this pull request Sep 20, 2024
* docs: update compliance-scan.md (#3841)

* Update compliance-scan.md

* ci: auto-formatting prettier issues

* text updated

* ci: auto-formatting prettier issues

* docs: minor fixes to match voice and style in docs

* docs: vale fix

* Update docs/docs-content/clusters/cluster-management/compliance-scan.md

---------

Co-authored-by: vadimzharov <[email protected]>
Co-authored-by: Karl Cardenas <[email protected]>
Co-authored-by: Karl Cardenas <[email protected]>
(cherry picked from commit 9253440)

* chore: fixed gitleaks

---------

Co-authored-by: Vadim Zharov <[email protected]>
Co-authored-by: Karl Cardenas <[email protected]>
@vault-token-factory-spectrocloud
Copy link
Contributor

🎉 This issue has been resolved in version 4.5.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Enable backport backport-version-4-0 Backport change to version 4.0 backport-version-4-1 Backport change to version 4.1 backport-version-4-2 Backport change to version 4.2 backport-version-4-3 Backport change to version 4.3 backport-version-4-4 Backport change to version 4.4 released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants