Showing 1,093 of 1,093 total issues
Line too long (116 > 99 characters) Open
input=TEST_SCAN_TEMPLATE.format(PROFILE=profile, TYPE=args.scantype, NAMESPACE=args.namespace).encode())
- Read upRead up
- Exclude checks
Line too long (149 > 99 characters) Open
'oc get -n {NAMESPACE} compliancescans/test -o template="{{{{.status.phase}}}} {{{{.status.result}}}}"'.format(NAMESPACE=args.namespace))
- Read upRead up
- Exclude checks
Line too long (105 > 99 characters) Open
'--jqfilter', default="", help='A JQ filter to select the data passed down for OVAL evaluation.')
- Read upRead up
- Exclude checks
Line too long (103 > 99 characters) Open
'--contentdir', default="./build", help='The path to the directory containing the data stream')
- Read upRead up
- Exclude checks
Line too long (100 > 99 characters) Open
new_contents[sec_ranges[0][0]] = "{section}: {content}".format(section=section, content=content)
- 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
Line too long (102 > 99 characters) Open
data["no_quotes"] = parse_template_boolean_value(data, parameter="no_quotes", default_value=False)
- Read upRead up
- Exclude checks
Comparison to false should be 'if cond is false:' or 'if not cond:' Open
if data["group_represented_with_gid"] == False:
- Read upRead up
- Exclude checks
Module level import not at top of file Open
import ssg_test_suite.test_env
- Read upRead up
- Exclude checks
Module level import not at top of file Open
import ssg_test_suite.combined
- Read upRead up
- Exclude checks
Line too long (136 > 99 characters) Open
'--variable', help='A string name of the XCCDF variable to with the value to check for. Mutually exclusive with "match" option')
- Read upRead up
- Exclude checks
Line too long (112 > 99 characters) Open
parser.add_argument("action", choices=['add', 'remove', 'list', 'replace', 'delete', 'make_shared', 'diff'],
- Read upRead up
- Exclude checks
Line too long (101 > 99 characters) Open
help="Products or platforms to perform action with on rule_id. For replace, "
- Read upRead up
- Exclude checks
Continuation line under-indented for visual indent Open
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
Line too long (117 > 99 characters) Open
platform_parser = type_parser.add_parser('platform', help='Creates a Platform rule', parents=[common_rule_args])
- Read upRead up
- Exclude checks
Continuation line under-indented for visual indent Open
help='The yaml-path of the element to match against.')
- Read upRead up
- Exclude checks
Line too long (133 > 99 characters) Open
'--all-namespaces', action="store_true", help='The namespace of the Kubernetes object (optional for cluster-scoped objects)',
- Read upRead up
- Exclude checks
Line too long (105 > 99 characters) Open
node_parser = type_parser.add_parser('node', help='Creates a Node rule', parents=[common_rule_args])
- Read upRead up
- Exclude checks