a5aad8bfce
Includes a description of failure conditions. Change-Id: I312c1d4685ba1138d1478ffc1d424fc2216a450c
29 lines
766 B
YAML
29 lines
766 B
YAML
---
|
|
- name: test_trigger
|
|
debug_level: 2
|
|
distinguished_by:
|
|
- instance_id
|
|
- timestamp: "day"
|
|
expiration: "$last + 2d"
|
|
fire_pipeline: "test_fire_pipeline"
|
|
expire_pipeline: "test_expire_pipeline"
|
|
match_criteria:
|
|
- event_type:
|
|
- compute.instance.*
|
|
- snapshot_instance
|
|
- keypair.import.*
|
|
- rebuild_instance
|
|
- compute.instance.*
|
|
- "!compute.instance.exists"
|
|
- "!compute.instance.exists.failed"
|
|
- "!compute.instance.exists.warnings"
|
|
- "!compute.instance.exists.verified"
|
|
- event_type: compute.instance.exists
|
|
map_distinguished_by:
|
|
timestamp: audit_period_beginning
|
|
fire_criteria:
|
|
- event_type: compute.instance.exists
|
|
traits:
|
|
audit_period_ending:
|
|
datetime: $audit_period_beginning + 1d
|