Skip to content

Conversation

UncleRaymondo
Copy link

@UncleRaymondo UncleRaymondo commented Sep 1, 2025

Proposed changes

  • Updated the cyber-campaign-monitor connector to resolve the datetime deprecation warnings and added the ability for the reports to be classified with a report_type and report_status via config.yml and docker-compose.yml, both of which are currently nonexistent. Also updated the config.yml.sample file.
  • Updated the attribution-tools connector to resolve the datetime deprecation warning
  • Updated the mitre-atlas connector to resolve the datetime deprecation warning
  • Fixes 6.7.16 - [cyber-campaign-collection] & [attribution-tools] - DeprecationWarning for utcfromtimestamp #4571

Related issues

  • I hope they've been done correctly; they appear to work here, but another peer review by an expert is appreciated.

Checklist

  • I consider the submitted work as finished
  • I have signed my commits using GPG key.
  • I tested the code for its functionality using different use cases
  • I added/update the relevant documentation (either on github or on notion)
  • Where necessary I refactored code to improve the overall quality

Further comments

Thanks for the great work in keeping this open-source and allowing the community to participate and improve its knowledge around threat intelligence 🙏😊

UncleRaymondo and others added 4 commits August 30, 2025 23:39
No need to log an error about a URL not returning any screenshots if the configuration value of `import_screenshot` is set to False.
Two resolutions: Fix datetime deprecation warnings, and reconfigure the script to allow for report_type and report_status properties, defined as environment variables or within the config.yml file.
Fix datetime.utcnow() deprecation warnings, replacing naive objects with new timezone-aware objects.
Additional changes to the docker-compose.yml file for docker installations, and updating of the config.yml.sample file with the report_type and report_status fields.
@UncleRaymondo UncleRaymondo marked this pull request as draft September 1, 2025 08:40
Fixed invalid import/reference
@UncleRaymondo UncleRaymondo marked this pull request as ready for review September 1, 2025 09:52
@UncleRaymondo
Copy link
Author

#4571 is resolved by this PR

@UncleRaymondo UncleRaymondo marked this pull request as draft September 1, 2025 10:17
@UncleRaymondo UncleRaymondo marked this pull request as ready for review September 1, 2025 10:17
Re-uploading after flake8 and black checks
Updating Mitre-Atlas to resolve the datetime deprecation warning.
@UncleRaymondo UncleRaymondo changed the title 6.7.16 - Minor Fixes & Enhancements for cyber-campaign-manager and attribution-tools 6.7.16 - Minor Fixes & Enhancements for cyber-campaign-manager, attribution-tools and mitre-atlas Sep 2, 2025
@romain-filigran romain-filigran added the community use to identify PR from community label Sep 3, 2025
@romain-filigran romain-filigran added this to the PRs backlog milestone Sep 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community use to identify PR from community
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6.7.16 - [cyber-campaign-collection] & [attribution-tools] - DeprecationWarning for utcfromtimestamp
2 participants