Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.5:Update
openscap.22092
oscap-scan.sh
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File oscap-scan.sh of Package openscap.22092
#!/bin/bash PATH=/sbin:/bin:/usr/sbin:/usr/bin prog="oscap" # Check config test -f /etc/sysconfig/oscap-scan && . /etc/sysconfig/oscap-scan RETVAL=0 test -f /etc/sysconfig/oscap-scan || exit 6 test x"$OPTIONS" != "x" || exit 6 $prog $OPTIONS ERR=$? if [ $ERR -eq 0 ] ; then logger "OpenSCAP security scan: PASS" elif [ $ERR -eq 1 ] ; then logger "OpenSCAP security scan: ERROR. Run oscap scan from command line." else logger "OpenSCAP security scan: FAILED. See results in /var/log/oscap-scan.xml.log" fi exit 0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor