Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/compare-ds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ jobs:
if: ${{ steps.ctf.outputs.CTF_OUTPUT_SIZE != '0' }}
uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.sha }}
clean: false
- name: Build product
if: ${{ steps.ctf.outputs.CTF_OUTPUT_SIZE != '0' }}
Expand Down
2 changes: 1 addition & 1 deletion ssg/build_yaml.py
Original file line number Diff line number Diff line change
Expand Up @@ -1535,7 +1535,7 @@ def to_xml_element(self, env_yaml=None):

add_sub_element(rule, 'rationale', self.rationale)

for cpe_platform_name in self.cpe_platform_names:
for cpe_platform_name in sorted(self.cpe_platform_names):
platform_el = ET.SubElement(rule, "platform")
platform_el.set("idref", "#"+cpe_platform_name)

Expand Down
2 changes: 1 addition & 1 deletion utils/compare_ds.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ def compare_checks(
"'%s' to '%s'." % (
system, rule_id, old_check_id, new_check_id)
)
if show_diffs:
if show_diffs and rule_id != "xccdf_org.ssgproject.content_rule_security_patches_up_to_date":
try:
old_check_doc = old_checks[old_check_file_name]
except KeyError:
Expand Down