Skip to content

Commit f2ee9a6

Browse files
authored
Fix various naming inconsistencies (#74)
* Rename M-400_image_tag_latest.yaml to M-400_image_tagged_latest.yaml Inconsistent filename * Resolve various inconsistent names * missing rename
1 parent 4b8de5b commit f2ee9a6

21 files changed

+6
-6
lines changed

internal/builtins/general/M-409_deprecated_image_registry.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414

1515
id: M-409
16-
slug: depŕecated-image-registry
16+
slug: deprecated-image-registry
1717
severity: Medium
1818
message: "Deprecated image registry"
1919
match:

internal/builtins/mitre/M-200_allowed_registries.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414

1515
id: M-200
16-
slug: image-registry
16+
slug: allowed-registries
1717
severity: Medium
1818
message: "Image registry not allowed"
1919
match:

internal/builtins/mitre/M-202_auto_mount_service_account.yml renamed to internal/builtins/mitre/M-202_auto_mount_service_account_token.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414

1515
id: M-202
16-
slug: auto-mount-sa-token
16+
slug: auto-mount-service-account-token
1717
severity: Low
1818
message: "Automounted service account token"
1919
match:

internal/builtins/nsa/M-300_read_only_root_filesystem.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414

1515
id: M-300
16-
slug: read-only-root-fs
16+
slug: read-only-root-filesystem
1717
severity: Low
1818
message: "Root filesystem write allowed"
1919
match:

internal/builtins/pss/baseline/M-103_capabilities.yml renamed to internal/builtins/pss/baseline/M-103_capabilities_baseline.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/pod-security-admission/policy/check_capabilities_baseline.go
1717
# https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/pod-security-admission/policy/check_capabilities_baseline_test.go
1818
id: M-103
19-
slug: capabilities-added
19+
slug: capabilities-baseline
2020
severity: High
2121
message: "Insecure capabilities"
2222
match:

internal/builtins/pss/restricted/M-116_capabilities.yml renamed to internal/builtins/pss/restricted/M-116_capabilities_restricted.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/pod-security-admission/policy/check_capabilities_restricted.go
1717
# https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/pod-security-admission/policy/check_capabilities_restricted_test.go
1818
id: M-116
19-
slug: capabilities
19+
slug: capabilities-restricted
2020
severity: Low
2121
message: "Not allowed added/dropped capabilities"
2222
match:

0 commit comments

Comments
 (0)