Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump ossf/scorecard-action from 2.3.0 to 2.4.0 #137

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 8, 2024

Bumps ossf/scorecard-action from 2.3.0 to 2.4.0.

Release notes

Sourced from ossf/scorecard-action's releases.

v2.4.0

What's Changed

This update bumps the Scorecard version to the v5 release. For a complete list of changes, please refer to the v5.0.0 release notes. Of special note to Scorecard Action is the Maintainer Annotation feature, which can be used to suppress some Code Scanning false positives. Alerts will not be generated for any Scorecard Check with an annotation.

Documentation

New Contributors

Full Changelog: ossf/scorecard-action@v2.3.3...v2.4.0

v2.3.3

[!NOTE]
There is no v2.3.2 release as a step was skipped in the release process. This was fixed and re-released under the v2.3.3 tag

What's Changed

For a full changelist of what these include, see the v5.0.0-rc1 and v5.0.0-rc2 release notes.

Documentation

Full Changelog: ossf/scorecard-action@v2.3.1...v2.3.3

v2.3.1

What's Changed

  • 🌱 Bump github.com/ossf/scorecard/v4 from v4.13.0 to v4.13.1 by @​spencerschrock in ossf/scorecard-action#1282
    • Adds additional Fuzzing detection and fixes a SAST bug related to detecting CodeQL. For a full changelist of what this includes, see the v4.13.1 release notes

Full Changelog: ossf/scorecard-action@v2.3.0...v2.3.1

Commits
  • 62b2cac bump docker tag to v2.4.0 for release (#1414)
  • c09630c lower license score alert threshold to 9 (#1411)
  • cf8594c 🌱 Bump github.com/sigstore/cosign/v2 from 2.2.4 to 2.3.0 (#1413)
  • de5fcb9 🌱 Bump the github-actions group with 2 updates (#1412)
  • a46b90b bump scorecard to v5.0.0 release (#1410)
  • 9fc518d 🌱 Bump golang in the docker-images group (#1407)
  • a8eaa1b 🌱 Bump the github-actions group with 2 updates (#1408)
  • 873d5fd 🌱 Bump the github-actions group across 1 directory with 2 updates (#...
  • 54cc1fe 🌱 Bump the docker-images group with 2 updates (#1401)
  • 82bcb91 🌱 Bump golang.org/x/net from 0.26.0 to 0.27.0 (#1400)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Summary by Sourcery

Bump the ossf/scorecard-action from version 2.3.0 to 2.4.0 in the GitHub Actions workflow to incorporate the latest features and improvements.

CI:

  • Update the GitHub Actions workflow to use ossf/scorecard-action version 2.4.0.

Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.3.0 to 2.4.0.
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](ossf/scorecard-action@483ef80...62b2cac)

---
updated-dependencies:
- dependency-name: ossf/scorecard-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Oct 8, 2024
Copy link

sourcery-ai bot commented Oct 8, 2024

Reviewer's Guide by Sourcery

This pull request updates the ossf/scorecard-action from version 2.3.0 to 2.4.0 in the GitHub Actions workflow. The update includes improvements to the Scorecard tool, particularly the addition of the Maintainer Annotation feature and updates to various dependencies.

No diagrams generated as the changes look simple and do not need a visual representation.

File-Level Changes

Change Details Files
Update ossf/scorecard-action to version 2.4.0
  • Bump ossf/scorecard-action from v2.3.0 to v2.4.0
  • Update Scorecard to v5 release
  • Add Maintainer Annotation feature for suppressing some Code Scanning false positives
  • Lower license SARIF alert threshold to 9
  • Update various dependencies including github.com/sigstore/cosign/v2 and golang.org/x/net
.github/workflows/scorecard.yml

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time. You can also use
    this command to specify where the summary should be inserted.

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have skipped reviewing this pull request. It seems to have been created by a bot (hey, dependabot[bot]!). We assume it knows what it's doing!

Copy link

deepsource-io bot commented Oct 8, 2024

Here's the code health analysis summary for commits cf422ba..bb501cf. View details on DeepSource ↗.

Analysis Summary

AnalyzerStatusSummaryLink
DeepSource Python LogoPython✅ SuccessView Check ↗
DeepSource Docker LogoDocker✅ SuccessView Check ↗

💡 If you’re a repository administrator, you can configure the quality gates from the settings.

Copy link
Contributor

PR-Agent was enabled for this repository. To continue using it, please link your git user with your CodiumAI identity here.

CI Failure Feedback 🧐

Action: backend-tests

Failed stage: Run test [❌]

Failed test name: test_subclasses

Failure summary:

The action failed due to multiple errors and one failure in the test suite:

  • Several tests failed with a FileNotFoundError because the file test_files/file.exe could not be
    found. This affected multiple tests in the tests.api_app.test_api.ApiViewTests test case.
  • The test test_subclasses in tests.api_app.analyzers_manager.test_classes.FileAnalyzerTestCase failed
    with an AssertionError because no valid job was found for the analyzer APKiD with the specified
    configuration.

  • Relevant error logs:
    1:  ##[group]Operating System
    2:  Ubuntu
    ...
    
    2273:  #15 9.144 Checking optional features...
    2274:  #15 9.144 inc_bundling_support....disabled
    2275:  #15 9.144   requires:
    2276:  #15 9.144     ! inc::latest is not installed
    2277:  #15 9.144 license_creation........disabled
    2278:  #15 9.144   requires:
    2279:  #15 9.144     ! Software::License is not installed
    2280:  #15 9.144 
    2281:  #15 9.144 ERRORS/WARNINGS FOUND IN PREREQUISITES.  You may wish to install the versions
    ...
    
    2351:  #15 10.02     !  Email::MIME is not installed
    2352:  #15 10.02     !  Email::MIME::ContentType is not installed
    2353:  #15 10.02     !  Email::Sender is not installed
    2354:  #15 10.02     !  Email::Simple is not installed
    2355:  #15 10.02     !  IO::All is not installed
    2356:  #15 10.02     !  IO::String is not installed
    2357:  #15 10.02     !  OLE::Storage_Lite is not installed
    2358:  #15 10.02 
    2359:  #15 10.02 ERRORS/WARNINGS FOUND IN PREREQUISITES.  You may wish to install the versions
    ...
    
    3635:  #15 22.55 Warning: prerequisite Capture::Tiny 0.08 not found.
    3636:  #15 22.55 Warning: prerequisite Email::Abstract 3.006 not found.
    3637:  #15 22.55 Warning: prerequisite Moo 2.000000 not found.
    3638:  #15 22.55 Warning: prerequisite Moo::Role 0 not found.
    3639:  #15 22.55 Warning: prerequisite MooX::Types::MooseLike 0.15 not found.
    3640:  #15 22.55 Warning: prerequisite MooX::Types::MooseLike::Base 0 not found.
    3641:  #15 22.56 Warning: prerequisite Sub::Exporter 0 not found.
    3642:  #15 22.56 Warning: prerequisite Sub::Exporter::Util 0 not found.
    3643:  #15 22.56 Warning: prerequisite Throwable::Error 0.200003 not found.
    ...
    
    3655:  #15 22.67     Capture::Tiny [build_requires]
    3656:  #15 22.67     Email::Abstract [requires]
    3657:  #15 22.67     Moo [requires]
    3658:  #15 22.67     Moo::Role [requires]
    3659:  #15 22.67     MooX::Types::MooseLike [requires]
    3660:  #15 22.67     MooX::Types::MooseLike::Base [requires]
    3661:  #15 22.67     Sub::Exporter [requires]
    3662:  #15 22.67     Sub::Exporter::Util [requires]
    3663:  #15 22.67     Throwable::Error [requires]
    ...
    
    3948:  #14 41.49 "@babel/plugin-proposal-private-property-in-object" package without
    3949:  #14 41.49 declaring it in its dependencies. This is currently working because
    3950:  #14 41.49 "@babel/plugin-proposal-private-property-in-object" is already in your
    3951:  #14 41.49 node_modules folder for unrelated reasons, but it �[1mmay break at any time�[0;33m.
    3952:  #14 41.49 
    3953:  #14 41.49 babel-preset-react-app is part of the create-react-app project, �[1mwhich
    3954:  #14 41.49 is not maintianed anymore�[0;33m. It is thus unlikely that this bug will
    3955:  #14 41.49 ever be fixed. Add "@babel/plugin-proposal-private-property-in-object" to
    3956:  #14 41.49 your devDependencies to work around this error. This will make this message
    ...
    
    5383:  #15 49.19 Installing /usr/local/man/man3/Sub::Exporter::Cookbook.3pm
    5384:  #15 49.19 Installing /usr/local/man/man3/Sub::Exporter.3pm
    5385:  #15 49.19 Installing /usr/local/man/man3/Sub::Exporter::Util.3pm
    5386:  #15 49.19 Installing /usr/local/man/man3/Sub::Exporter::Tutorial.3pm
    5387:  #15 49.20 Appending installation info to /usr/local/lib/x86_64-linux-gnu/perl/5.36.0/perllocal.pod
    5388:  #15 49.22   RJBS/Sub-Exporter-0.991.tar.gz
    5389:  #15 49.22   /usr/bin/make install  -- OK
    5390:  #15 49.22 Sub::Exporter::Util is up to date (0.991).
    5391:  #15 49.22 Running install for module 'Throwable::Error'
    ...
    
    5498:  #15 50.74 Appending installation info to /usr/local/lib/x86_64-linux-gnu/perl/5.36.0/perllocal.pod
    5499:  #15 50.77   DROLSKY/Devel-StackTrace-2.05.tar.gz
    5500:  #15 50.77   /usr/bin/make install  -- OK
    5501:  #15 50.77   RJBS/Throwable-1.001.tar.gz
    5502:  #15 50.77   Has already been unwrapped into directory /root/.cpan/build/Throwable-1.001-0
    5503:  #15 50.77   RJBS/Throwable-1.001.tar.gz
    5504:  #15 50.77   Has already been prepared
    5505:  #15 50.77 Running make for R/RJ/RJBS/Throwable-1.001.tar.gz
    5506:  #15 51.01 cp lib/Throwable/Error.pm blib/lib/Throwable/Error.pm
    ...
    
    5510:  #15 51.09   RJBS/Throwable-1.001.tar.gz
    5511:  #15 51.09   /usr/bin/make -- OK
    5512:  #15 51.09   RJBS/Throwable-1.001.tar.gz
    5513:  #15 51.09   Skipping test because of notest pragma
    5514:  #15 51.09 Running make install for RJBS/Throwable-1.001.tar.gz
    5515:  #15 51.18 Manifying 3 pod documents
    5516:  #15 51.22 Installing /usr/local/share/perl/5.36.0/Throwable.pm
    5517:  #15 51.22 Installing /usr/local/share/perl/5.36.0/StackTrace/Auto.pm
    5518:  #15 51.22 Installing /usr/local/share/perl/5.36.0/Throwable/Error.pm
    5519:  #15 51.22 Installing /usr/local/man/man3/Throwable::Error.3pm
    ...
    
    7875:  #19 114.5   Attempting uninstall: prometheus-client
    7876:  #19 114.6     Found existing installation: prometheus_client 0.21.0
    7877:  #19 114.6     Uninstalling prometheus_client-0.21.0:
    7878:  #19 114.6       Successfully uninstalled prometheus_client-0.21.0
    7879:  #19 114.7   Attempting uninstall: cachetools
    7880:  #19 114.7     Found existing installation: cachetools 5.5.0
    7881:  #19 114.7     Uninstalling cachetools-5.5.0:
    7882:  #19 114.7       Successfully uninstalled cachetools-5.5.0
    7883:  #19 114.9 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
    ...
    
    7967:  #19 117.1   Stored in directory: /tmp/pip-ephem-wheel-cache-e3oqlrw4/wheels/0f/fe/56/6cba6eafbb252c805af7616631ef63d8e0790c958b1bd86c63
    7968:  #19 117.1 Successfully built drf-flex-fields
    7969:  #19 117.3 Installing collected packages: ua-parser, drf-flex-fields, user-agents, slack-sdk, python-ipware, oauthlib, Markdown, django-cache-memoize, stripe, requests-oauthlib, django-user-agents, django-ipware, python-twitter, drf-recaptcha, django-rest-durin, certego-saas
    7970:  #19 118.6 Successfully installed Markdown-3.3.7 certego-saas-0.7.11 django-cache-memoize-0.2.0 django-ipware-7.0.1 django-rest-durin-1.0.0 django-user-agents-0.4.0 drf-flex-fields-1.0.2 drf-recaptcha-4.0.2 oauthlib-3.2.2 python-ipware-3.0.0 python-twitter-3.5 requests-oauthlib-2.0.0 slack-sdk-3.33.1 stripe-11.1.0 ua-parser-0.18.0 user-agents-2.2.0
    7971:  #19 118.6 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable.It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
    7972:  #19 DONE 120.8s
    7973:  #20 [uwsgi backend-build  9/10] COPY . /opt/deploy/threat_matrix
    7974:  #20 DONE 0.2s
    7975:  #21 [uwsgi backend-build 10/10] RUN touch /var/log/threat_matrix/django/api_app.log /var/log/threat_matrix/django/api_app_errors.log     && touch /var/log/threat_matrix/django/threat_matrix.log /var/log/threat_matrix/django/threat_matrix_errors.log     && touch /var/log/threat_matrix/django/celery.log /var/log/threat_matrix/django/celery_errors.log     && touch /var/log/threat_matrix/django/django_auth_ldap.log /var/log/threat_matrix/django/django_errors.log     && touch /var/log/threat_matrix/django/certego_saas.log /var/log/threat_matrix/django/certego_saas_errors.log     && touch /var/log/threat_matrix/django/authentication.log /var/log/threat_matrix/django/authentication_errors.log     && touch /var/log/threat_matrix/asgi/daphne.log     && chown -R www-data:www-data /var/log/threat_matrix /opt/deploy/     && rm -rf /root/.local     && /opt/deploy/threat_matrix/docker/scripts/watchman_install.sh     && /opt/deploy/threat_matrix/api_app/analyzers_manager/repo_downloader.sh
    ...
    
    8024:  #28 extracting sha256:b3ee43e51ca6c92d08e40eaf4d7dbc50444ba57c1a200c437a3c86e5a7631ba6 done
    8025:  #28 extracting sha256:b17a9d410da1886001947f5f826043292df395277cb23e17970f5b82a6b486ed done
    8026:  #28 extracting sha256:542e3e75411d1223efe21092951a0b87b85cb4377accf8f360d635d23dea72a9 done
    8027:  #28 extracting sha256:2b2faad386dfd2da1e19aa6e0d91d428b849181de439c0b289f383816c812304 done
    8028:  #28 extracting sha256:a5e22afba545a92d46609059fe9fe2b90028b9f3fb7c78be28cb6d4ed9e53fd3 done
    8029:  #28 extracting sha256:fb923a41dc10df4d74119907e9112426c8e0e2ce3d6851c4e2dcfb7e0765861b 0.1s
    8030:  #28 extracting sha256:fb923a41dc10df4d74119907e9112426c8e0e2ce3d6851c4e2dcfb7e0765861b 0.3s done
    8031:  #28 DONE 0.9s
    8032:  #29 [nginx 2/2] RUN rm /var/log/nginx/access.log /var/log/nginx/error.log && touch /var/log/nginx/access.log /var/log/nginx/error.log
    ...
    
    8126:  Applying contenttypes.0001_initial... OK
    8127:  Applying contenttypes.0002_remove_content_type_name... OK
    8128:  Applying auth.0001_initial... OK
    8129:  Applying auth.0002_alter_permission_name_max_length... OK
    8130:  Applying auth.0003_alter_user_email_max_length... OK
    8131:  Applying auth.0004_alter_user_username_opts... OK
    8132:  Applying auth.0005_alter_user_last_login_null... OK
    8133:  Applying auth.0006_require_contenttypes_0002... OK
    8134:  Applying auth.0007_alter_validators_add_error_messages... OK
    ...
    
    8147:  [--number-of-releases [NUMBER_OF_RELEASES]]
    8148:  [--debug | --no-debug] [--version]
    8149:  [-v {0,1,2,3}] [--settings SETTINGS]
    8150:  [--pythonpath PYTHONPATH]
    8151:  [--traceback] [--no-color]
    8152:  [--force-color] [--skip-checks]
    8153:  path
    8154:  {ACCOUNTS,DRAGONFLY,INTELOWL,QUOKKA_PUBLIC,QUOKKA}
    8155:  manage.py changelog_notification: error: argument appname: invalid choice: 'THREATMATRIX' (choose from 'ACCOUNTS', 'DRAGONFLY', 'INTELOWL', 'QUOKKA_PUBLIC', 'QUOKKA')
    ...
    
    9119:  test_create (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_create) ... ok-dokey (0.010834s)
    9120:  test_delete (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_delete) ... ok-dokey (0.020184s)
    9121:  test_get (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_get) ... ok-dokey (0.075829s)
    9122:  test_get_non_existent (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_get_non_existent) ... ok-dokey (0.017066s)
    9123:  test_health_check (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_health_check) ... ok-dokey (0.118019s)
    9124:  test_list (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_list) ... ok-dokey (0.644300s)
    9125:  test_organization_disable (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_organization_disable) ... ok-dokey (0.193310s)
    9126:  test_organization_enable (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_organization_enable) ... ok-dokey (0.227777s)
    9127:  {'errors': {'detail': 'This Plugin has no Update implemented'}}
    ...
    
    9233:  test_get (tests.api_app.playbooks_manager.test_views.PlaybookConfigViewSetTestCase.test_get) ... ok-dokey (0.139592s)
    9234:  test_get_non_existent (tests.api_app.playbooks_manager.test_views.PlaybookConfigViewSetTestCase.test_get_non_existent) ... ok-dokey (0.023355s)
    9235:  test_list (tests.api_app.playbooks_manager.test_views.PlaybookConfigViewSetTestCase.test_list) ... ok-dokey (0.458946s)
    9236:  test_organization_disable (tests.api_app.playbooks_manager.test_views.PlaybookConfigViewSetTestCase.test_organization_disable) ... ok-dokey (0.367575s)
    9237:  test_organization_enable (tests.api_app.playbooks_manager.test_views.PlaybookConfigViewSetTestCase.test_organization_enable) ... ok-dokey (0.447072s)
    9238:  test_update (tests.api_app.playbooks_manager.test_views.PlaybookConfigViewSetTestCase.test_update) ... ok-dokey (0.103239s)
    9239:  test_analyze_file__exe (tests.api_app.test_api.ApiViewTests.test_analyze_file__exe) ... Etest_analyze_file__guess_optional (tests.api_app.test_api.ApiViewTests.test_analyze_file__guess_optional) ... Etest_analyze_file__pcap (tests.api_app.test_api.ApiViewTests.test_analyze_file__pcap) ... Etest_analyze_multiple_files__exe (tests.api_app.test_api.ApiViewTests.test_analyze_multiple_files__exe) ... Etest_analyze_multiple_files__guess_optional (tests.api_app.test_api.ApiViewTests.test_analyze_multiple_files__guess_optional) ... Etest_analyze_multiple_observables (tests.api_app.test_api.ApiViewTests.test_analyze_multiple_observables) ... Etest_analyze_observable__domain (tests.api_app.test_api.ApiViewTests.test_analyze_observable__domain) ... Etest_analyze_observable__guess_optional (tests.api_app.test_api.ApiViewTests.test_analyze_observable__guess_optional) ... Etest_analyze_observable__ip (tests.api_app.test_api.ApiViewTests.test_analyze_observable__ip) ... Etest_ask_analysis_availability (tests.api_app.test_api.ApiViewTests.test_ask_analysis_availability) ... Etest_ask_analysis_availability__run_all_analyzers (tests.api_app.test_api.ApiViewTests.test_ask_analysis_availability__run_all_analyzers) ... Etest_ask_multi_analysis_availability (tests.api_app.test_api.ApiViewTests.test_ask_multi_analysis_availability) ... Etest_download_sample_200 (tests.api_app.test_api.ApiViewTests.test_download_sample_200) ... Etest_download_sample_400 (tests.api_app.test_api.ApiViewTests.test_download_sample_400) ... Etest_download_sample_404 (tests.api_app.test_api.ApiViewTests.test_download_sample_404) ... Etest_incorrect_tlp (tests.api_app.test_api.ApiViewTests.test_incorrect_tlp) ... Etest_no_analyzers (tests.api_app.test_api.ApiViewTests.test_no_analyzers) ... Etest_tlp_clear_and_white (tests.api_app.test_api.ApiViewTests.test_tlp_clear_and_white) ... Etest_abstract (tests.api_app.test_classes.PluginTestCase.test_abstract) ... ok-dokey (0.091676s)
    9240:  test_python_path (tests.api_app.test_classes.PluginTestCase.test_python_path) ... ok-dokey (0.070091s)
    9241:  test_start_errors (tests.api_app.test_classes.PluginTestCase.test_start_errors) ... Traceback (most recent call last):
    9242:  File "/opt/deploy/threat_matrix/api_app/classes.py", line 297, in start
    9243:  _result = self.run()
    9244:  ^^^^^^^^^^
    9245:  File "/opt/deploy/threat_matrix/tests/api_app/test_classes.py", line 57, in raise_error
    9246:  raise TypeError("Test")
    9247:  TypeError: Test
    9248:  ok-dokey (0.161085s)
    9249:  test_start_no_errors (tests.api_app.test_classes.PluginTestCase.test_start_no_errors) ... ok-dokey (0.161358s)
    ...
    
    9348:  test_get (tests.api_app.test_views.PluginConfigViewSetTestCase.test_get) ... ok-dokey (33.758894s)
    9349:  test_list (tests.api_app.test_views.PluginConfigViewSetTestCase.test_list) ... ok-dokey (32.430731s)
    9350:  test_create_201 (tests.api_app.test_views.TagViewsetTests.test_create_201) ... ok-dokey (0.025860s)
    9351:  test_create_400 (tests.api_app.test_views.TagViewsetTests.test_create_400) ... ok-dokey (0.018296s)
    9352:  test_delete_204 (tests.api_app.test_views.TagViewsetTests.test_delete_204) ... ok-dokey (0.034260s)
    9353:  test_list_200 (tests.api_app.test_views.TagViewsetTests.test_list_200) ... ok-dokey (0.015836s)
    9354:  test_retrieve_200 (tests.api_app.test_views.TagViewsetTests.test_retrieve_200) ... ok-dokey (0.015755s)
    9355:  test_update_200 (tests.api_app.test_views.TagViewsetTests.test_update_200) ... ok-dokey (0.024679s)
    9356:  test_with_error (tests.api_app.visualizers_manager.test_classes.ErrorHandlerTestCase.test_with_error) ... ok-dokey (0.000332s)
    9357:  test_without_error (tests.api_app.visualizers_manager.test_classes.ErrorHandlerTestCase.test_without_error) ... ok-dokey (0.000170s)
    ...
    
    9438:  test_yara_updater (tests.test_crons.CronTests.test_yara_updater) ... ok-dokey (9.926230s)
    9439:  test_validate_playbook_to_execute (tests.test_interfaces.CreateJobsFromPlaybookInterfaceTestCase.test_validate_playbook_to_execute) ... ok-dokey (0.085796s)
    9440:  test_job_killed (tests.api_app.test_websocket.JobConsumerTestCase.test_job_killed) ... ok-dokey (4.486346s)
    9441:  test_job_not_exist (tests.api_app.test_websocket.JobConsumerTestCase.test_job_not_exist) ... ok-dokey (0.034134s)
    9442:  test_job_running (tests.api_app.test_websocket.JobConsumerTestCase.test_job_running) ... ok-dokey (6.672941s)
    9443:  test_job_terminated (tests.api_app.test_websocket.JobConsumerTestCase.test_job_terminated) ... ok-dokey (0.178148s)
    9444:  test_job_unauthorized (tests.api_app.test_websocket.JobConsumerTestCase.test_job_unauthorized) ... ok-dokey (0.026336s)
    9445:  ======================================================================
    9446:  ERROR: test_create_job_multiple_file (tests.api_app.pivots_manager.test_models.PivotConfigTestCase.test_create_job_multiple_file)
    9447:  ----------------------------------------------------------------------
    9448:  Traceback (most recent call last):
    9449:  File "/opt/deploy/threat_matrix/tests/api_app/pivots_manager/test_models.py", line 88, in test_create_job_multiple_file
    9450:  with open("test_files/file.exe", "rb") as f:
    9451:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9452:  FileNotFoundError: [Errno 2] No such file or directory: 'test_files/file.exe'
    9453:  ======================================================================
    9454:  ERROR: test_analyze_file__exe (tests.api_app.test_api.ApiViewTests.test_analyze_file__exe)
    9455:  ----------------------------------------------------------------------
    9456:  Traceback (most recent call last):
    9457:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9458:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9459:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9460:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9461:  with open(floc, "rb") as f:
    9462:  ^^^^^^^^^^^^^^^^
    9463:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9464:  ======================================================================
    9465:  ERROR: test_analyze_file__guess_optional (tests.api_app.test_api.ApiViewTests.test_analyze_file__guess_optional)
    9466:  ----------------------------------------------------------------------
    9467:  Traceback (most recent call last):
    9468:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9469:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9470:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9471:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9472:  with open(floc, "rb") as f:
    9473:  ^^^^^^^^^^^^^^^^
    9474:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9475:  ======================================================================
    9476:  ERROR: test_analyze_file__pcap (tests.api_app.test_api.ApiViewTests.test_analyze_file__pcap)
    9477:  ----------------------------------------------------------------------
    9478:  Traceback (most recent call last):
    9479:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9480:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9481:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9482:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9483:  with open(floc, "rb") as f:
    9484:  ^^^^^^^^^^^^^^^^
    9485:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9486:  ======================================================================
    9487:  ERROR: test_analyze_multiple_files__exe (tests.api_app.test_api.ApiViewTests.test_analyze_multiple_files__exe)
    9488:  ----------------------------------------------------------------------
    9489:  Traceback (most recent call last):
    9490:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9491:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9492:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9493:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9494:  with open(floc, "rb") as f:
    9495:  ^^^^^^^^^^^^^^^^
    9496:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9497:  ======================================================================
    9498:  ERROR: test_analyze_multiple_files__guess_optional (tests.api_app.test_api.ApiViewTests.test_analyze_multiple_files__guess_optional)
    9499:  ----------------------------------------------------------------------
    9500:  Traceback (most recent call last):
    9501:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9502:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9503:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9504:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9505:  with open(floc, "rb") as f:
    9506:  ^^^^^^^^^^^^^^^^
    9507:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9508:  ======================================================================
    9509:  ERROR: test_analyze_multiple_observables (tests.api_app.test_api.ApiViewTests.test_analyze_multiple_observables)
    9510:  ----------------------------------------------------------------------
    9511:  Traceback (most recent call last):
    9512:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9513:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9514:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9515:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9516:  with open(floc, "rb") as f:
    9517:  ^^^^^^^^^^^^^^^^
    9518:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9519:  ======================================================================
    9520:  ERROR: test_analyze_observable__domain (tests.api_app.test_api.ApiViewTests.test_analyze_observable__domain)
    9521:  ----------------------------------------------------------------------
    9522:  Traceback (most recent call last):
    9523:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9524:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9525:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9526:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9527:  with open(floc, "rb") as f:
    9528:  ^^^^^^^^^^^^^^^^
    9529:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9530:  ======================================================================
    9531:  ERROR: test_analyze_observable__guess_optional (tests.api_app.test_api.ApiViewTests.test_analyze_observable__guess_optional)
    9532:  ----------------------------------------------------------------------
    9533:  Traceback (most recent call last):
    9534:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9535:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9536:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9537:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9538:  with open(floc, "rb") as f:
    9539:  ^^^^^^^^^^^^^^^^
    9540:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9541:  ======================================================================
    9542:  ERROR: test_analyze_observable__ip (tests.api_app.test_api.ApiViewTests.test_analyze_observable__ip)
    9543:  ----------------------------------------------------------------------
    9544:  Traceback (most recent call last):
    9545:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9546:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9547:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9548:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9549:  with open(floc, "rb") as f:
    9550:  ^^^^^^^^^^^^^^^^
    9551:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9552:  ======================================================================
    9553:  ERROR: test_ask_analysis_availability (tests.api_app.test_api.ApiViewTests.test_ask_analysis_availability)
    9554:  ----------------------------------------------------------------------
    9555:  Traceback (most recent call last):
    9556:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9557:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9558:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9559:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9560:  with open(floc, "rb") as f:
    9561:  ^^^^^^^^^^^^^^^^
    9562:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9563:  ======================================================================
    9564:  ERROR: test_ask_analysis_availability__run_all_analyzers (tests.api_app.test_api.ApiViewTests.test_ask_analysis_availability__run_all_analyzers)
    9565:  ----------------------------------------------------------------------
    9566:  Traceback (most recent call last):
    9567:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9568:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9569:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9570:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9571:  with open(floc, "rb") as f:
    9572:  ^^^^^^^^^^^^^^^^
    9573:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9574:  ======================================================================
    9575:  ERROR: test_ask_multi_analysis_availability (tests.api_app.test_api.ApiViewTests.test_ask_multi_analysis_availability)
    9576:  ----------------------------------------------------------------------
    9577:  Traceback (most recent call last):
    9578:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9579:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9580:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9581:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9582:  with open(floc, "rb") as f:
    9583:  ^^^^^^^^^^^^^^^^
    9584:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9585:  ======================================================================
    9586:  ERROR: test_download_sample_200 (tests.api_app.test_api.ApiViewTests.test_download_sample_200)
    9587:  ----------------------------------------------------------------------
    9588:  Traceback (most recent call last):
    9589:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9590:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9591:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9592:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9593:  with open(floc, "rb") as f:
    9594:  ^^^^^^^^^^^^^^^^
    9595:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9596:  ======================================================================
    9597:  ERROR: test_download_sample_400 (tests.api_app.test_api.ApiViewTests.test_download_sample_400)
    9598:  ----------------------------------------------------------------------
    9599:  Traceback (most recent call last):
    9600:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9601:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9602:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9603:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9604:  with open(floc, "rb") as f:
    9605:  ^^^^^^^^^^^^^^^^
    9606:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9607:  ======================================================================
    9608:  ERROR: test_download_sample_404 (tests.api_app.test_api.ApiViewTests.test_download_sample_404)
    9609:  ----------------------------------------------------------------------
    9610:  Traceback (most recent call last):
    9611:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9612:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9613:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9614:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9615:  with open(floc, "rb") as f:
    9616:  ^^^^^^^^^^^^^^^^
    9617:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9618:  ======================================================================
    9619:  ERROR: test_incorrect_tlp (tests.api_app.test_api.ApiViewTests.test_incorrect_tlp)
    9620:  ----------------------------------------------------------------------
    9621:  Traceback (most recent call last):
    9622:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9623:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9624:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9625:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9626:  with open(floc, "rb") as f:
    9627:  ^^^^^^^^^^^^^^^^
    9628:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9629:  ======================================================================
    9630:  ERROR: test_no_analyzers (tests.api_app.test_api.ApiViewTests.test_no_analyzers)
    9631:  ----------------------------------------------------------------------
    9632:  Traceback (most recent call last):
    9633:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9634:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9635:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9636:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9637:  with open(floc, "rb") as f:
    9638:  ^^^^^^^^^^^^^^^^
    9639:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9640:  ======================================================================
    9641:  ERROR: test_tlp_clear_and_white (tests.api_app.test_api.ApiViewTests.test_tlp_clear_and_white)
    9642:  ----------------------------------------------------------------------
    9643:  Traceback (most recent call last):
    9644:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9645:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9646:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9647:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9648:  with open(floc, "rb") as f:
    9649:  ^^^^^^^^^^^^^^^^
    9650:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9651:  ======================================================================
    9652:  FAIL: test_subclasses (tests.api_app.analyzers_manager.test_classes.FileAnalyzerTestCase.test_subclasses)
    9653:  ----------------------------------------------------------------------
    9654:  Traceback (most recent call last):
    9655:  File "/opt/deploy/threat_matrix/tests/api_app/analyzers_manager/test_classes.py", line 169, in test_subclasses
    9656:  self.fail(
    9657:  AssertionError: No valid job found for analyzer APKiD with configuration APKiD
    9658:  ----------------------------------------------------------------------
    9659:  Ran 315 tests in 196.148s
    9660:  FAILED (failures=1, errors=19, skipped=1)
    9661:  Preserving test database for alias 'default'...
    9662:  ##[error]Process completed with exit code 1.
    

    ✨ CI feedback usage guide:

    The CI feedback tool (/checks) automatically triggers when a PR has a failed check.
    The tool analyzes the failed checks and provides several feedbacks:

    • Failed stage
    • Failed test name
    • Failure summary
    • Relevant error logs

    In addition to being automatically triggered, the tool can also be invoked manually by commenting on a PR:

    /checks "https://github.com/{repo_name}/actions/runs/{run_number}/job/{job_number}"
    

    where {repo_name} is the name of the repository, {run_number} is the run number of the failed check, and {job_number} is the job number of the failed check.

    Configuration options

    • enable_auto_checks_feedback - if set to true, the tool will automatically provide feedback when a check is failed. Default is true.
    • excluded_checks_list - a list of checks to exclude from the feedback, for example: ["check1", "check2"]. Default is an empty list.
    • enable_help_text - if set to true, the tool will provide a help message with the feedback. Default is true.
    • persistent_comment - if set to true, the tool will overwrite a previous checks comment with the new feedback. Default is true.
    • final_update_message - if persistent_comment is true and updating a previous checks message, the tool will also create a new message: "Persistent checks updated to latest commit". Default is true.

    See more information about the checks tool in the docs.

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    0 participants