Skip to content

add_findings_bundle example #81

Open

Description

@abulhol

I noticed this

# Add the Bundle to the Malware Subject
subject.add_findings_bundle(bundle)
subject.findings_bundles.bundle = [bundle]

in
https://github.com/MAECProject/python-maec/blob/master/examples/package_generation_example.py

What is the purpose of the second instruction? It does not seem to have any effect.
I am just trying to get a good understanding how to create a MAEC file.

Activity

  1. ikiril01 commented on Nov 4, 2015

    @ikiril01
    Member

    Ah, good catch. You're right - the second subject.findings_bundles.bundle = [bundle] instruction is unnecessary and likely leftover from some legacy code.

  2. self-assigned this
    on Aug 11, 2016
  3. gtback commented on Aug 11, 2016

    @gtback
    Contributor

    We should still fix this, but it's a low priority.

  4. reopened this on Aug 11, 2016
  5. removed their assignment
    on Apr 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions