Kubernetes¶
TEMPLATEkubernetes_machine_config_file¶
- Macro which generates Kubernetes remediation in MachineConfig format:
path (String): Path to the configuration file.
file_permissions_mode (String): File permissions to be applied to the file represented by path argument
source_content (String): The source of the content to be applied.
kubernetes_machine_config_file(path=’’, file_permissions_mode=’’, source=’’)
TEMPLATEkubernetes_machine_config_file_with_dependencies¶Macro which generates Kubernetes remediation in MachineConfig format with dependencies reflected:
path (String): Path to the configuration file.
file_permissions_mode (String): File permissions to be applied to the file represented by path argument
source_content (String): The source of the content to be applied.
deps (list): The list of dependencies for this remediation to be applies (they’re XCCDF IDs)
kubernetes_machine_config_file_with_dependencies(path=’’, file_permissions_mode=’’, source=’’, deps=[])
TEMPLATEkubernetes_sshd_set¶High level macro to generate Kubernetes remediation to set the ssh daemon configuration file.
kubernetes_sshd_set()
TEMPLATEkubernetes_usbguard_set¶High level macro to generate Kubernetes remediation to set the usbguard daemon configuration file.
kubernetes_usbguard_set(deps=[])