ComplianceAsCode/content

View on GitHub
shared/templates/auditd_lineinfile/template.py

Summary

Maintainability
A
50 mins
Test Coverage
from ssg.utils import parse_template_boolean_value


def preprocess(data, lang):
    data["missing_parameter_pass"] = parse_template_boolean_value(data, parameter="missing_parameter_pass", default_value=False)
    return data