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

[Mandiant] Unexpected properties for stix2 Note #2983

Closed
Megafredo opened this issue Nov 18, 2024 · 0 comments · Fixed by #2984
Closed

[Mandiant] Unexpected properties for stix2 Note #2983

Megafredo opened this issue Nov 18, 2024 · 0 comments · Fixed by #2984
Assignees
Labels
bug use for describing something not working as expected filigran team use to identify PR from the Filigran team needs triage use to identify issue needing triage from Filigran Product team solved use to identify issue that has been solved (must be linked to the solving PR)
Milestone

Comments

@Megafredo
Copy link
Member

Megafredo commented Nov 18, 2024

Description

An error is encountered when creating a stix Note in Report :

{"timestamp": "2024-11-17T05:48:28.506752Z", "level": "ERROR", "name": 
"Mandiant Threat Intelligence - Up to date", "message": "Could not 
process Report", "exc_info": "Traceback (most recent call last):\n  File
\"/opt/connector/reports.py\", line 50, in process\n    bundle = 
report.generate()\n             ^^^^^^^^^^^^^^^^^\n  File 
\"/opt/connector/reports.py\", line 90, in generate\n    
self.create_note()\n  File \"/opt/connector/reports.py\", line 286, in 
create_note\n    note = stix2.Note(\n           ^^^^^^^^^^^\n  File 
\"/usr/local/lib/python3.12/site-packages/stix2/base.py\", line 157, in 
__init__\n    raise ExtraPropertiesError(cls, 
custom_kwargs)\nstix2.exceptions.ExtraPropertiesError: Unexpected 
properties for Note: (note_types).", "taskName": null, "attributes": 
{"report_id": "24-10071352"}}

Environment

  1. OS (where OpenCTI server runs): { e.g. Mac OS 10, Windows 10, Ubuntu 16.4, etc. }
  2. OpenCTI version: { e.g. OpenCTI 1.0.2 }
  3. OpenCTI client: { e.g. frontend or python }
  4. Other environment details:

Reproducible Steps

Steps to create the smallest reproducible scenario:

  1. { e.g. Run ... }
  2. { e.g. Click ... }
  3. { e.g. Error ... }

Expected Output

Actual Output

Additional information

Screenshots (optional)

@Megafredo Megafredo added bug use for describing something not working as expected needs triage use to identify issue needing triage from Filigran Product team labels Nov 18, 2024
@Megafredo Megafredo self-assigned this Nov 18, 2024
@Megafredo Megafredo added the filigran team use to identify PR from the Filigran team label Nov 18, 2024
@Megafredo Megafredo linked a pull request Nov 18, 2024 that will close this issue
4 tasks
@Megafredo Megafredo added this to the Release 6.4.0 milestone Nov 18, 2024
@Megafredo Megafredo added the solved use to identify issue that has been solved (must be linked to the solving PR) label Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug use for describing something not working as expected filigran team use to identify PR from the Filigran team needs triage use to identify issue needing triage from Filigran Product team solved use to identify issue that has been solved (must be linked to the solving PR)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant