diff options
author | 2013-09-17 21:06:23 +0200 | |
---|---|---|
committer | 2013-09-17 21:06:23 +0200 | |
commit | 0d2ac8872167ed30797a5dcd6cf158bab250c7bc (patch) | |
tree | 2904af6709875a6638c89f839837855e472df7cb | |
parent | Updates on SCAP - Test and generate fix code (diff) | |
download | hardened-docs-0d2ac8872167ed30797a5dcd6cf158bab250c7bc.tar.gz hardened-docs-0d2ac8872167ed30797a5dcd6cf158bab250c7bc.tar.bz2 hardened-docs-0d2ac8872167ed30797a5dcd6cf158bab250c7bc.zip |
Add remediation support
-rw-r--r-- | xml/SCAP/Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/xml/SCAP/Makefile b/xml/SCAP/Makefile index 5964888..ac0b4e2 100644 --- a/xml/SCAP/Makefile +++ b/xml/SCAP/Makefile @@ -1,4 +1,4 @@ -all: report.html guide.html +all: report.html guide.html remediate.sh report.html: gentoo-cpe.xml gentoo-xccdf.xml gentoo-oval.xml oscap xccdf eval --cpe gentoo-cpe.xml --profile xccdf_org.gentoo.dev.swift_profile_default --results results-xccdf.xml --oval-results --report report.html gentoo-xccdf.xml @@ -6,7 +6,14 @@ report.html: gentoo-cpe.xml gentoo-xccdf.xml gentoo-oval.xml guide.html: gentoo-cpe.xml gentoo-xccdf.xml gentoo-oval.xml oscap xccdf generate guide --profile xccdf_org.gentoo.dev.swift_profile_default --output guide.html gentoo-xccdf.xml +remediate.sh: results-xccdf.xml + oscap xccdf generate fix --output remediate.sh results-xccdf.xml + chmod 0644 remediate.sh + eval: oscap xccdf eval --cpe gentoo-cpe.xml --profile xccdf_org.gentoo.dev.swift_profile_default gentoo-xccdf.xml -.PHONY: all eval +clean: + -rm results-xccdf.xml report.html guide.html gentoo-oval.xml.results.xml remediate.sh + +.PHONY: all eval clean |