Skip to content
Merged
Changes from 1 commit
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
3 changes: 3 additions & 0 deletions utils/autotailor
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ import json


NS = "http://checklists.nist.gov/xccdf/1.2"
NS_PREFIX = "xccdf-1.2"
DEFAULT_PROFILE_SUFFIX = "_customized"
DEFAULT_REVERSE_DNS = "org.ssgproject.content"
ROLES = ["full", "unscored", "unchecked"]
Expand Down Expand Up @@ -440,6 +441,8 @@ if __name__ == "__main__":
parser = get_parser()
args = parser.parse_args()

ET.register_namespace(NS_PREFIX, NS)

if not args.profile and not args.json_tailoring:
parser.error("one of the following arguments has to be provided: "
"BASE_PROFILE_ID or --json-tailoring JSON_TAILORING_FILENAME")
Expand Down
Loading