ComplianceAsCode/content

View on GitHub
Merge pull request #12433 from Mab879/update_rsyslog_remote_access_monitoring #18571
Jan Černý authored 3568eaea
complete00:02:26
1
git clone
2
codeclimate validate-config
View output
codeclimate validate-config
No errors or warnings found in .codeclimate.yml.
3
codeclimate prepare
View output
codeclimate prepare
4
builder pull-engines
View output
determining required images
docker pull codeclimate/codeclimate-structure:b1673
b1673: Pulling from codeclimate/codeclimate-structure
bff3e048017e: Already exists
339148ecceb7: Already exists
75031b9f2662: Already exists
23e4bece904f: Already exists
580694eb2ab1: Already exists
4220ab45da32: Pulling fs layer
3fec094de8af: Pulling fs layer
57311f690d79: Pulling fs layer
30eef54b06d3: Pulling fs layer
533e89ddc74f: Pulling fs layer
b1fbd916a7fd: Pulling fs layer
c04c8e3d3f1e: Pulling fs layer
6270755c49c6: Pulling fs layer
c152db51e160: Pulling fs layer
0ff11adca159: Pulling fs layer
b04ea1c225fc: Pulling fs layer
a5900fead2e7: Pulling fs layer
05e1fa67ae7b: Pulling fs layer
55efbe71dad7: Pulling fs layer
fae57dc97efc: Pulling fs layer
c9bb173ce1a5: Pulling fs layer
ad7655ca63f7: Pulling fs layer
c302f0c4c32a: Pulling fs layer
2313612dd8ff: Pulling fs layer
e256e1e3d8f9: Pulling fs layer
4d0473eb5f61: Pulling fs layer
24f7364b1ed7: Pulling fs layer
e2f78d056f14: Pulling fs layer
ba793bb5beb0: Pulling fs layer
9c6fe351d4a0: Pulling fs layer
564e99fe143b: Pulling fs layer
d4d28bcef407: Pulling fs layer
377ba0623335: Pulling fs layer
da34fb180d01: Pulling fs layer
e662a1397458: Pulling fs layer
05e1fa67ae7b: Download complete
83257097193a: Pulling fs layer
60ea3c49c796: Pulling fs layer
b3bd38aab0f6: Pulling fs layer
4de22538118e: Pulling fs layer
25cf34d42617: Pulling fs layer
912ae8410047: Pulling fs layer
9b6209b21f89: Pulling fs layer
1edfdbef3d97: Pulling fs layer
88d893e5be7c: Pulling fs layer
126b08a94339: Pulling fs layer
8f4517454b55: Pulling fs layer
75d3b10e39b6: Pulling fs layer
f4ee7bf85263: Pulling fs layer
e91df39e5278: Pulling fs layer
6a82a42dca5c: Pulling fs layer
4429e2badffb: Pulling fs layer
97bbdb242e6f: Pulling fs layer
97bbdb242e6f: Download complete
55efbe71dad7: Download complete
fae57dc97efc: Download complete
c9bb173ce1a5: Download complete
ad7655ca63f7: Download complete
c302f0c4c32a: Download complete
2313612dd8ff: Download complete
e256e1e3d8f9: Download complete
4d0473eb5f61: Download complete
24f7364b1ed7: Download complete
e2f78d056f14: Download complete
ba793bb5beb0: Download complete
9c6fe351d4a0: Download complete
564e99fe143b: Download complete
d4d28bcef407: Download complete
377ba0623335: Download complete
da34fb180d01: Download complete
e662a1397458: Download complete
83257097193a: Download complete
60ea3c49c796: Download complete
b3bd38aab0f6: Download complete
4de22538118e: Download complete
25cf34d42617: Download complete
912ae8410047: Download complete
9b6209b21f89: Download complete
1edfdbef3d97: Download complete
88d893e5be7c: Download complete
126b08a94339: Download complete
8f4517454b55: Download complete
75d3b10e39b6: Download complete
f4ee7bf85263: Download complete
e91df39e5278: Download complete
6a82a42dca5c: Download complete
4429e2badffb: Download complete
b1fbd916a7fd: Download complete
3fec094de8af: Download complete
57311f690d79: Download complete
30eef54b06d3: Download complete
533e89ddc74f: Download complete
c152db51e160: Download complete
c04c8e3d3f1e: Download complete
6270755c49c6: Download complete
b04ea1c225fc: Download complete
0ff11adca159: Download complete
a5900fead2e7: Download complete
4220ab45da32: Pull complete
3fec094de8af: Pull complete
57311f690d79: Pull complete
30eef54b06d3: Pull complete
533e89ddc74f: Pull complete
b1fbd916a7fd: Pull complete
c04c8e3d3f1e: Pull complete
6270755c49c6: Pull complete
c152db51e160: Pull complete
0ff11adca159: Pull complete
b04ea1c225fc: Pull complete
a5900fead2e7: Pull complete
05e1fa67ae7b: Pull complete
55efbe71dad7: Pull complete
fae57dc97efc: Pull complete
c9bb173ce1a5: Pull complete
ad7655ca63f7: Pull complete
c302f0c4c32a: Pull complete
2313612dd8ff: Pull complete
e256e1e3d8f9: Pull complete
4d0473eb5f61: Pull complete
24f7364b1ed7: Pull complete
e2f78d056f14: Pull complete
ba793bb5beb0: Pull complete
9c6fe351d4a0: Pull complete
564e99fe143b: Pull complete
d4d28bcef407: Pull complete
377ba0623335: Pull complete
da34fb180d01: Pull complete
e662a1397458: Pull complete
83257097193a: Pull complete
60ea3c49c796: Pull complete
b3bd38aab0f6: Pull complete
4de22538118e: Pull complete
25cf34d42617: Pull complete
912ae8410047: Pull complete
9b6209b21f89: Pull complete
1edfdbef3d97: Pull complete
88d893e5be7c: Pull complete
126b08a94339: Pull complete
8f4517454b55: Pull complete
75d3b10e39b6: Pull complete
f4ee7bf85263: Pull complete
e91df39e5278: Pull complete
6a82a42dca5c: Pull complete
4429e2badffb: Pull complete
97bbdb242e6f: Pull complete
Digest: sha256:7880f01608ed54b763671e045bd8a2e774b3ad2d41f674f0a7e2af2a1195fca5
Status: Image is up to date for registry.prod.codeclimate.net/codeclimate/codeclimate-structure:b1673
docker pull codeclimate/codeclimate-duplication:b1329
b1329: Pulling from codeclimate/codeclimate-duplication
bff3e048017e: Already exists
339148ecceb7: Already exists
75031b9f2662: Already exists
23e4bece904f: Already exists
580694eb2ab1: Already exists
4220ab45da32: Already exists
3fec094de8af: Already exists
57311f690d79: Already exists
30eef54b06d3: Already exists
533e89ddc74f: Already exists
b1fbd916a7fd: Already exists
c04c8e3d3f1e: Already exists
6270755c49c6: Already exists
c152db51e160: Already exists
0ff11adca159: Already exists
b04ea1c225fc: Already exists
a5900fead2e7: Already exists
05e1fa67ae7b: Already exists
55efbe71dad7: Already exists
fae57dc97efc: Already exists
c9bb173ce1a5: Already exists
ad7655ca63f7: Already exists
c302f0c4c32a: Already exists
2313612dd8ff: Already exists
e256e1e3d8f9: Already exists
4d0473eb5f61: Already exists
24f7364b1ed7: Already exists
e2f78d056f14: Already exists
ba793bb5beb0: Already exists
9c6fe351d4a0: Already exists
564e99fe143b: Already exists
d4d28bcef407: Already exists
377ba0623335: Already exists
da34fb180d01: Already exists
e662a1397458: Already exists
83257097193a: Already exists
60ea3c49c796: Already exists
b3bd38aab0f6: Already exists
4de22538118e: Already exists
25cf34d42617: Already exists
912ae8410047: Already exists
9b6209b21f89: Already exists
1edfdbef3d97: Already exists
88d893e5be7c: Already exists
126b08a94339: Already exists
8f4517454b55: Already exists
75d3b10e39b6: Already exists
f4ee7bf85263: Already exists
5bdda228a9bd: Pulling fs layer
537f66dfc79a: Pulling fs layer
7621b06003bb: Pulling fs layer
e291ef4014ba: Pulling fs layer
bd60c2073336: Pulling fs layer
64534cad8c58: Pulling fs layer
b90a9e1afea5: Pulling fs layer
e291ef4014ba: Waiting
bd60c2073336: Waiting
b90a9e1afea5: Waiting
64534cad8c58: Waiting
5bdda228a9bd: Verifying Checksum
5bdda228a9bd: Download complete
7621b06003bb: Verifying Checksum
7621b06003bb: Download complete
537f66dfc79a: Download complete
5bdda228a9bd: Pull complete
e291ef4014ba: Verifying Checksum
e291ef4014ba: Download complete
537f66dfc79a: Pull complete
64534cad8c58: Verifying Checksum
64534cad8c58: Download complete
7621b06003bb: Pull complete
e291ef4014ba: Pull complete
bd60c2073336: Verifying Checksum
bd60c2073336: Download complete
b90a9e1afea5: Verifying Checksum
b90a9e1afea5: Download complete
bd60c2073336: Pull complete
64534cad8c58: Pull complete
b90a9e1afea5: Pull complete
Digest: sha256:08c94e28c0e5d2d83c4d56b338edbdb742d269db6facd9d6477b953dd95c4a14
Status: Downloaded newer image for registry.prod.codeclimate.net/codeclimate/codeclimate-duplication:b1329
docker pull codeclimate/codeclimate-markdownlint:b899
b899: Pulling from codeclimate/codeclimate-markdownlint
fc7181108d40: Pulling fs layer
fb832b8d529e: Pulling fs layer
f928adca00a3: Pulling fs layer
b83899fd2d55: Pulling fs layer
28b20e0f6f6d: Pulling fs layer
08fb5f231db7: Pulling fs layer
f38c4e552cb4: Pulling fs layer
55842d8caf87: Pulling fs layer
1714cd20476b: Pulling fs layer
56a5ac5fa648: Pulling fs layer
43c3c1d360a9: Pulling fs layer
d05637603ec0: Pulling fs layer
905f23712bf9: Pulling fs layer
eb5a5c105220: Pulling fs layer
28b20e0f6f6d: Waiting
08fb5f231db7: Waiting
43c3c1d360a9: Waiting
d05637603ec0: Waiting
f38c4e552cb4: Waiting
55842d8caf87: Waiting
1714cd20476b: Waiting
905f23712bf9: Waiting
56a5ac5fa648: Waiting
eb5a5c105220: Waiting
f928adca00a3: Verifying Checksum
f928adca00a3: Download complete
fb832b8d529e: Verifying Checksum
fb832b8d529e: Download complete
fc7181108d40: Verifying Checksum
fc7181108d40: Download complete
28b20e0f6f6d: Verifying Checksum
28b20e0f6f6d: Download complete
b83899fd2d55: Verifying Checksum
b83899fd2d55: Download complete
08fb5f231db7: Verifying Checksum
08fb5f231db7: Download complete
f38c4e552cb4: Verifying Checksum
f38c4e552cb4: Download complete
55842d8caf87: Verifying Checksum
55842d8caf87: Download complete
56a5ac5fa648: Verifying Checksum
56a5ac5fa648: Download complete
43c3c1d360a9: Download complete
d05637603ec0: Download complete
905f23712bf9: Verifying Checksum
905f23712bf9: Download complete
eb5a5c105220: Verifying Checksum
eb5a5c105220: Download complete
fc7181108d40: Pull complete
fb832b8d529e: Pull complete
f928adca00a3: Pull complete
1714cd20476b: Verifying Checksum
1714cd20476b: Download complete
b83899fd2d55: Pull complete
28b20e0f6f6d: Pull complete
08fb5f231db7: Pull complete
f38c4e552cb4: Pull complete
55842d8caf87: Pull complete
1714cd20476b: Pull complete
56a5ac5fa648: Pull complete
43c3c1d360a9: Pull complete
d05637603ec0: Pull complete
905f23712bf9: Pull complete
eb5a5c105220: Pull complete
Digest: sha256:482ba0cc7d87edf77cc280a8550578f40adf0e2514c3744317761f3092c7239c
Status: Downloaded newer image for registry.prod.codeclimate.net/codeclimate/codeclimate-markdownlint:b899
docker pull codeclimate/codeclimate-pep8:b25
b25: Pulling from codeclimate/codeclimate-pep8
ab6db1bc80d0: Pulling fs layer
bf17e9a1c113: Pulling fs layer
4f8d95c214b1: Pulling fs layer
0de813e89c33: Pulling fs layer
a9696c7f4cd8: Pulling fs layer
51b9219e6e44: Pulling fs layer
e3c7e34cb08c: Pulling fs layer
328f3a57c882: Pulling fs layer
43b5f16a0c84: Pulling fs layer
ab6db1bc80d0: Waiting
328f3a57c882: Waiting
0de813e89c33: Waiting
bf17e9a1c113: Waiting
51b9219e6e44: Waiting
43b5f16a0c84: Waiting
4f8d95c214b1: Waiting
a9696c7f4cd8: Waiting
e3c7e34cb08c: Waiting
ab6db1bc80d0: Download complete
bf17e9a1c113: Download complete
4f8d95c214b1: Verifying Checksum
4f8d95c214b1: Download complete
a9696c7f4cd8: Verifying Checksum
a9696c7f4cd8: Download complete
0de813e89c33: Verifying Checksum
0de813e89c33: Download complete
51b9219e6e44: Verifying Checksum
51b9219e6e44: Download complete
e3c7e34cb08c: Download complete
328f3a57c882: Verifying Checksum
328f3a57c882: Download complete
43b5f16a0c84: Download complete
ab6db1bc80d0: Pull complete
bf17e9a1c113: Pull complete
4f8d95c214b1: Pull complete
0de813e89c33: Pull complete
a9696c7f4cd8: Pull complete
51b9219e6e44: Pull complete
e3c7e34cb08c: Pull complete
328f3a57c882: Pull complete
43b5f16a0c84: Pull complete
Digest: sha256:75f70c714bc5f9e65359d45469a1fe7c1b181a15aee8fbabec7e23c65b19d447
Status: Downloaded newer image for registry.prod.codeclimate.net/codeclimate/codeclimate-pep8:b25
docker pull codeclimate/codeclimate-radon:b695
b695: Pulling from codeclimate/codeclimate-radon
e00d546a75ad: Pulling fs layer
21f0a0866768: Pulling fs layer
cd9d3946aa16: Pulling fs layer
2e56add6654f: Pulling fs layer
6c87f215a2be: Pulling fs layer
c2b31566ca3d: Pulling fs layer
2e56add6654f: Waiting
6c87f215a2be: Waiting
c2b31566ca3d: Waiting
21f0a0866768: Verifying Checksum
21f0a0866768: Download complete
e00d546a75ad: Verifying Checksum
e00d546a75ad: Download complete
cd9d3946aa16: Download complete
6c87f215a2be: Verifying Checksum
6c87f215a2be: Download complete
c2b31566ca3d: Verifying Checksum
c2b31566ca3d: Download complete
e00d546a75ad: Pull complete
21f0a0866768: Pull complete
2e56add6654f: Verifying Checksum
2e56add6654f: Download complete
cd9d3946aa16: Pull complete
2e56add6654f: Pull complete
6c87f215a2be: Pull complete
c2b31566ca3d: Pull complete
Digest: sha256:dfeb7edc634b4e2f851f3c788f7c21bd8bae097d4c66af722c76a6ba51121f98
Status: Downloaded newer image for registry.prod.codeclimate.net/codeclimate/codeclimate-radon:b695
docker pull codeclimate/codeclimate-sonar-python:b10
b10: Pulling from codeclimate/codeclimate-sonar-python
709515475419: Pulling fs layer
d1c225ed7c34: Pulling fs layer
887f300163b6: Pulling fs layer
a3ed95caeb02: Pulling fs layer
9b412187b352: Pulling fs layer
8fe915fa1948: Pulling fs layer
65145a386a45: Pulling fs layer
a64dfb9c0f27: Pulling fs layer
59a464ab5a51: Pulling fs layer
47413513c002: Pulling fs layer
9f30da6d3676: Pulling fs layer
9b412187b352: Waiting
a3ed95caeb02: Waiting
59a464ab5a51: Waiting
47413513c002: Waiting
9f30da6d3676: Waiting
8fe915fa1948: Waiting
d1c225ed7c34: Download complete
709515475419: Verifying Checksum
a3ed95caeb02: Verifying Checksum
a3ed95caeb02: Download complete
9b412187b352: Verifying Checksum
9b412187b352: Download complete
709515475419: Pull complete
65145a386a45: Download complete
d1c225ed7c34: Pull complete
887f300163b6: Verifying Checksum
887f300163b6: Download complete
59a464ab5a51: Download complete
8fe915fa1948: Verifying Checksum
8fe915fa1948: Download complete
a64dfb9c0f27: Verifying Checksum
a64dfb9c0f27: Download complete
47413513c002: Verifying Checksum
47413513c002: Download complete
9f30da6d3676: Verifying Checksum
9f30da6d3676: Download complete
887f300163b6: Pull complete
a3ed95caeb02: Pull complete
9b412187b352: Pull complete
8fe915fa1948: Pull complete
65145a386a45: Pull complete
a64dfb9c0f27: Pull complete
59a464ab5a51: Pull complete
47413513c002: Pull complete
9f30da6d3676: Pull complete
Digest: sha256:7904831e83e5474cba8a95726a691787d74d669d74a8721f114057ebb4a8943d
Status: Downloaded newer image for registry.prod.codeclimate.net/codeclimate/codeclimate-sonar-python:b10
docker pull codeclimate/codeclimate-shellcheck:b684
b684: Pulling from codeclimate/codeclimate-shellcheck
Digest: sha256:e0b2536aefdfd2c58c796ab66fea38b8c8b0389ce41a9bbfcd59ccd54b530acc
Status: Image is up to date for registry.prod.codeclimate.net/codeclimate/codeclimate-shellcheck:b684
docker pull codeclimate/codeclimate-editorconfig:b855
b855: Pulling from codeclimate/codeclimate-editorconfig
a073c86ecf9e: Pulling fs layer
0e28711eb56d: Pulling fs layer
e460dd483fdd: Pulling fs layer
54992f8503df: Pulling fs layer
c2238fe48590: Pulling fs layer
cb4230eeef73: Pulling fs layer
b65d797fb447: Pulling fs layer
b85108c1334c: Pulling fs layer
54992f8503df: Waiting
b65d797fb447: Waiting
b85108c1334c: Waiting
c2238fe48590: Waiting
cb4230eeef73: Waiting
e460dd483fdd: Verifying Checksum
e460dd483fdd: Download complete
a073c86ecf9e: Verifying Checksum
a073c86ecf9e: Download complete
54992f8503df: Verifying Checksum
54992f8503df: Download complete
0e28711eb56d: Verifying Checksum
0e28711eb56d: Download complete
c2238fe48590: Download complete
a073c86ecf9e: Pull complete
b65d797fb447: Verifying Checksum
b65d797fb447: Download complete
b85108c1334c: Verifying Checksum
b85108c1334c: Download complete
cb4230eeef73: Verifying Checksum
cb4230eeef73: Download complete
0e28711eb56d: Pull complete
e460dd483fdd: Pull complete
54992f8503df: Pull complete
c2238fe48590: Pull complete
cb4230eeef73: Pull complete
b65d797fb447: Pull complete
b85108c1334c: Pull complete
Digest: sha256:6d2c4a9632c2f4d3d5c7ea8aa58739fb07a6276a39847a8c00276e38cf1de302
Status: Downloaded newer image for registry.prod.codeclimate.net/codeclimate/codeclimate-editorconfig:b855
5
structure
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
6
duplication
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
I, [2024-11-06T13:42:29.891659 #1]  INFO -- : Skipping file build-scripts/generate_guides.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 73
    help=f"Version of OpenSCAP that owns {XCCDF_GUIDE_XSL}, eg. 1.3.8")
                                                                     ^
SyntaxError: invalid syntax


I, [2024-11-06T13:42:31.914212 #1]  INFO -- : Skipping file utils/render-rule.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 64
    f"{str(exc)}. Make sure that the product is compiled, "
                                                          ^
SyntaxError: invalid syntax


I, [2024-11-06T13:42:31.938135 #1]  INFO -- : Skipping file utils/srg_rule_audit.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 16
    def check_selection(product: str, selection: str) -> None:
                               ^
SyntaxError: invalid syntax


I, [2024-11-06T13:42:31.954549 #1]  INFO -- : Skipping file utils/ansible_shell_diff.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 56
    print(f"Changes in Ansible shell module have been found:")
                                                            ^
SyntaxError: invalid syntax


I, [2024-11-06T13:42:31.955116 #1]  INFO -- : Skipping file utils/controleval_metrics.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 25
    raise RuntimeError(msg) from e
                               ^
SyntaxError: invalid syntax


I, [2024-11-06T13:42:31.969966 #1]  INFO -- : Skipping file utils/refchecker.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 116
    print(msg, file=sys.stderr)
                   ^
SyntaxError: invalid syntax


I, [2024-11-06T13:42:31.973059 #1]  INFO -- : Skipping file utils/build_control_from_reference.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 21
    def _parse_args() -> argparse.Namespace:
                      ^
SyntaxError: invalid syntax


I, [2024-11-06T13:42:31.980815 #1]  INFO -- : Skipping file utils/generate_profile.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 41
    def setup_argument_parser() -> argparse.ArgumentParser:
                                ^
SyntaxError: invalid syntax


I, [2024-11-06T13:42:31.984382 #1]  INFO -- : Skipping file utils/render_all_policies.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 16
    def parse_args() -> argparse.Namespace:
                     ^
SyntaxError: invalid syntax


I, [2024-11-06T13:42:32.016013 #1]  INFO -- : Skipping file utils/create_srg_export.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 36
    f'{datetime.datetime.now().strftime("%s")}_stig_export.csv')
                                                              ^
SyntaxError: invalid syntax


I, [2024-11-06T13:42:32.033347 #1]  INFO -- : Skipping file utils/find_unused_rules.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 25
    def _parse_args() -> argparse.Namespace:
                      ^
SyntaxError: invalid syntax


I, [2024-11-06T13:42:32.060686 #1]  INFO -- : Skipping file utils/controleval.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 32
    raise RuntimeError(msg) from e
                               ^
SyntaxError: invalid syntax


I, [2024-11-06T13:42:32.108056 #1]  INFO -- : Skipping file utils/check_eof.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 14
    def parse_args() -> argparse.Namespace:
                     ^
SyntaxError: invalid syntax


I, [2024-11-06T13:42:32.166690 #1]  INFO -- : Skipping file utils/ansible_playbook_to_role.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 425
    ref = self.remote_repo.get_git_ref(f'heads/{branch}')
                                                       ^
SyntaxError: invalid syntax


I, [2024-11-06T13:42:32.174533 #1]  INFO -- : Skipping file utils/srg_audit.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 30
    def has_element(search: list, target: str) -> bool:
                          ^
SyntaxError: invalid syntax


I, [2024-11-06T13:42:32.237062 #1]  INFO -- : Skipping file utils/compare_results.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 34
    def get_wining_status(cls, current_status: str, proposed: str) -> str:
                                             ^
SyntaxError: invalid syntax


I, [2024-11-06T13:42:32.249269 #1]  INFO -- : Skipping file utils/compare_versions.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 11
    def parse_args() -> argparse.Namespace:
                     ^
SyntaxError: invalid syntax


I, [2024-11-06T13:42:32.282308 #1]  INFO -- : Skipping file utils/release_helper.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 23
    def get_parameter_from_ini(config_file, section, parameter) -> str:
                                                                ^
SyntaxError: invalid syntax


I, [2024-11-06T13:42:32.307182 #1]  INFO -- : Skipping file utils/build_ds_container.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 120
    log.debug(f'Created namespace {args.namespace}')
                                                  ^
SyntaxError: invalid syntax


I, [2024-11-06T13:42:32.319546 #1]  INFO -- : Skipping file utils/import_disa_stig.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 20
    def _parse_args() -> argparse.Namespace:
                      ^
SyntaxError: invalid syntax


I, [2024-11-06T13:42:32.488040 #1]  INFO -- : Skipping file utils/import_srg_spreadsheet.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 20
    def _parse_args() -> argparse.Namespace:
                      ^
SyntaxError: invalid syntax


I, [2024-11-06T13:42:32.553750 #1]  INFO -- : Skipping file utils/mod_checks.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 100
    file=sys.stderr)
        ^
SyntaxError: invalid syntax


I, [2024-11-06T13:42:32.576530 #1]  INFO -- : Skipping file utils/build_stig_control.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 28
    def check_output(output: str) -> None:
                           ^
SyntaxError: invalid syntax


I, [2024-11-06T13:42:32.594342 #1]  INFO -- : Skipping file utils/mod_fixes.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 102
    file=sys.stderr)
        ^
SyntaxError: invalid syntax


I, [2024-11-06T13:42:32.605075 #1]  INFO -- : Skipping file utils/srg_diff.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 23
    def _parse_args() -> argparse.Namespace:
                      ^
SyntaxError: invalid syntax


I, [2024-11-06T13:42:32.626256 #1]  INFO -- : Skipping file utils/render_components.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 32
    def parse_args() -> argparse.Namespace:
                     ^
SyntaxError: invalid syntax


I, [2024-11-06T13:42:32.640605 #1]  INFO -- : Skipping file utils/build_profiler_report.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 7
    def load_log_file(file) -> dict:
                            ^
SyntaxError: invalid syntax


I, [2024-11-06T13:42:32.641089 #1]  INFO -- : Skipping file utils/controlrefcheck.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 25
    def parse_args() -> argparse.Namespace:
                     ^
SyntaxError: invalid syntax


I, [2024-11-06T13:42:32.652802 #1]  INFO -- : Skipping file utils/oscal/build_cd_from_policy.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 23
    def _parse_args() -> argparse.Namespace:
                      ^
SyntaxError: invalid syntax


I, [2024-11-06T13:42:32.653661 #1]  INFO -- : Skipping file utils/oscal/control_selector.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 12
    def __init__(self) -> None:
                       ^
SyntaxError: invalid syntax


I, [2024-11-06T13:42:32.663682 #1]  INFO -- : Skipping file utils/oscal/cd_generator.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 59
    def from_string(source: str) -> str:
                          ^
SyntaxError: invalid syntax


I, [2024-11-06T13:42:32.664588 #1]  INFO -- : Skipping file utils/oscal/rules_transformer.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 38
    def __init__(self, rule_id: str, rule_dir: str) -> None:
                              ^
SyntaxError: invalid syntax


I, [2024-11-06T13:42:32.674315 #1]  INFO -- : Skipping file utils/oscal/__init__.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 14
    TRESTLE_CD_NS = f"{TRESTLE_GENERIC_NS}/cd"
                                             ^
SyntaxError: invalid syntax


I, [2024-11-06T13:42:32.676549 #1]  INFO -- : Skipping file utils/oscal/params_extractor.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 17
    def find_var_files(directory: str) -> Generator[str, None, None]:
                                ^
SyntaxError: invalid syntax


I, [2024-11-06T13:42:32.719472 #1]  INFO -- : Skipping file utils/srg_utils/yaml.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 12
    result = (*result, f"    {line}",)
              ^
SyntaxError: invalid syntax


I, [2024-11-06T13:42:32.729840 #1]  INFO -- : Skipping file utils/srg_utils/worksheet_utils.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 30
    def from_row(sheet: Worksheet, row_number: int, full_name: str, changed_name: str) -> Row:
                      ^
SyntaxError: invalid syntax


I, [2024-11-06T13:42:32.730974 #1]  INFO -- : Skipping file utils/srg_utils/__init__.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 12
    def get_full_name(root_dir: str, product: str) -> str:
                              ^
SyntaxError: invalid syntax


I, [2024-11-06T13:42:32.740915 #1]  INFO -- : Skipping file utils/srg_export/data.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 12
    def get_iacontrol_mapping(srg_id: str) -> dict:
                                    ^
SyntaxError: invalid syntax


I, [2024-11-06T13:42:32.742494 #1]  INFO -- : Skipping file utils/srg_export/html.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 48
    def handle_dict(data: list, output_path: str, title: str) -> None:
                        ^
SyntaxError: invalid syntax


I, [2024-11-06T13:42:32.752407 #1]  INFO -- : Skipping file utils/srg_export/md.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 4
    def get_heading(row: dict) -> str:
                       ^
SyntaxError: invalid syntax


I, [2024-11-06T13:42:32.753130 #1]  INFO -- : Skipping file utils/srg_export/xlsx.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 35
    def setup_sheet(sheet: openpyxl.worksheet.worksheet.Worksheet) -> None:
                         ^
SyntaxError: invalid syntax


I, [2024-11-06T13:42:32.763737 #1]  INFO -- : Skipping file utils/profile_tool/common.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 21
    values = ", ".join([f"{key}: {value}" for key, value in value_b.items()])
                                        ^
SyntaxError: invalid syntax


I, [2024-11-06T13:42:32.793573 #1]  INFO -- : Skipping file utils/profile_tool/profile.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 7
    if f"{profile_name}.profile" in profile_path:
                               ^
SyntaxError: invalid syntax


I, [2024-11-06T13:42:33.249515 #1]  INFO -- : Skipping file tests/check_pcre2_compatibility.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 11
    def parse_args() -> argparse.Namespace:
                     ^
SyntaxError: invalid syntax


I, [2024-11-06T13:42:33.259941 #1]  INFO -- : Skipping file tests/stig_srg_mapping.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 13
    print("The ssg module could not be found.", file=sys.stderr)
                                                    ^
SyntaxError: invalid syntax


I, [2024-11-06T13:42:33.300156 #1]  INFO -- : Skipping file tests/validate_automatus_metadata.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 14
    def _parse_args() -> argparse.Namespace:
                      ^
SyntaxError: invalid syntax


I, [2024-11-06T13:42:33.316324 #1]  INFO -- : Skipping file tests/assert_reference_unique.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 15
    def recursive_get_rule_files() -> Iterator[str]:
                                   ^
SyntaxError: invalid syntax


I, [2024-11-06T13:42:33.376605 #1]  INFO -- : Skipping file tests/cces-removed.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 13
    def _parse_args() -> argparse.Namespace:
                      ^
SyntaxError: invalid syntax


I, [2024-11-06T13:42:33.561824 #1]  INFO -- : Skipping file tests/install_vm.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 166
    print(f'Waiting for {domain} VM to shutdown (max. {timeout}s)')
                                                                 ^
SyntaxError: invalid syntax
7
markdownlint
markdownlint engine documentation
View output
/usr/local/bundle/gems/posix-spawn-0.3.11/lib/posix/spawn.rb:467: warning: constant ::Fixnum is deprecated
/usr/local/bundle/gems/mdl-0.5.0/lib/mdl/rules.rb:624:in `block (3 levels) in load': undefined method `type' for nil:NilClass (NoMethodError)
	from /usr/local/bundle/gems/mdl-0.5.0/lib/mdl/rules.rb:623:in `select'
	from /usr/local/bundle/gems/mdl-0.5.0/lib/mdl/rules.rb:623:in `block (2 levels) in load'
	from /usr/local/bundle/gems/mdl-0.5.0/lib/mdl.rb:86:in `block (2 levels) in run'
	from /usr/local/bundle/gems/mdl-0.5.0/lib/mdl.rb:84:in `each'
	from /usr/local/bundle/gems/mdl-0.5.0/lib/mdl.rb:84:in `block in run'
	from /usr/local/bundle/gems/mdl-0.5.0/lib/mdl.rb:74:in `each'
	from /usr/local/bundle/gems/mdl-0.5.0/lib/mdl.rb:74:in `run'
	from /usr/local/bundle/gems/mdl-0.5.0/bin/mdl:10:in `<top (required)>'
	from /usr/local/bundle/bin/mdl:23:in `load'
	from /usr/local/bundle/bin/mdl:23:in `<main>'
8
pep8
pep8 engine documentation
View output
build-scripts/combine_ovals.py build-scripts/build_all_guides.py build-scripts/compile_product.py build-scripts/compose_ds.py build-scripts/generate_profile_remediations.py build-scripts/build_xccdf.py build-scripts/cpe_generate.py build-scripts/verify_references.py build-scripts/build_sce.py build-scripts/generate_manifest.py build-scripts/enable_derivatives.py build-scripts/collect_remediations.py build-scripts/generate_man_page.py build-scripts/expand_jinja.py build-scripts/build_rule_playbooks.py build-scripts/profile_tool.py build-scripts/generate_guides.py build-scripts/build_templated_content.py build-scripts/compile_all.py ssg/content_diff.py ssg/build_stig.py ssg/build_ovals.py ssg/contributors.py ssg/rules.py ssg/shims.py ssg/rule_dir_stats.py ssg/yaml.py ssg/build_remediations.py ssg/build_guides.py ssg/boolean_expression.py ssg/build_cpe.py ssg/build_derivatives.py ssg/environment.py ssg/parse_oval.py ssg/build_sce.py ssg/build_profile.py ssg/checks.py ssg/requirement_specs.py ssg/products.py ssg/constants.py ssg/templates.py ssg/fixes.py ssg/oval.py ssg/build_renumber.py ssg/xccdf.py ssg/components.py ssg/build_yaml.py ssg/cce.py ssg/__init__.py ssg/ansible.py ssg/utils.py ssg/controls.py ssg/id_translate.py ssg/jinja.py ssg/rule_yaml.py ssg/playbook_builder.py ssg/xml.py ssg/entities/profile_base.py ssg/entities/common.py ssg/entities/profile.py ssg/entities/__init__.py ssg/ext/boolean/boolean.py ssg/ext/boolean/__init__.py ssg/ext/__init__.py ssg/oval_object_model/general.py ssg/oval_object_model/oval_container.py ssg/oval_object_model/oval_entities/variable.py ssg/oval_object_model/oval_entities/test.py ssg/oval_object_model/oval_entities/__init__.py ssg/oval_object_model/oval_entities/state.py ssg/oval_object_model/oval_entities/definition.py ssg/oval_object_model/oval_entities/object.py ssg/oval_object_model/oval_shorthand.py ssg/oval_object_model/oval_document.py ssg/oval_object_model/__init__.py ssg/oval_object_model/oval_definition_references.py utils/render-rule.py utils/srg_rule_audit.py utils/ansible_shell_diff.py utils/controleval_metrics.py utils/refchecker.py utils/build_control_from_reference.py utils/generate_profile.py utils/render_all_policies.py utils/create-stig-overlay.py utils/create_srg_export.py utils/find_unused_rules.py utils/gen_multiple_reference_tables.py utils/add_kubernetes_rule.py utils/controleval.py utils/check_eof.py utils/gen_rendered_policies_index.py utils/compare_ds.py utils/render-policy.py utils/gen_html_guides_index.py utils/ansible_playbook_to_role.py utils/srg_audit.py utils/gen_stig_table.py utils/create_scap_delta_tailoring.py utils/compare_results.py utils/template_renderer.py utils/compare_versions.py utils/generate_contributors.py utils/gen_tables.py utils/release_helper.py utils/fix_rules.py utils/build_ds_container.py utils/import_disa_stig.py utils/rule_dir_json.py utils/gen_profile_table.py utils/import_srg_spreadsheet.py utils/find_duplicates.py utils/__init__.py utils/shorthand_to_oval.py utils/mod_checks.py utils/gen_reference_table.py utils/render-rules.py utils/build_stig_control.py utils/regexify_banner.py utils/mod_fixes.py utils/srg_diff.py utils/gen_srg_table.py utils/render_components.py utils/build_profiler_report.py utils/controlrefcheck.py utils/oscal/build_cd_from_policy.py utils/oscal/control_selector.py utils/oscal/cd_generator.py utils/oscal/rules_transformer.py utils/oscal/__init__.py utils/oscal/params_extractor.py utils/rendering/common.py utils/rendering/__init__.py utils/tables/table_renderer.py utils/tables/__init__.py utils/srg_utils/yaml.py utils/srg_utils/worksheet_utils.py utils/srg_utils/__init__.py utils/srg_export/data.py utils/srg_export/html.py utils/srg_export/md.py utils/srg_export/xlsx.py utils/srg_export/__init__.py utils/profile_tool/common.py utils/profile_tool/sub.py utils/profile_tool/most_used_rules.py utils/profile_tool/profile.py utils/profile_tool/most_used_components.py utils/profile_tool/stats.py utils/profile_tool/__init__.py shared/templates/compliance_operator_not_found/template.py shared/templates/audit_rules_unsuccessful_file_modification/template.py shared/templates/accounts_password/template.py shared/templates/file_owner/template.py shared/templates/audit_rules_privileged_commands/template.py shared/templates/kernel_build_config/template.py shared/templates/auditd_lineinfile/template.py shared/templates/service_disabled/template.py shared/templates/file_existence/template.py shared/templates/grub2_bootloader_argument/template.py shared/templates/dconf_ini_file/template.py shared/templates/mount_option/template.py shared/templates/socket_disabled/template.py shared/templates/lineinfile/template.py shared/templates/platform_service_disabled/template.py shared/templates/firefox_policy-setting/template.py shared/templates/audit_rules_file_deletion_events/template.py shared/templates/sebool/template.py shared/templates/platform_package/template.py shared/templates/timer_enabled/template.py shared/templates/pam_options/template.py shared/templates/systemd_mount_enabled/template.py shared/templates/mount_option_remote_filesystems/template.py shared/templates/file_permissions/template.py shared/templates/mount/template.py shared/templates/coreos_kernel_option/template.py shared/templates/service_enabled/template.py shared/templates/audit_file_contents/template.py shared/templates/audit_rules_login_events/template.py shared/templates/audit_rules_usergroup_modification/template.py shared/templates/package_installed/template.py shared/templates/rsyslog_logfiles_attributes_modify/template.py shared/templates/key_value_pair_in_file/template.py shared/templates/sshd_lineinfile/template.py shared/templates/audit_rules_watch/template.py shared/templates/shell_lineinfile/template.py shared/templates/file_groupowner/template.py shared/templates/grub2_bootloader_argument_absent/template.py shared/templates/sudo_defaults_option/template.py shared/templates/audit_rules_path_syscall/template.py shared/templates/yamlfile_value/template.py shared/templates/audit_rules_dac_modification/template.py shared/templates/sysctl/template.py tests/check_pcre2_compatibility.py tests/stig_srg_mapping.py tests/test_product_stability.py tests/test_reference_titles_in_benchmark.py tests/validate_automatus_metadata.py tests/assert_reference_unique.py tests/ensure_paths_are_short.py tests/test_ds_sce.py tests/ansible_playbooks_generated_for_all_rules.py tests/assert_ansible_schema.py tests/cces-removed.py tests/stable_profile_ids.py tests/test_thin_ds.py tests/oval_tester.py tests/test_macros_oval.py tests/analyze_results.py tests/automatus.py tests/__init__.py tests/test_suite.py tests/missing_cces.py tests/test_profile_stability.py tests/test_machine_only_rules.py tests/install_vm.py tests/test_components.py tests/run_scapval.py tests/ssg_test_suite/log.py tests/ssg_test_suite/oscap.py tests/ssg_test_suite/template.py tests/ssg_test_suite/combined.py tests/ssg_test_suite/rule.py tests/ssg_test_suite/common.py tests/ssg_test_suite/xml_operations.py tests/ssg_test_suite/profile.py tests/ssg_test_suite/virt.py tests/ssg_test_suite/__init__.py tests/ssg_test_suite/test_env.py
9
radon
radon engine documentation
View output
Running radon3...
10
sonar-python
sonar-python engine documentation
View output
INFO: Java 1.8.0_111-internal Oracle Corporation (64-bit)
INFO: Linux 4.4.0-1128-aws amd64
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/usr/src/app/build/libs/sonarlint-core-2.17.0.899.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/src/app/build/libs/sonarlint-cli-2.1.0.566.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelectorStaticBinder]
INFO: Index files
INFO: 287 files indexed
ERROR: Unable to parse file: /code/utils/build_control_from_reference.py
ERROR: Parse error at line 63 column 17:

   58: join(root, "product_properties"))
   59:     return env_yaml
   60: 
   61: 
   62: def _get_id_mapping(env_yaml, reference, json_path: str) -> Dict:
  -->      rule_dir_json: Dict = _get_rule_dirs(json_path)
   64:     id_mapping: Dict[str, list[str]] = defaultdict(list)                                     
   65:     for rule_id, rule_obj in

ERROR: Unable to parse file: /code/utils/oscal/control_selector.py
ERROR: Parse error at line 45 column 21:

   40: =env_yaml)
   41:         controls_manager.load()
   42:         if control not in controls_manager.policies:
   43:             raise ValueError(f"Policy {control} not found in controls")
   44: 
  -->          self.controls: List[Control] = list()
   46:         if filter_by_level:
   47:             policy = controls_manager.policies[control]
   48:             if filter_by_level not in policy.

ERROR: Unable to parse file: /code/utils/oscal/cd_generator.py
ERROR: Parse error at line 85 column 29:

   80: """Helper class to handle OSCAL profile."""
   81: 
   82:     def __init__(self, trestle_root: pathlib.Path) -> None:
   83:         """Initialize."""
   84:         self._root = trestle_root
  -->          self.profile_controls: Set[str] = set()
   86:         self.controls_by_label: Dict[str, str] = dict()
   87: 
   88:     def load(self

ERROR: Unable to parse file: /code/utils/oscal/rules_transformer.py
ERROR: Parse error at line 43 column 24:

   38: ) -> None:
   39:         """Initialize."""
   40:         self._id = rule_id
   41:         self._description = ""
   42:         self._rule_dir = rule_dir
  -->          self._parameters: List[ParamInfo] = list()
   44: 
   45:     @property
   46:     def id(self) -> str:
   47:         """Get the id."""
   48:         return self.

ERROR: Unable to parse file: /code/utils/oscal/params_extractor.py
ERROR: Parse error at line 33 column 21:

   28: ) -> None:
   29:         """Initialize."""
   30:         self._id = param_id
   31:         self._description = description
   32:         self._value = ""
  -->          self._options: Dict[str, str] = dict()
   34: 
   35:     @property
   36:     def id(self) -> str:
   37:         """Get the id."""
   38:         return

ERROR: Unable to parse file: /code/tests/check_pcre2_compatibility.py
ERROR: Parse error at line 28 column 11:

   23: not None:
   24:                 yield el.text
   25: 
   26: 
   27: def extract_all_regexes_from_oval(root: ET.Element) -> list:
  -->      regexes: List[str] = []
   29:     sections_xpaths = ["./oval-def:objects", "./oval-def:states"]
   30:     for section_xpath in sections_xpaths:
   31:         regexes += find_all_patern_match(root,

ERROR: Unable to parse file: /code/tests/cces-removed.py
ERROR: Parse error at line 37 column 15:

   33: add(identifier_value)
   34: 
   35: 
   36: def _get_cces_in_use(data: dict, products: str) -> Set[str]:
  -->      cces_in_use: Set[str] = set()
   38:     for _, rule_obj in data.items():
   39:         _process_rule(cces_in_use, products, rule_obj

INFO: ------------------------------------------------------------------------
INFO: EXECUTION SUCCESS
INFO: ------------------------------------------------------------------------
INFO: Total time: 2.971s
INFO: Final Memory: 23M/1149M
INFO: ------------------------------------------------------------------------
11
shellcheck
shellcheck engine documentation
12
editorconfig
editorconfig engine documentation