Skip to content

Commit

Permalink
Merge pull request #370 from YiscahLevySilas1/subsections
Browse files Browse the repository at this point in the history
Update docs - prerequisites section for integration
  • Loading branch information
YiscahLevySilas1 committed Apr 20, 2023
2 parents b136eb8 + 465af42 commit 1a83ff2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions scripts/upload-readme.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,11 +182,10 @@ def create_md_for_control(control):
cloud_control = len(rule_obj['relevantCloudProviders']) > 0

md_text = ''
md_text += '# %s\n' % control['name']
if host_sensor:
md_text += '*Note: to enable this control run Kubescape with host sensor (see [here](https://hub.armo.cloud/docs/host-sensor))*\n'
md_text += '## Prerequisites\n*Run Kubescape with host sensor (see [here](https://hub.armo.cloud/docs/host-sensor))*\n'
if cloud_control:
md_text += '*Note: this control relevant for cloud managed Kubernetes cluster*\n'
md_text += '## Prerequisites*Integrate with cloud provider (see [here](https://hub.armosec.io/docs/kubescape-integration-with-cloud-providers))*\n'
md_text += '## Framework\n'
md_text += ', '.join(get_frameworks_for_control(control)) + '\n'
md_text += '## Severity\n'
Expand Down

0 comments on commit 1a83ff2

Please sign in to comment.