Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/XCCDF_POLICY/xccdf_policy_remediate.c
Original file line number Diff line number Diff line change
Expand Up @@ -1405,6 +1405,8 @@ static int _write_script_header_to_fd(struct xccdf_policy *policy, struct xccdf_
"name = \"hardened_%s\"\n"
"description = \"%s\"\n"
"version = \"%s\"\n\n"
"[customizations]\n"
"partitioning_mode = \"raw\"\n\n"
"[customizations.openscap]\n"
"profile_id = \"%s\"\n"
"%s\n",
Expand Down
3 changes: 3 additions & 0 deletions tests/API/XCCDF/unittests/test_remediation_blueprint.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ name = "hardened_xccdf_moc.elpmaxe.www_profile_common"
description = "Profile title on one line"
version = "1.0"

[customizations]
partitioning_mode = "raw"

[customizations.openscap]
profile_id = "xccdf_moc.elpmaxe.www_profile_common"
# If your hardening data stream is not part of the 'scap-security-guide' package
Expand Down
Loading