ComplianceAsCode/content

View on GitHub

Showing 1,093 of 1,093 total issues

Tips depend on target shell and yours is unknown. Add a shebang.
Open

 
 

popd references arguments, but none are ever passed.
Open

popd () {
Severity: Minor
Found in utils/generate_html_pages.sh by shellcheck

Double quote to prevent globbing and word splitting.
Open

echo "<li><a href=\"$product/product-statistics/statistics.html\">Product Statistics</a></li>" >> $STATS_DIR/index.html
Severity: Minor
Found in utils/generate_html_pages.sh by shellcheck

Double quote to prevent globbing and word splitting.
Open

cp -rf build/$product/profile-statistics $STATS_DIR/$product/profile-statistics
Severity: Minor
Found in utils/generate_html_pages.sh by shellcheck

Double quote to prevent globbing and word splitting.
Open

for rule in $(cat $UNSELECT_LIST); do
Severity: Minor
Found in tests/ds_unselect_rules.sh by shellcheck

Can't follow non-constant source. Use a directive to specify location.
Open

. $SHARED/utils.sh
Severity: Minor
Found in tests/shared/auditd_utils.sh by shellcheck

Double quote to prevent globbing and word splitting.
Open

touch ${testlog}

You need a space after the '{'.
Open

{{% endif %}}

This } is literal. Check expression (missing ;/\n?) or quote it.
Open

{{% endif %}}
Severity: Minor
Found in tests/shared/grub2.sh by shellcheck

You need a space after the '{'.
Open

{{% else %}}

Couldn't parse this brace group.
Open

{{% endif %}}

You need a space after the '{'.
Open

{{% endif %}}

This } is literal. Check expression (missing ;/\n?) or quote it.
Open

{{% else %}}

You need a space after the '{'.
Open

{{% if 'ubuntu' in product %}}

You need a space after the '{'.
Open

{{% else %}}

Missing '}'. Fix any mentioned problems and try again.
Open

Missing '}'. Fix any mentioned problems and try again.
Open

This } is literal. Check expression (missing ;/\n?) or quote it.
Open

{{% if 'ubuntu' in product %}}

This } is literal. Check expression (missing ;/\n?) or quote it.
Open

{{% endif %}}

Missing '}'. Fix any mentioned problems and try again.
Open

Severity: Minor
Found in tests/shared/grub2.sh by shellcheck
Severity
Category
Status
Source
Language