Skip to content

Commit

Permalink
fix rule naming convention
Browse files Browse the repository at this point in the history
Signed-off-by: Meital Rudnitsky <[email protected]>
  • Loading branch information
itsmeital committed Oct 8, 2023
1 parent e9320a3 commit 8b28919
Show file tree
Hide file tree
Showing 12 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ControlID_RuleName.csv
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ C-0073,naked-pods
C-0074,containers-mounting-docker-socket
C-0075,image-pull-policy-is-not-set-to-always
C-0076,label-usage-for-resources
C-0077,K8s common labels usage
C-0077,k8s-common-labels-usage
C-0078,container-image-repository
C-0079,CVE-2022-0185
C-0081,CVE-2022-24348
Expand Down
2 changes: 1 addition & 1 deletion controls/C-0077-k8scommonlabelsusage.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"description": "Kubernetes common labels help manage and monitor Kubernetes cluster using different tools such as kubectl, dashboard and others in an interoperable way. Refer to https://kubernetes.io/docs/concepts/overview/working-with-objects/common-labels/ for more information. This control helps you find objects that don't have any of these labels defined.",
"remediation": "Define applicable labels or use the exception mechanism to prevent further notifications.",
"rulesNames": [
"K8s common labels usage"
"k8s-common-labels-usage"
],
"long_description": "Kubernetes common labels help manage and monitor Kubernetes cluster using different tools such as kubectl, dashboard and others in an interoperable way. Refer to https://kubernetes.io/docs/concepts/overview/working-with-objects/common-labels/ for more information. This control helps you find objects that don't have any of these labels defined.",
"test": "Test will check if the list of label that start with app.kubernetes.io/ are defined.",
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "K8s common labels usage",
"name": "k8s-common-labels-usage",
"attributes": {
"armoBuiltin": true
},
Expand Down

0 comments on commit 8b28919

Please sign in to comment.