synapse.lib.stormlib package
Submodules
synapse.lib.stormlib.auth module
synapse.lib.stormlib.backup module
- class synapse.lib.stormlib.backup.BackupLib(runt, name=())[source]
Bases:
synapse.lib.stormtypes.Lib
A Storm Library for interacting with the backup APIs in the Cortex.
synapse.lib.stormlib.cell module
- class synapse.lib.stormlib.cell.CellLib(runt, name=())[source]
Bases:
synapse.lib.stormtypes.Lib
A Storm Library for interacting with the Cortex.
synapse.lib.stormlib.ethereum module
- class synapse.lib.stormlib.ethereum.EthereumLib(runt, name=())[source]
Bases:
synapse.lib.stormtypes.Lib
A Storm library which implements helpers for Ethereum.
synapse.lib.stormlib.hex module
- class synapse.lib.stormlib.hex.HexLib(runt, name=())[source]
Bases:
synapse.lib.stormtypes.Lib
A Storm library which implements helpers for hexadecimal encoded strings.
synapse.lib.stormlib.imap module
- class synapse.lib.stormlib.imap.ImapLib(runt, name=())[source]
Bases:
synapse.lib.stormtypes.Lib
A Storm library to connect to an IMAP server.
- class synapse.lib.stormlib.imap.ImapServer(runt, imap_cli, path=None)[source]
Bases:
synapse.lib.stormtypes.StormType
An IMAP server for retrieving email messages.
synapse.lib.stormlib.infosec module
- class synapse.lib.stormlib.infosec.CvssLib(runt, name=())[source]
Bases:
synapse.lib.stormtypes.Lib
A Storm library which implements CVSS score calculations.
synapse.lib.stormlib.ipv6 module
- class synapse.lib.stormlib.ipv6.LibIpv6(runt, name=())[source]
Bases:
synapse.lib.stormtypes.Lib
A Storm Library for providing ipv6 helpers.
synapse.lib.stormlib.json module
- class synapse.lib.stormlib.json.JsonLib(runt, name=())[source]
Bases:
synapse.lib.stormtypes.Lib
A Storm Library for interacting with Json data.
- class synapse.lib.stormlib.json.JsonSchema(runt, schema, use_default=True)[source]
Bases:
synapse.lib.stormtypes.StormType
A JsonSchema validation object for use in validating data structures in Storm.
synapse.lib.stormlib.log module
- class synapse.lib.stormlib.log.LoggerLib(runt, name=())[source]
Bases:
synapse.lib.stormtypes.Lib
A Storm library which implements server side logging. These messages are logged to the
synapse.storm.log
logger.
synapse.lib.stormlib.macro module
- class synapse.lib.stormlib.macro.LibMacro(runt, name=())[source]
Bases:
synapse.lib.stormtypes.Lib
A Storm Library for interacting with the Storm Macros in the Cortex.
synapse.lib.stormlib.model module
- class synapse.lib.stormlib.model.LibModel(runt, name=())[source]
Bases:
synapse.lib.stormtypes.Lib
A Storm Library for interacting with the Data Model in the Cortex.
- class synapse.lib.stormlib.model.LibModelDeprecated(runt, name=())[source]
Bases:
synapse.lib.stormtypes.Lib
A storm library for interacting with the model deprecation mechanism.
- class synapse.lib.stormlib.model.LibModelEdge(runt, name=())[source]
Bases:
synapse.lib.stormtypes.Lib
A Storm Library for interacting with light edges and manipulating their key-value attributes.
- getObjLocals()[source]
Get the default list of key-value pairs which may be added to the object
.locls
dictionary.- Returns
A key/value pairs.
- Return type
dict
- hivepath = ('cortex', 'model', 'edges')
- validedgekeys = ('doc',)
- class synapse.lib.stormlib.model.LibModelTags(runt, name=())[source]
Bases:
synapse.lib.stormtypes.Lib
A Storm Library for interacting with tag specifications in the Cortex Data Model.
- class synapse.lib.stormlib.model.ModelForm(form, path=None)[source]
Bases:
synapse.lib.stormtypes.Prim
Implements the Storm API for a Form.
- class synapse.lib.stormlib.model.ModelProp(prop, path=None)[source]
Bases:
synapse.lib.stormtypes.Prim
Implements the Storm API for a Property.
- class synapse.lib.stormlib.model.ModelTagProp(tagprop, path=None)[source]
Bases:
synapse.lib.stormtypes.Prim
Implements the Storm API for a Tag Property.
- class synapse.lib.stormlib.model.ModelType(valu, path=None)[source]
Bases:
synapse.lib.stormtypes.Prim
A Storm types wrapper around a lib.types.Type
synapse.lib.stormlib.modelext module
- class synapse.lib.stormlib.modelext.LibModelExt(runt, name=())[source]
Bases:
synapse.lib.stormtypes.Lib
A Storm library for manipulating extended model elements.
synapse.lib.stormlib.notifications module
- class synapse.lib.stormlib.notifications.NotifyLib(runt, name=())[source]
Bases:
synapse.lib.stormtypes.Lib
A Storm library for a user interacting with their notifications.
synapse.lib.stormlib.oauth module
- class synapse.lib.stormlib.oauth.OAuthV1Client(runt, ckey, csecret, atoken, asecret, sigtype, path=None)[source]
Bases:
synapse.lib.stormtypes.StormType
A client for doing OAuth Authentication from Storm.
- class synapse.lib.stormlib.oauth.OAuthV1Lib(runt, name=())[source]
Bases:
synapse.lib.stormtypes.Lib
A Storm library to handle oauth v1 authentication.
synapse.lib.stormlib.project module
- class synapse.lib.stormlib.project.LibProjects(runt, name=())[source]
Bases:
synapse.lib.stormtypes.Lib
A Storm Library for interacting with Projects in the Cortex.
- class synapse.lib.stormlib.project.Project(runt, node, path=None)[source]
Bases:
synapse.lib.stormtypes.Prim
Implements the Storm API for Project objects, which are used for managing a scrum style project in the Cortex
- class synapse.lib.stormlib.project.ProjectEpic(proj, node)[source]
Bases:
synapse.lib.stormtypes.Prim
Implements the Storm API for a ProjectEpic
- class synapse.lib.stormlib.project.ProjectEpics(proj)[source]
Bases:
synapse.lib.stormtypes.Prim
Implements the Storm API for ProjectEpics objects, which are collections of ProjectEpic objects associated with a particular Project
- class synapse.lib.stormlib.project.ProjectSprint(proj, node)[source]
Bases:
synapse.lib.stormtypes.Prim
Implements the Storm API for a ProjectSprint
- class synapse.lib.stormlib.project.ProjectSprints(proj)[source]
Bases:
synapse.lib.stormtypes.Prim
Implements the Storm API for ProjectSprints objects, which are collections of sprints associated with a single project
- class synapse.lib.stormlib.project.ProjectTicket(proj, node)[source]
Bases:
synapse.lib.stormtypes.Prim
Implements the Storm API for a ProjectTicket.
- class synapse.lib.stormlib.project.ProjectTicketComment(ticket, node)[source]
Bases:
synapse.lib.stormtypes.Prim
Implements the Storm API for a ProjectTicketComment
- class synapse.lib.stormlib.project.ProjectTicketComments(ticket)[source]
Bases:
synapse.lib.stormtypes.Prim
Implements the Storm API for ProjectTicketComments objects, which are collections of comments associated with a ticket.
- class synapse.lib.stormlib.project.ProjectTickets(proj)[source]
Bases:
synapse.lib.stormtypes.Prim
Implements the Storm API for ProjectTickets objects, which are collections of tickets associated with a project
synapse.lib.stormlib.scrape module
- class synapse.lib.stormlib.scrape.LibScrape(runt, name=())[source]
Bases:
synapse.lib.stormtypes.Lib
A Storm Library for providing helpers for scraping nodes from text.
synapse.lib.stormlib.smtp module
- class synapse.lib.stormlib.smtp.SmtpLib(runt, name=())[source]
Bases:
synapse.lib.stormtypes.Lib
A Storm Library for sending email messages via SMTP.
- class synapse.lib.stormlib.smtp.SmtpMessage(runt)[source]
Bases:
synapse.lib.stormtypes.StormType
An SMTP message to compose and send.
synapse.lib.stormlib.stix module
- class synapse.lib.stormlib.stix.LibStix(runt, name=())[source]
Bases:
synapse.lib.stormtypes.Lib
A Storm Library for interacting with Stix Version 2.1 CS02.
- class synapse.lib.stormlib.stix.LibStixExport(runt, name=())[source]
Bases:
synapse.lib.stormtypes.Lib
A Storm Library for exporting to STIX version 2.1 CS02.
- class synapse.lib.stormlib.stix.StixBundle(libstix, runt, config, path=None)[source]
Bases:
synapse.lib.stormtypes.Prim
Implements the Storm API for creating and packing a STIX bundle for v2.1
synapse.lib.stormlib.storm module
- class synapse.lib.stormlib.storm.LibStorm(runt, name=())[source]
Bases:
synapse.lib.stormtypes.Lib
A Storm library for evaluating dynamic storm expressions.
synapse.lib.stormlib.version module
- class synapse.lib.stormlib.version.VersionLib(runt, name=())[source]
Bases:
synapse.lib.stormtypes.Lib
A Storm Library for interacting with version information.
synapse.lib.stormlib.xml module
- class synapse.lib.stormlib.xml.LibXml(runt, name=())[source]
Bases:
synapse.lib.stormtypes.Lib
A Storm library for parsing XML.
synapse.lib.stormlib.yaml module
- class synapse.lib.stormlib.yaml.LibYaml(runt, name=())[source]
Bases:
synapse.lib.stormtypes.Lib
A Storm Library for saving/loading YAML data.