Skip to content

Documentation: CompositeDataSource Examples seems wrong #332

@rpiazza

Description

@rpiazza

get an object that is only in the filesystem

ta = cs.get('intrusion-set--f3bdec95-3d62-42d9-a840-29630f6cdc1a')
print(ta)

get an object that is only in the TAXII collection

ind = cs.get('indicator--37a6a5de-a5b9-425a-903a-4ae9cbf1ff3f')
print(ind)

First the variable ta probably should be something different, since it suggests a Threat Actor.
The 'output' seems to be two indicators - neither one of which has the id 'indicator--37a6a5de-a5b9-425a-903a-4ae9cbf1ff3f

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