failmap/admin

View on GitHub
Create publiccode.yml #196
Elger Jonker authored 371106cd
complete00:00:37
Your first build completed successfully!

Congratulations

Your first build completed successfully!

See the Results

1
git clone
2
codeclimate validate-config
View output
codeclimate validate-config
WARNING: 'engines' has been deprecated, please use 'plugins' instead
WARNING: 'exclude_paths' has been deprecated, please use 'exclude_patterns' instead
WARNING: 'ratings' has been deprecated, and will not be used
3
codeclimate prepare
View output
codeclimate prepare
4
builder pull-engines
View output
determining required images
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
0de813e89c33: Waiting
a9696c7f4cd8: Waiting
51b9219e6e44: Waiting
e3c7e34cb08c: Waiting
328f3a57c882: Waiting
43b5f16a0c84: Waiting
bf17e9a1c113: Verifying Checksum
bf17e9a1c113: Download complete
4f8d95c214b1: Download complete
ab6db1bc80d0: Verifying Checksum
ab6db1bc80d0: Download complete
a9696c7f4cd8: Verifying Checksum
a9696c7f4cd8: Download complete
ab6db1bc80d0: Pull complete
bf17e9a1c113: Pull complete
51b9219e6e44: Verifying Checksum
51b9219e6e44: Download complete
e3c7e34cb08c: Download complete
0de813e89c33: Verifying Checksum
0de813e89c33: Download complete
4f8d95c214b1: Pull complete
43b5f16a0c84: Verifying Checksum
43b5f16a0c84: Download complete
328f3a57c882: Verifying Checksum
328f3a57c882: Download 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
c2b31566ca3d: Waiting
6c87f215a2be: Waiting
21f0a0866768: Verifying Checksum
21f0a0866768: Download complete
e00d546a75ad: Download complete
e00d546a75ad: Pull complete
6c87f215a2be: Verifying Checksum
6c87f215a2be: Download complete
cd9d3946aa16: Verifying Checksum
cd9d3946aa16: Download complete
21f0a0866768: Pull complete
c2b31566ca3d: Verifying Checksum
c2b31566ca3d: Download complete
cd9d3946aa16: Pull complete
2e56add6654f: Verifying Checksum
2e56add6654f: Download 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-shellcheck:b684
b684: Pulling from codeclimate/codeclimate-shellcheck
c19324d1d971: Pulling fs layer
b9d55d77164a: Pulling fs layer
8f50218ab73b: Pulling fs layer
9e528ae5c4ee: Pulling fs layer
b33d2a2eed86: Pulling fs layer
0c8afc39cf9e: Pulling fs layer
40c725c46ebc: Pulling fs layer
e49c9aa32ee7: Pulling fs layer
93181916221c: Pulling fs layer
9e528ae5c4ee: Waiting
b33d2a2eed86: Waiting
0c8afc39cf9e: Waiting
40c725c46ebc: Waiting
e49c9aa32ee7: Waiting
8f50218ab73b: Verifying Checksum
8f50218ab73b: Download complete
b9d55d77164a: Verifying Checksum
b9d55d77164a: Download complete
9e528ae5c4ee: Verifying Checksum
9e528ae5c4ee: Download complete
c19324d1d971: Verifying Checksum
c19324d1d971: Download complete
b33d2a2eed86: Verifying Checksum
b33d2a2eed86: Download complete
c19324d1d971: Pull complete
0c8afc39cf9e: Download complete
b9d55d77164a: Pull complete
93181916221c: Verifying Checksum
93181916221c: Download complete
e49c9aa32ee7: Verifying Checksum
e49c9aa32ee7: Download complete
40c725c46ebc: Verifying Checksum
40c725c46ebc: Download complete
8f50218ab73b: Pull complete
9e528ae5c4ee: Pull complete
b33d2a2eed86: Pull complete
0c8afc39cf9e: Pull complete
40c725c46ebc: Pull complete
e49c9aa32ee7: Pull complete
93181916221c: Pull complete
Digest: sha256:e0b2536aefdfd2c58c796ab66fea38b8c8b0389ce41a9bbfcd59ccd54b530acc
Status: Downloaded newer image for registry.prod.codeclimate.net/codeclimate/codeclimate-shellcheck:b684
5
structure
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
W, [2024-05-30T02:33:17.964718 #1]  WARN -- : Skipping websecmap/map/static/js/translations/internet_nl.nl.js due to CC::Parser::Client::HTTPError
W, [2024-05-30T02:33:17.964765 #1]  WARN -- : Response status: 422
W, [2024-05-30T02:33:17.972038 #1]  WARN -- : Skipping websecmap/map/static/js/translations/internet_nl.en.js due to CC::Parser::Client::HTTPError
W, [2024-05-30T02:33:17.972073 #1]  WARN -- : Response status: 422
W, [2024-05-30T02:33:18.020925 #1]  WARN -- : Skipping websecmap/map/static/js/translations/internet_nl.js due to CC::Parser::Client::HTTPError
W, [2024-05-30T02:33:18.020962 #1]  WARN -- : Response status: 422
6
duplication
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
W, [2024-05-30T02:33:24.890909 #1]  WARN -- : Skipping ./websecmap/map/static/js/translations/internet_nl.nl.js due to CC::Parser::Client::HTTPError
W, [2024-05-30T02:33:24.890956 #1]  WARN -- : Response status: 422
W, [2024-05-30T02:33:24.897107 #1]  WARN -- : Skipping ./websecmap/map/static/js/translations/internet_nl.en.js due to CC::Parser::Client::HTTPError
W, [2024-05-30T02:33:24.897150 #1]  WARN -- : Response status: 422
W, [2024-05-30T02:33:24.958464 #1]  WARN -- : Skipping ./websecmap/map/static/js/translations/internet_nl.js due to CC::Parser::Client::HTTPError
W, [2024-05-30T02:33:24.958781 #1]  WARN -- : Response status: 422
I, [2024-05-30T02:33:25.077818 #1]  INFO -- : Skipping file ./tests/integration/integration_scanners/test_dummy.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 50
    def text(filepath: str):
                     ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:25.120746 #1]  INFO -- : Skipping file ./websecmap/organizations/management/commands/hash_coordinates.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
    log.info(f"Done creating hashes for {len(coordinates)}.")
                                                           ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:25.158076 #1]  INFO -- : Skipping file ./websecmap/organizations/management/commands/create_dataset_sql_dump.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
    f"mysqldump -u [todo] -p [todo] "
                                    ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:25.165727 #1]  INFO -- : Skipping file ./websecmap/organizations/management/commands/reset_autocomputed_fields_in_urls.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
    print(f"Going to re-calculate and save autocomputed_ values for {len(urls)} urls.")
                                                                                     ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:25.180995 #1]  INFO -- : Skipping file ./websecmap/organizations/management/commands/one_shot_merge_NL_municipalities_2021.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 67
    def rebuild_reports(organizations: List[str]):
                                     ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:25.227121 #1]  INFO -- : Skipping file ./websecmap/organizations/management/commands/add_urls.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 53
    def get_new_urls(urls: List[str]):
                         ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:25.237731 #1]  INFO -- : Skipping file ./websecmap/organizations/management/commands/copy_urls.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
    f"Either source or target does not exist in the database. "
                                                              ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:25.288120 #1]  INFO -- : Skipping file ./websecmap/organizations/datasources/__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 101
    def url_to_filename(url: str):
                           ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:25.337225 #1]  INFO -- : Skipping file websecmap/organizations/admin.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 245
    def generic_action(self, task_composer: types.compose_task, name: str, request, queryset):
                                          ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:25.347906 #1]  INFO -- : Skipping file websecmap/organizations/adminstrative_transformations.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
    source_organizations_names: List[str],
                              ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:25.348925 #1]  INFO -- : Skipping file websecmap/organizations/models.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 129
    def add_url(self, url: str):
                         ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:25.388004 #1]  INFO -- : Skipping file ./websecmap/celery/__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 79
    def __init__(self, message, *args, cause=None):
                                           ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:25.398739 #1]  INFO -- : Skipping file websecmap/types.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
    organizations_filter: dict = dict(),
                        ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:25.586529 #1]  INFO -- : Skipping file websecmap/game/models.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 44
    return f"{self.name}"
                        ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:25.601356 #1]  INFO -- : Skipping file websecmap/app/debug.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 8
    def count_queries(message: str = ""):
                             ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:25.792562 #1]  INFO -- : Skipping file ./websecmap/app/tests/test_periodic_tasks.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
    log.debug(f"Checking of the imported module {module_name} actually has the method {method}.")
                                                                                               ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:25.811250 #1]  INFO -- : Skipping file websecmap/app/progressbar.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
    print("\r%s |%s| %s%% %s" % (prefix, bar, percent, suffix), end="\r")
                                                                   ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:25.900078 #1]  INFO -- : Skipping file websecmap/app/constance.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 10
    def get_bulk_values(keys: List[str]):
                            ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:25.911394 #1]  INFO -- : Skipping file websecmap/app/models.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 78
    def create(cls, task: celery.Task, name: str, request, *args, **kwargs) -> "Job":
                        ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:26.067914 #1]  INFO -- : Skipping file ./websecmap/scanners/management/commands/revive.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 69
    def revive(object_type, date, preview: bool = True):
                                         ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:26.090321 #1]  INFO -- : Skipping file ./websecmap/scanners/management/commands/plan_create_periodic_tasks.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 plan_daily(scanner: str, method: str, interval: str = "every day"):
                          ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:26.127144 #1]  INFO -- : Skipping file websecmap/scanners/plannedscan.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 47
    def calculate_progress() -> List[Dict[str, int]]:
                             ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:26.136613 #1]  INFO -- : Skipping file websecmap/scanners/autoexplain.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 add_bot_explanation(scan: EndpointGenericScan, explanation: str, duration: timedelta):
                                ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:26.138409 #1]  INFO -- : Skipping file websecmap/scanners/scanmanager.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 store_endpoint_scan_result(scan_type: str, endpoint_id: int, rating: str, message: str, evidence: str = ""):
                                            ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:26.165571 #1]  INFO -- : Skipping file ./websecmap/scanners/tests/test_autoexplain.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
    with open(f"{current_path}/websecmap/scanners/tests/autoexplain/valid_chain.json") as f:
                                                                                    ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:26.176460 #1]  INFO -- : Skipping file ./websecmap/scanners/tests/test_remove_duplicate_endpoints_2.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 22
    target_ep = Endpoint.objects.create(**{**duplicate_properties, **{"discovered_on": date(2021, 7, 1)}})
                                            ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:26.207677 #1]  INFO -- : Skipping file ./websecmap/scanners/tests/test_known_subdomains.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
    u, created = Url.objects.all().get_or_create(url=f"{subdomain}.ex.com")
                                                                         ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:26.382845 #1]  INFO -- : Skipping file ./websecmap/scanners/tests/test_plannedscan.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 39
    def create_url(url: str = "example.com"):
                      ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:26.418291 #1]  INFO -- : Skipping file websecmap/scanners/proxy.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 26
    def claim_proxy(tracing_label="") -> Dict[str, Any]:
                                      ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:26.419709 #1]  INFO -- : Skipping file websecmap/scanners/impact.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 85
    log.debug(f"Calculating impact for country: {config.PROJECT_COUNTRY}.")
                                                                         ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:26.430286 #1]  INFO -- : Skipping file websecmap/scanners/duplicates.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 9
    def deduplicate_all_endpoints_sequentially(days: int = 60):
                                                   ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:26.442003 #1]  INFO -- : Skipping file ./websecmap/scanners/scanner/subdomains.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 33
    def url_by_filters(organizations_filter: dict = dict(), urls_filter: dict = dict()) -> List:
                                           ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:26.443174 #1]  INFO -- : Skipping file ./websecmap/scanners/scanner/autoexplain_microsoft_neighboring_services.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 52
    def scan(scan_id: int):
                    ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:26.454680 #1]  INFO -- : Skipping file ./websecmap/scanners/scanner/plain_http.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 39
    organizations_filter: dict = dict(), urls_filter: dict = dict(), endpoints_filter: dict = dict(), **kwargs
                        ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:26.455597 #1]  INFO -- : Skipping file ./websecmap/scanners/scanner/autoexplain_trust_microsoft.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 172
    log.debug(f"Scan {epgs} fits all criteria to be auto explained for incorrect cert usage.")
                                                                                            ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:26.465530 #1]  INFO -- : Skipping file ./websecmap/scanners/scanner/verify_unresolvable.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
    organizations_filter: dict = dict(), urls_filter: dict = dict(), endpoints_filter: dict = dict(), **kwargs
                        ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:26.466767 #1]  INFO -- : Skipping file ./websecmap/scanners/scanner/dns_known_subdomains.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
    organizations_filter: dict = dict(), urls_filter: dict = dict(), endpoints_filter: dict = dict(), **kwargs
                        ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:26.476279 #1]  INFO -- : Skipping file ./websecmap/scanners/scanner/autoexplain_dutch_untrusted_cert.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 60
    def compose_scan_task(urls: List[Url]) -> Task:
                              ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:26.477497 #1]  INFO -- : Skipping file ./websecmap/scanners/scanner/internet_nl_v2_web.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
    organizations_filter: dict = dict(), urls_filter: dict = dict(), endpoints_filter: dict = dict(), **kwargs
                        ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:26.486935 #1]  INFO -- : Skipping file ./websecmap/scanners/scanner/dummy.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 39
    organizations_filter: dict = dict(), urls_filter: dict = dict(), endpoints_filter: dict = dict(), **kwargs
                        ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:26.488661 #1]  INFO -- : Skipping file ./websecmap/scanners/scanner/internet_nl_v2_websecmap.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 valid_api_settings(scan: InternetNLV2Scan):
                               ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:26.499595 #1]  INFO -- : Skipping file ./websecmap/scanners/scanner/screenshot.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 46
    organizations_filter: dict = dict(), urls_filter: dict = dict(), endpoints_filter: dict = dict(), **kwargs
                        ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:26.501275 #1]  INFO -- : Skipping file ./websecmap/scanners/scanner/internet_nl_v2_mail.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
    organizations_filter: dict = dict(), urls_filter: dict = dict(), endpoints_filter: dict = dict(), **kwargs
                        ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:26.510548 #1]  INFO -- : Skipping file ./websecmap/scanners/scanner/autoexplain_no_https_microsoft.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 89
    log.debug(f"Retrieved cname value: {cnameval}.")
                                                  ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:26.512190 #1]  INFO -- : Skipping file ./websecmap/scanners/scanner/http.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 97
    def filter_discover(organizations_filter: dict = dict(), urls_filter: dict = dict(), **kwargs):
                                            ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:26.526572 #1]  INFO -- : Skipping file ./websecmap/scanners/scanner/dnssec.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 49
    organizations_filter: dict = dict(), urls_filter: dict = dict(), endpoints_filter: dict = dict(), **kwargs
                        ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:26.527998 #1]  INFO -- : Skipping file ./websecmap/scanners/scanner/security_headers.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
    organizations_filter: dict = dict(), urls_filter: dict = dict(), endpoints_filter: dict = dict(), **kwargs
                        ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:26.538639 #1]  INFO -- : Skipping file ./websecmap/scanners/scanner/onboard.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
    organizations_filter: dict = dict(), urls_filter: dict = dict(), endpoints_filter: dict = dict(), **kwargs
                        ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:26.539297 #1]  INFO -- : Skipping file ./websecmap/scanners/scanner/internet_nl_v2.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 24
    url: str = ""
       ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:26.549397 #1]  INFO -- : Skipping file ./websecmap/scanners/scanner/ftp.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 45
    organizations_filter: dict = dict(), urls_filter: dict = dict(), endpoints_filter: dict = dict(), **kwargs
                        ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:26.550005 #1]  INFO -- : Skipping file ./websecmap/scanners/scanner/dns_endpoints.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 39
    organizations_filter: dict = dict(), urls_filter: dict = dict(), endpoints_filter: dict = dict(), **kwargs
                        ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:26.560490 #1]  INFO -- : Skipping file ./websecmap/scanners/scanner/__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 60
    def allowed_to_scan(scanner_name: str = ""):
                                    ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:26.561038 #1]  INFO -- : Skipping file ./websecmap/scanners/scanner/dns_clean_wildcards.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
    organizations_filter: dict = dict(), urls_filter: dict = dict(), endpoints_filter: dict = dict(), **kwargs
                        ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:26.571050 #1]  INFO -- : Skipping file ./websecmap/scanners/scanner/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 20
    def get_nameservers() -> List[str]:
                          ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:26.571877 #1]  INFO -- : Skipping file ./websecmap/scanners/scanner/dns_wildcards.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
    organizations_filter: dict = dict(), urls_filter: dict = dict(), endpoints_filter: dict = dict(), **kwargs
                        ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:26.582434 #1]  INFO -- : Skipping file ./websecmap/scanners/scanner/tls_qualys.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 68
    organizations_filter: dict = dict(), urls_filter: dict = dict(), endpoints_filter: dict = dict(), **kwargs
                        ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:26.583985 #1]  INFO -- : Skipping file websecmap/scanners/admin.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 297
    f"<a href='{config.INTERNET_NL_API_USERNAME}:{config.INTERNET_NL_API_PASSWORD}"
                                                                                  ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:26.596306 #1]  INFO -- : Skipping file websecmap/scanners/constance.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
    variable_name = f"RATE_LIMIT_{scanner['name'].upper()}_{plannable_activity.upper()}"
                                                                                       ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:26.625354 #1]  INFO -- : Skipping file websecmap/scanners/models.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 93
    def force_get(url_id: int, ip_version, protocol, port):
                        ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:26.655125 #1]  INFO -- : Skipping file ./websecmap/api/tests/sidnclient.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
    r = client.get(f"{your_api_endpoint}layers/")
                                               ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:26.655916 #1]  INFO -- : Skipping file ./websecmap/api/tests/test_sidn.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 39
    text=text(f"{current_path}/websecmap/api/tests/public_suffix_list.dat"),
                                                                         ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:26.667049 #1]  INFO -- : Skipping file ./websecmap/api/apis/sidn.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 71
    def sidn_domain_upload(user_id: int, csv_data: str):
                                  ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:26.702892 #1]  INFO -- : Skipping file ./websecmap/api/apis/zorgkaart.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
    def organization_and_url_import(flat_organizations: List[Dict[str, Any]]):
                                                      ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:26.755678 #1]  INFO -- : Skipping file ./websecmap/map/management/commands/reports_calculate_map_health.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 _update_map_health_reports(days: int = 366, countries: List = None, organization_types: List = None):
                                       ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:26.764383 #1]  INFO -- : Skipping file ./websecmap/map/management/commands/map_manual_test_osm.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 19
    [boundary=administrative][admin_level={admin_level}]; out geom;"""
                                                                     ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:26.816940 #1]  INFO -- : Skipping file ./websecmap/map/management/commands/map_parse_administrative_regions.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 1559
    def figure_out_country(lines: List[str]):
                                ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:26.886697 #1]  INFO -- : Skipping file websecmap/map/rebuild_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 15
    organizations_filter: dict = dict(),
                        ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:26.893911 #1]  INFO -- : Skipping file websecmap/map/views.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 104
    request, country: str = DEFAULT_COUNTRY, organization_type=DEFAULT_LAYER, file_format: str = DEFAULT_FILE_FORMAT
                    ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:26.909060 #1]  INFO -- : Skipping file ./websecmap/map/tests/test_openstreetmap.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 40
    return MockResponse(file_get_contents(f"{path}/openstreetmap/AL_county.gz"), 200)
                                                                             ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:26.970920 #1]  INFO -- : Skipping file ./websecmap/map/logic/map_defaults.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 get_organization_type(name: str):
                                  ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:26.973004 #1]  INFO -- : Skipping file ./websecmap/map/logic/top.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_top_win_data(country: str = "NL", organization_type="municipality", weeks_back=0):
                                ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:26.982033 #1]  INFO -- : Skipping file ./websecmap/map/logic/map.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 24
    report_sql = f"SELECT id, calculation FROM map_organizationreport WHERE id IN ({','.join(ids)})"
                                                                                                   ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:26.985045 #1]  INFO -- : Skipping file ./websecmap/map/logic/rss_feeds.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 95
    def title(self, scan_type: str = ""):
                             ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:26.993100 #1]  INFO -- : Skipping file ./websecmap/map/logic/map_health.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
    published_scan_types, days: int = 366, countries: List = None, organization_types: List = None
                              ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:26.996355 #1]  INFO -- : Skipping file ./websecmap/map/logic/datasets.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 8
    def create_filename(set_name, country: str = "NL", organization_type="municipality"):
                                         ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:27.004144 #1]  INFO -- : Skipping file ./websecmap/map/logic/wikidata.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 9
    OFFICIAL_WEBSITE: str = "P856"
                    ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:27.007691 #1]  INFO -- : Skipping file ./websecmap/map/logic/stats_and_graphs.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 74
    def get_organization_vulnerability_timeline(organization_id: int):
                                                               ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:27.018857 #1]  INFO -- : Skipping file ./websecmap/map/logic/identical_organizations.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 43
    print(f"Identical organizations to {organization.id}: {organization.name}")
                                                                             ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:27.019059 #1]  INFO -- : Skipping file ./websecmap/map/logic/coordinates.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 60
    f"Discovered a point without a coordinate: ID: {coordinate}. Used by the following "
                                                                                       ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:27.030020 #1]  INFO -- : Skipping file ./websecmap/map/logic/ticker.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 10
    country: str = "NL", organization_type: str = "municipality", weeks_back: int = 0, weeks_duration: int = 0
           ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:27.031546 #1]  INFO -- : Skipping file ./websecmap/map/logic/latest.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 57
    "service": f"{scan.endpoint.protocol}/{scan.endpoint.port} (IPv{scan.endpoint.ip_version})",
                                                                                              ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:27.042578 #1]  INFO -- : Skipping file ./websecmap/map/logic/admin.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 operation_response(error: bool = False, success: bool = False, message: str = "", data: Dict = None):
                                ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:27.074724 #1]  INFO -- : Skipping file ./websecmap/map/logic/openstreetmap.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 45
    def get_resampling_resolution(country: str = "NL", organization_type: str = "municipality"):
                                         ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:27.100294 #1]  INFO -- : Skipping file ./websecmap/map/logic/explain.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 133
    def get_scan(scan_id: int, scan_type: str) -> Union[EndpointGenericScan, UrlGenericScan, None]:
                        ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:27.102898 #1]  INFO -- : Skipping file ./websecmap/map/logic/organization_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 18
    country: str = DEFAULT_COUNTRY, organization_type=DEFAULT_LAYER, organization_name=None, weeks_back=0
           ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:27.125413 #1]  INFO -- : Skipping file websecmap/map/admin.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 106
    def start_import(region_id: int):
                              ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:27.136311 #1]  INFO -- : Skipping file websecmap/map/map_configs.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 9
    def filter_map_configs(countries: List = None, organization_types: List = None):
                                    ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:27.188484 #1]  INFO -- : Skipping file websecmap/map/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 61
    organizations_filter: dict = dict(),
                        ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:27.211915 #1]  INFO -- : Skipping file ./websecmap/reporting/management/commands/report_list_scan_after_dead_endpoint.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 24
    print(f"{dead_endpoint.is_dead_since} Scans after endpoint died: {dead_endpoint}")
                                                                                    ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:27.309743 #1]  INFO -- : Skipping file websecmap/reporting/severity.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 get_security_header_calculation(scan: Union[EndpointGenericScan, UrlGenericScan]):
                                            ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:27.310377 #1]  INFO -- : Skipping file websecmap/reporting/rebuild_url_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 14
    def compose_task(**kwargs) -> Task:
                               ^
SyntaxError: invalid syntax


I, [2024-05-30T02:33:27.365953 #1]  INFO -- : Skipping file websecmap/reporting/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 49
    def recreate_url_reports(urls: List[int]) -> List[Task]:
                                 ^
SyntaxError: invalid syntax
7
pep8
pep8 engine documentation
View output
conftest.py locale/ tests/ websecmap/locale/ websecmap/organizations/locale/ websecmap/organizations/management/ websecmap/organizations/signals.py websecmap/organizations/datasources/ websecmap/organizations/tests/ websecmap/organizations/static/ websecmap/organizations/fixtures/ websecmap/organizations/apps.py websecmap/organizations/admin.py websecmap/organizations/__init__.py websecmap/organizations/adminstrative_transformations.py websecmap/organizations/models.py websecmap/signals.py websecmap/celery/ websecmap/types.py websecmap/game/locale/ websecmap/game/templatetags/ websecmap/game/views.py websecmap/game/templates/ websecmap/game/static/ websecmap/game/apps.py websecmap/game/admin.py websecmap/game/__init__.py websecmap/game/urls.py websecmap/game/tests.py websecmap/game/models.py websecmap/game/forms.py websecmap/app/debug.py websecmap/app/middleware/ websecmap/app/management/ websecmap/app/tasks.py websecmap/app/templates/ websecmap/app/tests/ websecmap/app/common.py websecmap/app/static/ websecmap/app/fixtures/ websecmap/app/progressbar.py websecmap/app/dashboard_modules.py websecmap/app/dashboard_module_views.py websecmap/app/dashboard.py websecmap/app/admin.py websecmap/app/backends/ websecmap/app/__init__.py websecmap/app/constance.py websecmap/app/models.py websecmap/testrunner.py websecmap/manage.py websecmap/scanners/management/ websecmap/scanners/plannedscan.py websecmap/scanners/autoexplain.py websecmap/scanners/scanmanager.py websecmap/scanners/tasks.py websecmap/scanners/tests/ websecmap/scanners/timeout.py websecmap/scanners/logic/ websecmap/scanners/proxy.py websecmap/scanners/impact.py websecmap/scanners/duplicates.py websecmap/scanners/resources/ websecmap/scanners/apps.py websecmap/scanners/docs/ websecmap/scanners/scanner/ websecmap/scanners/admin.py websecmap/scanners/__init__.py websecmap/scanners/constance.py websecmap/scanners/models.py websecmap/api/views.py websecmap/api/tasks.py websecmap/api/templates/ websecmap/api/tests/ websecmap/api/apis/ websecmap/api/apps.py websecmap/api/admin.py websecmap/api/urls.py websecmap/api/models.py websecmap/map/management/ websecmap/map/rebuild_report.py websecmap/map/views.py websecmap/map/tasks.py websecmap/map/templates/ websecmap/map/tests/ websecmap/map/logic/ websecmap/map/static/js/components/ websecmap/map/static/js/translations/ websecmap/map/static/js/__init__.py websecmap/map/static/favicons/ websecmap/map/static/__init__.py websecmap/map/static/images/ websecmap/map/map_updates/ websecmap/map/apps.py websecmap/map/admin.py websecmap/map/__init__.py websecmap/map/map_configs.py websecmap/map/urls.py websecmap/map/models.py websecmap/map/report.py websecmap/converters.py websecmap/reporting/management/ websecmap/reporting/tests/ websecmap/reporting/severity.py websecmap/reporting/rebuild_url_report.py websecmap/reporting/apps.py websecmap/reporting/admin.py websecmap/reporting/__init__.py websecmap/reporting/models.py websecmap/reporting/report.py websecmap/__init__.py websecmap/wsgi.py websecmap/urls.py websecmap/uploads/ websecmap/settings.py websecmap/jet.py websecmap/fail/apps.py websecmap/fail/__init__.py docs/ tools/ setup.py/usr/lib/python3.9/site-packages/pycodestyle.py:2665: UserWarning: [pep8] section is deprecated. Use [pycodestyle].
  warnings.warn('[pep8] section is deprecated. Use [pycodestyle].')
8
radon
radon engine documentation
View output
Running radon3...
9
shellcheck
shellcheck engine documentation
10
eslint
eslint engine documentation
View output
No rules are configured. Make sure you have added a config file with rules enabled.
See our documentation at https://docs.codeclimate.com/docs/eslint for more information.
(node:8) Warning: Accessing non-existent property 'cd' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:8) Warning: Accessing non-existent property 'pwd' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'ls' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'find' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'cp' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'rm' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'mv' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'mkdir' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'test' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'cat' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'head' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'tail' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'to' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'toEnd' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'sed' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'sort' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'uniq' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'grep' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'which' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'echo' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'dirs' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'pushd' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'popd' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'ln' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'tempdir' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'exec' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'chmod' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'touch' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'set' of module exports inside circular dependency