We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 657a4ff commit b2f4779Copy full SHA for b2f4779
utils/autotailor
@@ -29,6 +29,7 @@ import json
29
30
31
NS = "http://checklists.nist.gov/xccdf/1.2"
32
+NS_PREFIX = "xccdf-1.2"
33
DEFAULT_PROFILE_SUFFIX = "_customized"
34
DEFAULT_REVERSE_DNS = "org.ssgproject.content"
35
ROLES = ["full", "unscored", "unchecked"]
@@ -440,6 +441,8 @@ if __name__ == "__main__":
440
441
parser = get_parser()
442
args = parser.parse_args()
443
444
+ ET.register_namespace(NS_PREFIX, NS)
445
+
446
if not args.profile and not args.json_tailoring:
447
parser.error("one of the following arguments has to be provided: "
448
"BASE_PROFILE_ID or --json-tailoring JSON_TAILORING_FILENAME")
0 commit comments