Skip to content

Commit

Permalink
Fix broken OVAL metadata
Browse files Browse the repository at this point in the history
It isn't possible to have triple braces inside triple braces.
  • Loading branch information
jan-cerny committed Jul 12, 2024
1 parent 34011f7 commit 12f4654
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shared/templates/socket_disabled/oval.template
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<def-group>
<definition class="compliance" id="{{{ rule_id }}}" version="1">
{{{ oval_metadata("Disable {{{ SOCKETNAME }}}.socket") }}}
{{{ oval_metadata("Disable " ~ SOCKETNAME ~ ".socket") }}}
<criteria>
<criterion comment="Property LoadState of {{{ SOCKETNAME }}}.socket is masked"
test_ref="test_socket_loadstate_is_masked_{{{ SOCKETNAME }}}"/>
Expand Down

0 comments on commit 12f4654

Please sign in to comment.