Skip to content

Commit

Permalink
Hipaa snapshot rollback
Browse files Browse the repository at this point in the history
  • Loading branch information
vtrubovics committed Nov 8, 2023
1 parent bc93cc7 commit abd5755
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tests/security/oscap_hipaa/oscap_security_guide_setup.pm
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ sub run {
}

sub test_flags {
return {fatal => 1};
return {milestone => 1, fatal => 1};
}

1;
3 changes: 3 additions & 0 deletions tests/security/oscap_hipaa/oscap_xccdf_eval.pm
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,8 @@ sub run {
$self->oscap_evaluate($n_passed_rules, $n_failed_rules, \@eval_match);
}

sub test_flags {
return {always_rollback => 1};
}

1;
5 changes: 5 additions & 0 deletions tests/security/oscap_hipaa/oscap_xccdf_remediate.pm
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,10 @@ sub run {
$self->oscap_remediate();
}

sub test_flags {
# Do not rollback as next test module will be run on this test environments
return {milestone => 1, always_rollback => 0};

}

1;

0 comments on commit abd5755

Please sign in to comment.