π§ AWS EKS Cluster Logging is not enabled for all control plane logs types - prod.logic.yamlπ’
- Contextual name: π§ prod.logic.yamlπ’
- ID:
/ce/ca/aws/eks/cluster-logging/prod.logic.yaml - Tags:
- π’ Logic test success
- π’ Logic with extracts
- π’ Logic with test data
Usesβ
- π AWS EKS Cluster
- π AWS EKS Cluster - object.extracts.yaml
- π§ͺ test-data.json
Test Results π’β
Generated at: 2026-02-10T22:32:50.781327825Z Open
| Result | Id | Condition Index | Condition Text | Runtime Error |
|---|---|---|---|---|
| π’ | test1 | βοΈ 99 | βοΈ isDisappeared(CA10A1__disappearanceTime__c) | βοΈ null |
| π’ | test2 | βοΈ 199 | βοΈ extract('caSetFrom_logging__c').contains('api: Disabled') | βοΈ null |
| π’ | test3 | βοΈ 299 | βοΈ extract('caSetFrom_logging__c').contains('audit: Disabled') | βοΈ null |
| π’ | test4 | βοΈ 399 | βοΈ extract('caSetFrom_logging__c').contains('authenticator: Disabled') | βοΈ null |
| π’ | test5 | βοΈ 499 | βοΈ extract('caSetFrom_logging__c').contains('controllerManager: Disabled') | βοΈ null |
| π’ | test6 | βοΈ 599 | βοΈ extract('caSetFrom_logging__c').contains('scheduler: Disabled') | βοΈ null |
| π’ | test7 | βοΈ 600 | βοΈ otherwise | βοΈ null |
Generation Bundleβ
| File | MD5 | |
|---|---|---|
| Open | /ce/ca/aws/eks/cluster-logging/policy.yaml | 4FC2B7A8EC8252FFEB65335B69028EEC |
| Open | /ce/ca/aws/eks/cluster-logging/prod.logic.yaml | 19B33F88B2C6EDF6710D460AA6CDD4D0 |
| Open | /ce/ca/aws/eks/cluster-logging/test-data.json | 05CF73D0216996E3643DA58E71C06213 |
| Open | /types/CA10A1__CaAwsEksCluster__c/object.extracts.yaml | 40E423BD15F099D7D2B8AE19BF4D325E |
Available Commandsβ
repo-manager policies generate FULL /ce/ca/aws/eks/cluster-logging/prod.logic.yaml
repo-manager policies generate DEBUG /ce/ca/aws/eks/cluster-logging/prod.logic.yaml
repo-manager policies generate CAPTURE_TEST_DATA /ce/ca/aws/eks/cluster-logging/prod.logic.yaml
repo-manager policies generate TESTS /ce/ca/aws/eks/cluster-logging/prod.logic.yaml
# Execute tests
repo-manager policies test /ce/ca/aws/eks/cluster-logging/prod.logic.yaml
Contentβ
inputType: "CA10A1__CaAwsEksCluster__c"
importExtracts:
- file: "/types/CA10A1__CaAwsEksCluster__c/object.extracts.yaml"
testData:
- file: "test-data.json"
conditions:
- status: "INCOMPLIANT"
currentStateMessage: "EKS cluster control plane logging is not configured for API server logs."
remediationMessage: "Enable API server logs in EKS control plane logging."
check:
CONTAINS:
arg:
EXTRACT: "caSetFrom_logging__c"
search:
TEXT: "api: Disabled"
- status: "INCOMPLIANT"
currentStateMessage: "EKS cluster control plane logging is not configured for audit logs."
remediationMessage: "Enable audit logs in EKS control plane logging."
check:
CONTAINS:
arg:
EXTRACT: "caSetFrom_logging__c"
search:
TEXT: "audit: Disabled"
- status: "INCOMPLIANT"
currentStateMessage: "EKS cluster control plane logging is not configured for authenticator logs."
remediationMessage: "Enable authenticator logs in EKS control plane logging."
check:
CONTAINS:
arg:
EXTRACT: "caSetFrom_logging__c"
search:
TEXT: "authenticator: Disabled"
- status: "INCOMPLIANT"
currentStateMessage: "EKS cluster control plane logging is not configured for controller manager logs."
remediationMessage: "Enable controller manager logs in EKS control plane logging."
check:
CONTAINS:
arg:
EXTRACT: "caSetFrom_logging__c"
search:
TEXT: "controllerManager: Disabled"
- status: "INCOMPLIANT"
currentStateMessage: "EKS cluster control plane logging is not configured for scheduler logs."
remediationMessage: "Enable scheduler logs in EKS control plane logging."
check:
CONTAINS:
arg:
EXTRACT: "caSetFrom_logging__c"
search:
TEXT: "scheduler: Disabled"
otherwise:
status: "COMPLIANT"
currentStateMessage: "EKS cluster logging is configured for all control plane log types."