Skip to content

Pycti workaround, solves #1730#1865

Merged
mlodic merged 5 commits intodevelopfrom
pycti_workaround
Aug 29, 2023
Merged

Pycti workaround, solves #1730#1865
mlodic merged 5 commits intodevelopfrom
pycti_workaround

Conversation

@mlodic
Copy link
Copy Markdown
Member

@mlodic mlodic commented Aug 29, 2023

No description provided.

@mlodic mlodic linked an issue Aug 29, 2023 that may be closed by this pull request
@mlodic mlodic requested a review from 0ssigeno August 29, 2023 09:23
@codecov
Copy link
Copy Markdown

codecov bot commented Aug 29, 2023

Codecov Report

Merging #1865 (46babe7) into develop (aa8820f) will increase coverage by 9.50%.
Report is 1299 commits behind head on develop.
The diff coverage is 76.19%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #1865      +/-   ##
===========================================
+ Coverage    66.75%   76.25%   +9.50%     
===========================================
  Files           95      382     +287     
  Lines         3706    12502    +8796     
  Branches       519     1316     +797     
===========================================
+ Hits          2474     9534    +7060     
- Misses         941     2427    +1486     
- Partials       291      541     +250     
Files Changed Coverage Δ
...analyzers_manager/migrations/0004_datamigration.py 91.30% <ø> (ø)
...i_app/connectors_manager/migrations/0015_params.py 51.11% <ø> (ø)
...ager/migrations/0016_alter_connectorconfig_name.py 100.00% <ø> (ø)
...r/migrations/0017_alter_connectorconfig_options.py 100.00% <ø> (ø)
...ager/migrations/0018_alter_connectorconfig_name.py 100.00% <ø> (ø)
api_app/connectors_manager/models.py 95.65% <ø> (ø)
api_app/connectors_manager/serializers.py 100.00% <ø> (ø)
api_app/connectors_manager/urls.py 100.00% <ø> (ø)
api_app/connectors_manager/views.py 100.00% <ø> (ø)
api_app/decorators.py 78.94% <ø> (ø)
... and 231 more

... and 194 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bd03f54...46babe7. Read the comment docs.

Copy link
Copy Markdown
Contributor

@code-review-doctor code-review-doctor bot left a comment

Choose a reason for hiding this comment

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

Looks good. Worth considering though. View full project report here.

start.py Outdated
required=False,
type=generic_version_regex,
default=PYCTI_DEFAULT_VERSION,
help=f"The pycti version to choose. This must match the OpenCTI server version"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
help=f"The pycti version to choose. This must match the OpenCTI server version"
help="The pycti version to choose. This must match the OpenCTI server version"

f-string is unnecessary here. This can just be a string. More info.

start.py Outdated
type=generic_version_regex,
default=PYCTI_DEFAULT_VERSION,
help=f"The pycti version to choose. This must match the OpenCTI server version"
f" you are connecting to."
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
f" you are connecting to."
" you are connecting to."

Again, f-string is unnecessary here.

@mlodic mlodic merged commit e1a4b6d into develop Aug 29, 2023
@mlodic mlodic deleted the pycti_workaround branch August 29, 2023 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

IntelOwl v5.0.1 not connecting to OpenCTI

1 participant