SHA256
1
0
forked from pool/openscap
Commit Graph

164 Commits

Author SHA256 Message Date
0cb0407eba Accepting request 799976 from home:msmeissn:branches:security
- openscap 1.3.3. Notable improvements in this release:
  - a Python script that can be used for CLI tailoring (autotailor) (thank you, Matěj Týč);
  - timezone for XCCDF TestResult start and end time (thank you, Jan Černý);
  - new yamlfilecontent independent probe (draft implementation),
    see the proposal https://github.com/OVAL-Community/OVAL/issues/91
    for additional information.
There are other changes as well, here is the list:
  - Introduced `urn:xccdf:fix:script:kubernetes` fix type in XCCDF;
  - Added ability to generate `machineconfig` fix;
  - Detect ambiguous scan target (utils/oscap-podman);
  - Fixed #170: The rpmverifyfile probe can't verify files from '/bin' directory;
  - The data system_info probe return for offline and online modes is consistent and actual;
  - Prevent crashes when complicated regexes are executed in textfilecontent58 probe;
  - Fixed #1512: Severity refinement lost in generated guide;
  - Fixed #1453: Pointer lost in Swig API;
  - Evaluation Characteristics of the XCCDF report are now consistent with OVAL entities;
    from system_info probe;
  - Fixed filepath pattern matching in offline mode in textfilecontent58 probe;
  - Fixed infinite recursion in systemdunitdependency probe;
  - Fixed the case when CMake couldn't find libacl or xattr.h.
- dropped 0001-Do-not-use-C-keyword-operator-as-a-function-paramete.patch: upstream

OBS-URL: https://build.opensuse.org/request/show/799976
OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=248
2020-05-04 18:33:17 +00:00
d3967e180d Accepting request 788252 from home:cgiboudeaux:branches:security
- Add upstream patch to fix the scap-workbench build:
  * 0001-Do-not-use-C-keyword-operator-as-a-function-paramete.patch

OBS-URL: https://build.opensuse.org/request/show/788252
OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=246
2020-03-25 15:53:05 +00:00
43fa6294ff - openscap 1.3.1
- the test suite and build scripts were improved to support Debian 10
  - offline mode has received some love with a set of dedicated tests and various fixes in OVAL probes;
  - the oscap-docker wrapper is no longer dependent on Atomic 
  - Python binding are now more robust 
  - HTML reports and guides, generated by the scanner, are now more accessible for non-visual rendering agents 
  - Support of multi-check rules has been improved across the whole workflow 
  There are other changes as well, here is the list:
  * New features
    - Offline mode support for environmentvariable58 probe
    - The oscap-docker wrapper is available without Atomic
  + Maintenance, bug fixes
    - Improved support of multi-check rules (report, remediations, console output)
    - Improved HTML report look and feel, including printed version
    - Less clutter in verbose mode output; some warnings and errors demoted to verbose mode levels
    - Probe rpmverifyfile uses and returns canonical paths
    - Improved a11y of HTML reports and guides
    - Fixes and improvements for SWIG Python bindings
    - #1403 fixed: Scanner would not apply remediation for multicheck rules (verbosity)
    - Fixed URL link mechanism for Red Hat Errata
    - New STIG Viewer URI: public.cyber.mil
    - Probe selinuxsecuritycontext would not check if SELinux is enabled
    - Scanner would provide information about unsupported OVAL objects
    - Added more tests for offline mode (probes, remediation)
    - #528 fixed: Eval SCE script when /tmp is in mode noexec
    - #1173, RHBZ#1603347 fixed: Double chdir/chroot in probe rpmverifypackage

OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=242
2020-01-14 13:44:42 +00:00
31b86a44ed OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=240 2020-01-12 18:07:15 +00:00
57e2d03c9f Accepting request 763602 from home:msmeissn:branches:security
- temporary openscap 1.3.1 git snapshot
  - make it build with new RPM  (bsc#1160720)

OBS-URL: https://build.opensuse.org/request/show/763602
OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=239
2020-01-12 12:37:02 +00:00
5bfd648668 OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=236 2020-01-11 09:27:40 +00:00
2167e3e34e OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=234 2020-01-11 08:58:18 +00:00
Robert Frohl
f7b7f9df1b Accepting request 709892 from home:rfrohl:branches:security
update openscap to version 1.3.1

OBS-URL: https://build.opensuse.org/request/show/709892
OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=232
2019-06-14 12:32:39 +00:00
96f998b11f Accepting request 688824 from home:rfrohl:branches:security
add missing obsoletes

OBS-URL: https://build.opensuse.org/request/show/688824
OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=230
2019-03-27 09:30:35 +00:00
491045a433 Accepting request 688437 from home:iznogood:branches:security
- Drop gconf2-devel BuildRequires: It is not mandatory, so lets
  build without this obsolete package.
- Add pkgconfig(glib-2.0) and pkgconfig(gobject-2.0) BuildRequires:
  They are also optional, but not obsolete, and previously pulled
  in via gconf2-devel dependency, so lets build support for them.

OBS-URL: https://build.opensuse.org/request/show/688437
OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=229
2019-03-27 09:29:58 +00:00
afba4b9563 fixed %post %pre syntax
OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=227
2018-11-27 07:18:16 +00:00
8c59323331 OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=226 2018-11-22 10:56:58 +00:00
4d33f05db9 Accepting request 651059 from home:rfrohl:branches:security
- Update to openscap-1.3.0 
  - move to cmake
- improve unit test, planned for inclusion with 1.3.1
  - tests do no complete as of yet, still future work needed

OBS-URL: https://build.opensuse.org/request/show/651059
OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=225
2018-11-22 10:48:01 +00:00
619b3160ac - openscap-xattr.patch: build against new libattr
OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=223
2018-09-12 05:56:15 +00:00
3b96c1ea55 OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=221 2018-06-07 13:25:46 +00:00
f38bdeafcc OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=220 2018-06-07 11:43:22 +00:00
4b365c9471 OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=219 2018-06-07 11:36:14 +00:00
ce492ea8b2 OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=218 2018-06-07 11:32:55 +00:00
26a9a39cb7 OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=217 2018-06-07 11:26:19 +00:00
8e2deae43b OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=216 2018-06-07 09:11:44 +00:00
01a370031b - New features
- HTML Guide user experience improvements
    - New options in HTML report "Group By" menu
    - oscap-ssh supports --oval-results (issue #863)
  - Maintenance
    - Support comparing state record elements with item
    - Updated Bash completion
    - Make Bash role headers consistent with --help output
    - Fixed problems reported by Coverity (issue #909)
    - Fixed CVE schema to support 4 to 7 digits CVEs
    - Fix output of generated bash role missing fix message
    - Fix oscap-docker to clean up temporary image (RHBZ #1454637)
    - Fix Ansible remediations generation
    - Add a newline between ids in xccdf info (issue #968)
    - Fix unknown subtype handling in oval_subtype_parse (issue #986)
    - Outsourced the pthreads feature check and setup
    - Speed up in debug mode
    - Refactored the Python handling in build scripts
    - Prevent reading from host in offline mode (issue #1001)
    - Many probes use OWN offline mode
    - Improve offline mode logic in OVAL probes
    - Do not use chroot in system_info probe
    - Prevent a segfault in oscap_seterr on Solaris
    - Out of tree build is possible
    - Use chroot for RPM probes in offline mode
    - PEP8 accepts lines up to 99 characters
    - New configure parameter --with-oscap-temp-dir (issue #1016)
    - Fixed OVAL record elements namespace and SEXP conversion
    - Removed '\r' characters from help output (issue #1023)
    - Full Python 3 compatibility

OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=215
2018-06-07 09:03:58 +00:00
23a8401a21 - openscap-1.2.17
- New features                                                                                                                                                                             
    - HTML Guide user experience improvements                                                                                                                                                
    - New options in HTML report "Group By" menu                                                                                                                                             
    - oscap-ssh supports --oval-results (issue #863)                                                                                                                                         
  - Maintenance                                                                                                                                                                              
    - Support comparing state record elements with item                                                                                                                                      
    - Updated Bash completion                                                                                                                                                                
    - Make Bash role headers consistent with --help output                                                                                                                                   
    - Fixed problems reported by Coverity (issue #909)                                                                                                                                       
    - Fixed CVE schema to support 4 to 7 digits CVEs                                                                                                                                         
    - Fix output of generated bash role missing fix message                                                                                                                                  
    - Fix oscap-docker to clean up temporary image (RHBZ #1454637)                                                                                                                           
    - Fix Ansible remediations generation                                                                                                                                                    
    - Add a newline between ids in xccdf info (issue #968)                                                                                                                                   
    - Fix unknown subtype handling in oval_subtype_parse (issue #986)                                                                                                                        
    - Outsourced the pthreads feature check and setup                                                                                                                                        
    - Speed up in debug mode                                                                                                                                                                 
    - Refactored the Python handling in build scripts                                                                                                                                        
    - Prevent reading from host in offline mode (issue #1001)                                                                                                                                
    - Many probes use OWN offline mode                                                                                                                                                       
    - Improve offline mode logic in OVAL probes                                                                                                                                              
    - Do not use chroot in system_info probe                                                                                                                                                 
    - Prevent a segfault in oscap_seterr on Solaris                                                                                                                                          
    - Out of tree build is possible                                                                                                                                                          
    - Use chroot for RPM probes in offline mode                                                                                                                                              
    - PEP8 accepts lines up to 99 characters                                                                                                                                                 
    - New configure parameter --with-oscap-temp-dir (issue #1016)                                                                                                                            
    - Fixed OVAL record elements namespace and SEXP conversion                                                                                                                               
    - Removed '\r' characters from help output (issue #1023)

OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=212
2018-05-29 09:47:57 +00:00
27ae7c8e8c Accepting request 601560 from home:msmeissn:branches:security
- openscap-new-suse.patch: handle SLE15 and openSUSE Leap 42.3 and 15.0
  (bsc#1091040)

OBS-URL: https://build.opensuse.org/request/show/601560
OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=210
2018-04-26 13:26:15 +00:00
da4441b12a Accepting request 583005 from home:jengelh:branches:security
- Replace old $RPM_* shell vars.

OBS-URL: https://build.opensuse.org/request/show/583005
OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=208
2018-03-05 15:23:38 +00:00
ddbf5be776 OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=207 2018-03-05 13:31:32 +00:00
b38d166f2f OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=206 2018-03-05 13:13:41 +00:00
5a159d70e7 OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=205 2018-03-05 13:06:12 +00:00
0510e1e4b7 OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=204 2018-03-05 12:52:43 +00:00
b6d47735b2 - replace oscap-scan.init by oscap-scan.service, add a /usr/bin/oscap-scan
helper tool for this. (bsc#1083115)

OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=203
2018-03-05 12:41:14 +00:00
67516938ac OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=200 2018-02-22 14:50:12 +00:00
0102e47e88 OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=199 2018-02-22 13:59:55 +00:00
8ac1ef8247 OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=197 2018-02-22 13:41:34 +00:00
05ea99b703 Accepting request 544729 from home:RBrownSUSE:branches:security
Replace references to /var/adm/fillup-templates with new %_fillupdir macro (boo#1069468)

OBS-URL: https://build.opensuse.org/request/show/544729
OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=195
2017-11-23 14:58:40 +00:00
69d55966cf OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=192 2017-11-14 15:21:10 +00:00
128a9a554b - openscap-productid-cvrf.patch: add a --productid selector
for "oscap cvrf" as upstream does not detect the system yet.
  (might go away)

OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=189
2017-11-14 14:29:43 +00:00
eb2044117e OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=186 2017-11-14 12:29:40 +00:00
c298f4a117 - openscap-1.2.16
- New features
    - oscap can generate output that is compatible with STIG Viewer.
    - CVRF parsing and export has been implemented.
    - oscap info command has been expanded.
    - The AIX platform is supported.
    - Many documentation improvements.
    - Numerous other improvements of existing features.
  - Maintenance
    - Huge cross-platform improvements.
    - Memory leaks fixed (RHBZ#1485876).
    - SELinux fixes.
    - Many coverity fixes.
    - Numerous other bugfixes.

OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=185
2017-11-14 12:15:40 +00:00
be41d8de13 - openscap-1.2.15 / 25-08-2017
- New features                                                                                                                                                                             
    - short profile names can be used instead of long IDs                                                                                                                                    
    - new option --rule allows to evaluate only a single rule                                                                                                                                
    - new option --fix-type in "oscap xccdf generate fix" allows choosing                                                                                                                    
      remediation script type without typing long URL                                                                                                                                        
    - "oscap info" shows profile titles                                                                                                                                                      
    - OVAL details in HTML report are easier to read                                                                                                                                         
    - HTML report is smaller because unselected rules are removed                                                                                                                            
    - HTML report supports NIST 800-171 and CJIS                                                                                                                                             
    - remediation scripts contain headers with useful information                                                                                                                            
    - remediation scripts report progress when they run                                                                                                                                      
    - basic support for Oracle Linux (CPEs, runlevels)                                                                                                                                       
    - remediation scripts can be generated from datastreams that contain                                                                                                                     
      multiple XCCDF benchmarks (issue #772)                                                                                                                                                 
    - basic support for OVAL 5.11.2 (only schemas, no features)                                                                                                                              
    - enabled offline RPM database in rpminfo probe (issue #778)                                                                                                                             
    - added Fedora 28 CPE                                                                                                                                                                    
  - Maintenance                                                                                                                                                                              
    - fixed oscap-docker with Docker >= 2.0 (issue #794)                                                                                                                                     
    - fixed behavior of sysctl probe to be consistent with sysctl tool                                                                                                                       
    - fixed generating remediation scripts (issue #723, #773)                                                                                                                                
    - severity of tailored rules is not discarded (issue #739)                                                                                                                               
    - fixed errors in RPM probes initialization                                                                                                                                              
    - oscap-docker shows all warnings reported by oscap (issue #713)                                                                                                                         
    - small improvements in verbose mode                                                                                                                                                     
    - standard C operations are used instead of custom OpenSCAP operations                                                                                                                   
    - fixed compiler warnings                                                                                                                                                                
    - fixed missing header files                                                                                                                                                             
    - fixed resource leaks (issue #715)

OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=183
2017-08-25 13:42:56 +00:00
32c1e2af94 OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=181 2017-04-07 11:21:07 +00:00
ad166be9c5 Accepting request 486359 from home:jengelh:branches:security
- Remove line-trailing whitespace from last changelog entry.
- Rename %soname to %sover to better reflect its use.

OBS-URL: https://build.opensuse.org/request/show/486359
OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=180
2017-04-07 11:11:30 +00:00
75f2a2ef28 OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=179 2017-04-07 11:11:21 +00:00
ae7828b162 OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=178 2017-04-07 11:09:18 +00:00
46c29bfaf0 OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=177 2017-03-21 16:49:08 +00:00
a65fcb6897 OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=176 2017-03-21 16:31:53 +00:00
47a1d0d6f6 OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=175 2017-03-21 14:39:33 +00:00
02c3b71e6c OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=174 2017-03-21 13:57:45 +00:00
e5bf5e59f3 OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=173 2017-03-21 13:07:28 +00:00
6851872d5b OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=172 2017-03-21 12:31:31 +00:00
90f776a3a7 - openscap-1.2.14 / 21-03-2017
- New features                                                                                                                                                                             
    - Detailed information about ARF files in 'oscap info' (issue #664)                                                                                                                      
    - XSLT template creating XCCDF files from OVAL files                                                                                                                                     
    - Generating remediation scripts from ARF                                                                                                                                                
    - Significant improvements of User Manual (issue #249, #513)                                                                                                                             
    - HTML report UX improvements (issue #601, #620, #622, #655)                                                                                                                             
    - Warnings are shown by default                                                                                                                                                          
    - Verbose mode is available in 'xccdf remediate' module (issue #520)                                                                                                                     
    - Added Fedora 26, Fedora 27 and OpenSUSE 42.2 CPEs (issue #698)                                                                                                                         
    - Support for Anaconda remediation in HTML report                                                                                                                                        
  - Maintenance                                                                                                                                                                              
    - Fixed CPE dictionary to identify RHEVH as RHEL7 (RHBZ #1420038)                                                                                                                        
    - Fixed systemd probes crashes inside containers (RHBZ #1431186, issue #700)                                                                                                             
    - Added a warning on non-existing XCCDF Benchmarks (issue #614)                                                                                                                          
    - Fixed output on terminals with white background (RHBZ #1365911, issue #512)                                                                                                            
    - Error handling in oscap-vm (RHBZ #1391754)                                                                                                                                             
    - Fixed SCE stderr stalling (RHBZ #1420811)                                                                                                                                              
    - Fixed Android OVAL schema (issue #279)                                                                                                                                                 
    - Fixed absolute filepath parsing in OVAL (RHBZ #1312831, #1312824)                                                                                                                      
    - Fixes based on Coverity scan report (issue #581, #634, #681)                                                                                                                           
    - Fixed duplicated error messages (issue #707)                                                                                                                                           
    - Fixed XCCDF score calculation (issue #617)                                                                                                                                             
    - Fixed segmentation faults in RPM probes (RHBZ #1414303, #1414312)                                                                                                                      
    - Fixed failing DataStream build if "@" is in filepath                                                                                                                                   
    - Fixed missing header in result-oriented Ansible remediations                                                                                                                           
    - Memory leak and resource leak fixes (issue #635, #636)                                                                                                                                 
    - New upstream tests                                                                                                                                                                     
    - Many minor fixes and improvements

OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=171
2017-03-21 12:22:06 +00:00
66bcb524f7 - openscap-1.2.13 / 05-01-2017
- Maintenance
    - we always build system_info OVAL probe, fixed configure output accordingly
    - warn when the user requests to generate an ARF from XCCDF 1.1
    - fixed a segfault when loading an OVAL file with invalid family attribute
    - added --thin-results CLI override to oscap xccdf eval
    - added --without-syschar CLI override to oscap xccdf eval
    - fixed a segfault when freeing xccdf_policy of the default profile
    - removed ARF schematron workaround when there are no applicable checks
    - fixed verbose output in oscap xccdf generate fix
    - do not filter fix by applicability when generating remediations from results
    - fixed memory leaks, resource leaks and other minor issues

OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=169
2017-01-06 14:38:48 +00:00