Showing 1,093 of 1,093 total issues
Line too long (131 > 99 characters) Open
yaml_contents = yaml.dump(rule_yaml, None, indent=4, sort_keys=False, canonical=False, default_flow_style=False, width=120)
- Read upRead up
- Exclude checks
Expected 2 blank lines, found 1 Open
def map_symbolic_permissions(filemode, allow_stricter_permissions):
- Read upRead up
- Exclude checks
Line too long (135 > 99 characters) Open
data["allow_stricter_permissions"] = parse_template_boolean_value(data, parameter="allow_stricter_permissions", default_value=True)
- Read upRead up
- Exclude checks
Line too long (114 > 99 characters) Open
data["check_root_user"] = parse_template_boolean_value(data, parameter="check_root_user", default_value=False)
- Read upRead up
- Exclude checks
Module level import not at top of file Open
from tests.ssg_test_suite.log import LogHelper
- Read upRead up
- Exclude checks
Module level import not at top of file Open
from ssg.constants import DERIVATIVES_PRODUCT_MAPPING
- Read upRead up
- Exclude checks
Too many blank lines (2) Open
def _rule_matches_rule_spec(self, rule_short_id):
- Read upRead up
- Exclude checks
Continuation line under-indented for visual indent Open
# "--privileged",
- Read upRead up
- Exclude checks
Line too long (125 > 99 characters) Open
print('there was a problem finding the URL from the oc debug output. Hint: override this automatic check with --url')
- Read upRead up
- Exclude checks
Line too long (103 > 99 characters) Open
help='The path to a directory structure of yaml objects to test against.')
- Read upRead up
- Exclude checks
Module level import not at top of file Open
from ssg_test_suite import xml_operations
- Read upRead up
- Exclude checks
Line too long (107 > 99 characters) Open
logging.WARNING, "Script {0} using profile {1} notapplicable".format(scenario.script, profile),
- Read upRead up
- Exclude checks
Line too long (121 > 99 characters) Open
rule_yaml['warnings'] = [{'general': JinjaString('{{{ openshift_cluster_setting("%s") | indent(4) }}}' % (url))}]
- Read upRead up
- Exclude checks
Line too long (117 > 99 characters) Open
template_vars['filepath'] = JinjaString("{{{ openshift_filtered_path('%s', '%s') }}}" % (url, args.jqfilter))
- Read upRead up
- Exclude checks
Line too long (123 > 99 characters) Open
'test', help='Test a rule locally against a directory of mocked object files using podman and an oscap container.')
- Read upRead up
- Exclude checks
Expected 2 blank lines after class or function definition, found 1 Open
_mapping_tag = yaml.resolver.BaseResolver.DEFAULT_MAPPING_TAG
- Read upRead up
- Exclude checks
Continuation line under-indented for visual indent Open
default_value=True)
- Read upRead up
- Exclude checks
Line too long (100 > 99 characters) Open
from a data stream use `ds_unselect_rules.sh` script. List of such rules already
- Read upRead up
- Exclude checks
Too many blank lines (2) Open
def matches_regex_and_check_and_platform(self, scenarios_regex, checks, product):
- Read upRead up
- Exclude checks
Line too long (128 > 99 characters) Open
data["missing_parameter_pass"] = parse_template_boolean_value(data, parameter="missing_parameter_pass", default_value=False)
- Read upRead up
- Exclude checks