adamwill / rpms / openscap

Forked from rpms/openscap 3 years ago
Clone

Blame SOURCES/openscap-1.2.17-updated-bash-completion.patch

b1f2c6
From c3d14137500991e6eae629110cb9c71b1fadc5de Mon Sep 17 00:00:00 2001
b1f2c6
From: =?UTF-8?q?Mat=C4=9Bj=20T=C3=BD=C4=8D?= <matyc@redhat.com>
b1f2c6
Date: Fri, 1 Dec 2017 15:35:44 +0100
b1f2c6
Subject: [PATCH] Updated bash completion.
b1f2c6
b1f2c6
Just included updated 'info' and 'xccdf eval'.
b1f2c6
---
b1f2c6
 dist/bash_completion.d/oscap | 4 ++--
b1f2c6
 1 file changed, 2 insertions(+), 2 deletions(-)
b1f2c6
b1f2c6
diff --git a/dist/bash_completion.d/oscap b/dist/bash_completion.d/oscap
b1f2c6
index 640eb26bb..ff6677327 100644
b1f2c6
--- a/dist/bash_completion.d/oscap
b1f2c6
+++ b/dist/bash_completion.d/oscap
b1f2c6
@@ -31,7 +31,7 @@ function _oscap {
b1f2c6
     opts[oscap:oval:analyse]="--variables --directives --verbose --verbose-log-file"
b1f2c6
     opts[oscap:oval:collect]="--variables --verbose --verbose-log-file"
b1f2c6
     opts[oscap:oval:generate:report]="-o --output"
b1f2c6
-    opts[oscap:xccdf:eval]="--skip-valid --datastream-id --xccdf-id --profile --results --results-arf --report --oval-results --export-variables --fetch-remote-resources --remediate --cpe  --verbose --verbose-log-file"
b1f2c6
+    opts[oscap:xccdf:eval]="--benchmark-id --check-engine-results --cpe --datastream-id --export-variables --fetch-remote-resources --oval-results --profile --progress --remediate --report --results --results-arf --rule --sce-results --skip-valid --stig-viewer --tailoring-file --tailoring-id --thin-results --verbose --verbose-log-file --without-syschar --xccdf-id"
b1f2c6
     opts[oscap:xccdf:validate]="--schematron"
b1f2c6
     opts[oscap:xccdf:export-oval-variables]="--datastream-id --xccdf-id --profile --skip-valid --fetch-remote-resources --cpe"
b1f2c6
     opts[oscap:xccdf:remediate]="--result-id --skip-valid --fetch-remote-resources --results --results-arf --report --oval-results --export-variables --cpe"
b1f2c6
@@ -48,7 +48,7 @@ function _oscap {
b1f2c6
     opts[oscap:ds:rds-split]="--report-id --skip-valid"
b1f2c6
     opts[oscap:cvss:score]=""
b1f2c6
     opts[oscap:cvss:describe]=""
b1f2c6
-    opts[oscap:info]="--fetch-remote-resources"
b1f2c6
+    opts[oscap:info]="--fetch-remote-resources --profile --profiles"
b1f2c6
 
b1f2c6
     # local variables
b1f2c6
 	local std cmd i prev