ComplianceAsCode/content

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

Summary

Maintainability
A
45 mins
Test Coverage
import ssg.utils


def preprocess(data, lang):
    if lang == "oval":
        # replace . with _, this is used in test / object / state ids
        data["sanitized_arg_name"] = ssg.utils.escape_id(data["arg_name"])
    return data