We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a204589 commit f7d8868Copy full SHA for f7d8868
1 file changed
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"]
@@ -408,6 +409,8 @@ if __name__ == "__main__":
408
409
parser = get_parser()
410
args = parser.parse_args()
411
412
+ ET.register_namespace(NS_PREFIX, NS)
413
+
414
if not args.profile and not args.json_tailoring:
415
parser.error("one of the following arguments has to be provided: "
416
"BASE_PROFILE_ID or --json-tailoring JSON_TAILORING_FILENAME")
0 commit comments