π§ AWS Lambda Function X-Ray Tracing is not enabled - prod.logic.yamlπ’
- Contextual name: π§ prod.logic.yamlπ’
- ID:
/ce/ca/aws/lambda/function-tracing/prod.logic.yaml - Tags:
- π’ Logic test success
- π’ Logic with extracts
- π’ Logic with test data
Usesβ
Test Results π’β
Generated at: 2026-01-31T12:02:06.297364046Z Open
| Result | Id | Condition Index | Condition Text | Runtime Error |
|---|---|---|---|---|
| π’ | 001 | βοΈ 99 | βοΈ isDisappeared(CA10__disappearanceTime__c) | βοΈ null |
| π’ | 002 | βοΈ 199 | βοΈ extract('CA10__tracingConfigResponseMode__c') == 'PassThrough' | βοΈ null |
| π’ | 003 | βοΈ 299 | βοΈ extract('CA10__tracingConfigResponseMode__c') == 'Active' | βοΈ null |
Generation Bundleβ
| File | MD5 | |
|---|---|---|
| Open | /ce/ca/aws/lambda/function-tracing/policy.yaml | 89EF14BAA663F10F6C1822E1181AE59B |
| Open | /ce/ca/aws/lambda/function-tracing/prod.logic.yaml | FDB93B62E506EE5530B209071011ABB0 |
| Open | /ce/ca/aws/lambda/function-tracing/test-data.json | 95D0517143D8CC6ECF327A96AC447BB9 |
| Open | /types/CA10__CaAwsLambdaFunction__c/object.extracts.yaml | 76AAEC535F0E5F244F3303D8C3C2C9CE |
Available Commandsβ
repo-manager policies generate FULL /ce/ca/aws/lambda/function-tracing/prod.logic.yaml
repo-manager policies generate DEBUG /ce/ca/aws/lambda/function-tracing/prod.logic.yaml
repo-manager policies generate CAPTURE_TEST_DATA /ce/ca/aws/lambda/function-tracing/prod.logic.yaml
repo-manager policies generate TESTS /ce/ca/aws/lambda/function-tracing/prod.logic.yaml
# Execute tests
repo-manager policies test /ce/ca/aws/lambda/function-tracing/prod.logic.yaml
Contentβ
---
inputType: "CA10__CaAwsLambdaFunction__c"
testData:
- file: "test-data.json"
importExtracts:
- file: "/types/CA10__CaAwsLambdaFunction__c/object.extracts.yaml"
conditions:
- status: "INCOMPLIANT"
currentStateMessage: "Lambda Function tracing with AWS X-Ray is not enabled."
remediationMessage: "Enable Function X-Ray tracing."
check:
IS_EQUAL:
left:
EXTRACT: "CA10__tracingConfigResponseMode__c"
right:
TEXT: "PassThrough"
- status: "COMPLIANT"
currentStateMessage: "Lambda Function tracing with AWS X-Ray is enabled."
check:
IS_EQUAL:
left:
EXTRACT: "CA10__tracingConfigResponseMode__c"
right:
TEXT: "Active"
otherwise:
status: "UNDETERMINED"
currentStateMessage: "Unexpected values in the field."