Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added JRE update and clean prev version controls #6324

Merged
merged 1 commit into from
Oct 30, 2020

Conversation

carlosmmatos
Copy link
Contributor

Description:

Added JRE updates to ensure java is updated, as well as ensure previous versions are not installed.

@openscap-ci
Copy link
Collaborator

Changes identified:
Rules:
 java_jre_clean_previous_version
 jre
 java_jre_updated
Profiles:
 stig on jre

Show details

Rule java_jre_clean_previous_version:
 OVAL check is newly added.
 Ansible remediation newly added.
Rule jre:
 The rule doesn't occur in any profile nor product.
 Bash remediation is newly added.
Rule java_jre_updated:
 Ansible remediation newly added.
Profile stig on jre:
 Rule java_jre_clean_previous_version added to stig profile.

Recommended tests to execute:
 build_product jre
 tests/test_suite.py rule --libvirt qemu:///system test-suite-vm --remediate-using ansible --datastream build/ssg-jre-ds.xml java_jre_clean_previous_version
 tests/test_suite.py rule --libvirt qemu:///system test-suite-vm --remediate-using bash --datastream build/ssg-jre-ds.xml java_jre_clean_previous_version
 tests/test_suite.py rule --libvirt qemu:///system test-suite-vm --remediate-using ansible --datastream build/ssg-jre-ds.xml java_jre_updated
 tests/test_suite.py profile --libvirt qemu:///system test-suite-vm --datastream build/ssg-jre-ds.xml stig

@redhatrises
Copy link
Contributor

merging... there are not test for ocp and java

@redhatrises redhatrises merged commit c7f2f9a into ComplianceAsCode:master Oct 30, 2020
@yuumasato yuumasato added this to the 0.1.53 milestone Nov 2, 2020
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants