Actions
Architecture #21222
closedArchitecture #21155: Cleanup relayd tests
Architecture #21197: Prepare new rudderc implementation
Improve yaml format
Fix check:
Checked
Regression:
Description
---
format: 0
name: ntp
version: "0.1"
# pour l'instant par de ressources récursives
resources:
# blocks are a type of resource
- type: block
name: "NTP configuration"
id: "b07e7496-a8f2-4a2e-b0a9-6ea0b9e08221"
reporting:
# the default
enabled: true
# logic
compute:
focus: d86ce2e5-d5b6-45cc-87e8-c11cca71d907
resources:
- type: file
params:
path: "/etc/ntp.conf"
states:
# marche pas si on a plusieurs content sur le même fichier
- type: content
# report_component, pas forcément unique, pas utilisable en id
name: "Ensure correct ntp configuration"
# outcome condition must rely on ids
id: "d86ce2e5-d5b6-45cc-87e8-c11cca71d907"
condition: "debian"
reporting:
enabled: false
# logic
compute: worst-wighted-sum
meta:
cve: CVE-2022-3456
params:
content: "server ntp.org"
enforce: "true"
- type: file
params:
path: "/etc/hosts"
states:
# marche pas si on a plusieurs content sur le même fichier
- type: content
# report_component, pas forcément unique, pas utilisable en id
name: "Ensure correct hosts configuration"
# outcome condition must rely on ids
id: "d86ce2e5-d5b6-45cc-87e8-c11cca71d907"
condition: "debian"
reporting:
enabled: false
params:
content: "127.0.0.1 localhost"
enforce: "true"
Actions