Skip to content

How to make OCSF objects in Python #24

Description

@brettforbes

Hi,

Great project, thanks a lot.

Possibly a dumb question, but how do I make/parse valid OCSF objects in Python??

When i am working with Stix, the OASIS group provide a Stix2 python library that enable a user to make valid Stix objects.

How can i do the same with OCSF? It does not appear that ocsf-lib-py can do that. Am I wrong?

We would write our own library, but it is difficult due to the dynamic nature of the classes. Ideally it would be built as an extension to the ocsf-lib-py, which seems pretty extensive. Is the ability to make/parse valid OCSF objects already in the library, but i am totally missing it?

If so, much apologies, else, are you planning on building this functionality at some stage? How can one use OCSF without this capability if we are not as expert as you guys?

Note: Assume we have no idea of what we are doing, and just need a simple way to make/parse objects, cos thats pretty close to the truth.

Sorry if this is a dumb question.

Please advise

Thanks

Dumb User

Activity

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