Skip to main content

🧠 AWS EKS Cluster Logging is not enabled for all control plane logs types - prod.logic.yaml🟒

Uses​

Test Results πŸŸ’β€‹

Generated at: 2026-02-10T22:32:50.781327825Z Open

ResultIdCondition IndexCondition TextRuntime 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​

FileMD5
Open/ce/ca/aws/eks/cluster-logging/policy.yaml4FC2B7A8EC8252FFEB65335B69028EEC
Open/ce/ca/aws/eks/cluster-logging/prod.logic.yaml19B33F88B2C6EDF6710D460AA6CDD4D0
Open/ce/ca/aws/eks/cluster-logging/test-data.json05CF73D0216996E3643DA58E71C06213
Open/types/CA10A1__CaAwsEksCluster__c/object.extracts.yaml40E423BD15F099D7D2B8AE19BF4D325E

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​

Open File

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."