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

Add RHEL Platform to Select AIDE Tests #12483

Merged
merged 2 commits into from
Oct 10, 2024

Conversation

Mab879
Copy link
Member

@Mab879 Mab879 commented Oct 9, 2024

Description:

  • Add RHEL Platform to Select AIDE Tests

Rationale:

Inspired by #12432.

@Mab879 Mab879 added the Test Suite Update in Test Suite. label Oct 9, 2024
@Mab879 Mab879 added this to the 0.1.75 milestone Oct 9, 2024
Copy link

github-actions bot commented Oct 9, 2024

Start a new ephemeral environment with changes proposed in this pull request:

rhel8 (from CTF) Environment (using Fedora as testing environment)
Open in Gitpod

Fedora Testing Environment
Open in Gitpod

Oracle Linux 8 Environment
Open in Gitpod

Copy link

github-actions bot commented Oct 9, 2024

🤖 A k8s content image for this PR is available at:
ghcr.io/complianceascode/k8scontent:12483
This image was built from commit: 239a0d0

Click here to see how to deploy it

If you alread have Compliance Operator deployed:
utils/build_ds_container.py -i ghcr.io/complianceascode/k8scontent:12483

Otherwise deploy the content and operator together by checking out ComplianceAsCode/compliance-operator and:
CONTENT_IMAGE=ghcr.io/complianceascode/k8scontent:12483 make deploy-local

Copy link

codeclimate bot commented Oct 9, 2024

Code Climate has analyzed commit 239a0d0 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (50% is the threshold).

This pull request will bring the total coverage in the repository to 59.5% (0.0% change).

View more on Code Climate.

@jan-cerny jan-cerny self-assigned this Oct 10, 2024
Copy link
Collaborator

@jan-cerny jan-cerny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

jcerny@fedora:~/work/git/scap-security-guide (pr/12483)$ python3 tests/automatus.py  rule --libvirt qemu:///system ssgts_rhel9 aide_verify_acls aide_verify_ext_attributes
Setting console output to log level INFO
INFO - The base image option has not been specified, choosing libvirt-based test environment.
INFO - Logging into /home/jcerny/work/git/scap-security-guide/logs/rule-custom-2024-10-10-1206/test_suite.log
INFO - xccdf_org.ssgproject.content_rule_aide_verify_acls
INFO - Script correct_value.pass.sh using profile (all) OK
INFO - Script wrong_value.fail.sh using profile (all) OK
INFO - xccdf_org.ssgproject.content_rule_aide_verify_ext_attributes
INFO - Script correct_value.pass.sh using profile (all) OK
INFO - Script wrong_value.fail.sh using profile (all) OK
jcerny@fedora:~/work/git/scap-security-guide (pr/12483)$ python3 tests/automatus.py  rule --libvirt qemu:///system ssgts_rhel9 --remediate-using ansible aide_verify_acls aide_verify_ext_attributes
Setting console output to log level INFO
INFO - The base image option has not been specified, choosing libvirt-based test environment.
INFO - Logging into /home/jcerny/work/git/scap-security-guide/logs/rule-custom-2024-10-10-1403/test_suite.log
INFO - xccdf_org.ssgproject.content_rule_aide_verify_acls
INFO - Script correct_value.pass.sh using profile (all) OK
INFO - Script wrong_value.fail.sh using profile (all) OK
INFO - xccdf_org.ssgproject.content_rule_aide_verify_ext_attributes
INFO - Script correct_value.pass.sh using profile (all) OK
INFO - Script wrong_value.fail.sh using profile (all) OK

@jan-cerny jan-cerny merged commit e77ac2c into ComplianceAsCode:master Oct 10, 2024
100 of 104 checks passed
@Mab879 Mab879 deleted the add_rhel_to_aide_tests branch October 10, 2024 12:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Test Suite Update in Test Suite.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants