synapse.lib.stormlib package
Submodules
synapse.lib.stormlib.auth module
synapse.lib.stormlib.backup module
synapse.lib.stormlib.basex module
synapse.lib.stormlib.cell module
synapse.lib.stormlib.compression module
- class synapse.lib.stormlib.compression.Bzip2Lib(runt, name=())[source]
Bases:
Lib
A Storm library which implements helpers for bzip2 compression.
- class synapse.lib.stormlib.compression.GzipLib(runt, name=())[source]
Bases:
Lib
A Storm library which implements helpers for gzip compression.
- class synapse.lib.stormlib.compression.ZlibLib(runt, name=())[source]
Bases:
Lib
A Storm library which implements helpers for zlib compression.
synapse.lib.stormlib.easyperm module
synapse.lib.stormlib.ethereum module
synapse.lib.stormlib.gen module
synapse.lib.stormlib.graph module
synapse.lib.stormlib.hashes module
synapse.lib.stormlib.hex module
- class synapse.lib.stormlib.hex.HexLib(runt, name=())[source]
Bases:
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:
Lib
A Storm library to connect to an IMAP server.
- class synapse.lib.stormlib.imap.ImapServer(runt, imap_cli, path=None)[source]
Bases:
StormType
An IMAP server for retrieving email messages.
synapse.lib.stormlib.infosec module
- synapse.lib.stormlib.infosec.CVSS3_0_round(x)[source]
Round up to the nearest one decimal place. From the JS reference implementation: https://www.first.org/cvss/calculator/cvsscalc30.js
- synapse.lib.stormlib.infosec.CVSS3_1_round(x)[source]
Round up to the nearest one decimal place. From the JS reference implementation: https://www.first.org/cvss/calculator/cvsscalc31.js
synapse.lib.stormlib.ipv6 module
synapse.lib.stormlib.iters module
synapse.lib.stormlib.json module
- class synapse.lib.stormlib.json.JsonLib(runt, name=())[source]
Bases:
Lib
A Storm Library for interacting with Json data.
- class synapse.lib.stormlib.json.JsonSchema(runt, schema, use_default=True)[source]
Bases:
StormType
A JsonSchema validation object for use in validating data structures in Storm.
synapse.lib.stormlib.log module
synapse.lib.stormlib.macro module
synapse.lib.stormlib.math module
synapse.lib.stormlib.mime module
synapse.lib.stormlib.model module
- class synapse.lib.stormlib.model.LibModel(runt, name=())[source]
Bases:
Lib
A Storm Library for interacting with the Data Model in the Cortex.
- class synapse.lib.stormlib.model.LibModelDeprecated(runt, name=())[source]
Bases:
Lib
A storm library for interacting with the model deprecation mechanism.
- class synapse.lib.stormlib.model.LibModelEdge(runt, name=())[source]
Bases:
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:
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:
Prim
Implements the Storm API for a Form.
- class synapse.lib.stormlib.model.ModelProp(prop, path=None)[source]
Bases:
Prim
Implements the Storm API for a Property.
synapse.lib.stormlib.modelext module
synapse.lib.stormlib.notifications module
- class synapse.lib.stormlib.notifications.NotifyLib(runt, name=())[source]
Bases:
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:
StormType
A client for doing OAuth V1 Authentication from Storm.
synapse.lib.stormlib.pack module
synapse.lib.stormlib.project module
- class synapse.lib.stormlib.project.LibProjects(runt, name=())[source]
Bases:
Lib
A Storm Library for interacting with Projects in the Cortex.
- class synapse.lib.stormlib.project.Project(runt, node, path=None)[source]
Bases:
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:
Prim
Implements the Storm API for a ProjectEpic
- class synapse.lib.stormlib.project.ProjectEpics(proj)[source]
Bases:
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:
Prim
Implements the Storm API for a ProjectSprint
- class synapse.lib.stormlib.project.ProjectSprints(proj)[source]
Bases:
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:
Prim
Implements the Storm API for a ProjectTicket.
- class synapse.lib.stormlib.project.ProjectTicketComment(ticket, node)[source]
Bases:
Prim
Implements the Storm API for a ProjectTicketComment
- class synapse.lib.stormlib.project.ProjectTicketComments(ticket)[source]
Bases:
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:
Prim
Implements the Storm API for ProjectTickets objects, which are collections of tickets associated with a project
synapse.lib.stormlib.random module
synapse.lib.stormlib.scrape module
synapse.lib.stormlib.smtp module
synapse.lib.stormlib.stix module
- class synapse.lib.stormlib.stix.LibStix(runt, name=())[source]
Bases:
Lib
A Storm Library for interacting with Stix Version 2.1 CS02.
- class synapse.lib.stormlib.stix.LibStixExport(runt, name=())[source]
Bases:
Lib
A Storm Library for exporting to STIX version 2.1 CS02.
- class synapse.lib.stormlib.stix.LibStixImport(runt, name=())[source]
Bases:
Lib
A Storm Library for importing Stix Version 2.1 data.
- class synapse.lib.stormlib.stix.StixBundle(libstix, runt, config, path=None)[source]
Bases:
Prim
Implements the Storm API for creating and packing a STIX bundle for v2.1
synapse.lib.stormlib.storm module
synapse.lib.stormlib.version module
- class synapse.lib.stormlib.version.VersionLib(runt, name=())[source]
Bases:
Lib
A Storm Library for interacting with version information.