Security News
38% of CISOs Fear They’re Not Moving Fast Enough on AI
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
@nelson-ai/graph-traversal
Advanced tools
This is a graph traversal library, loosely inspired from Gremlin.
Gremlin uses a property graph, where edges may have properties. Since Edge Factory is in JSON-LD (aka RDF), edges are predicates and cannot embed attributes.
In the Edge Factory graph, type
is mandatory. We leverage this by auto-indexing on types.
We provide a REPL to play with the edge-graph. You can start it by running npm run repl
.
You can then start playing with the API. For example, to
edgeo:Thing
> g.v('edgeo:Thing').in('subClassOf').get('id')
> g.t('Asset').get('id', 'label')
> g.t('Lever').count()
> g.t('Lever').has('timeHorizon', 12).count()
> g.v('edger:process1').out('levers').get('id', 'timeHorizon')
> g.v('edger:process1').out('levers').count()
> g.v('edger:process1').out('levers').has('timeHorizon', 12).count()
> g.v('edger:process1').out('levers').has('timeHorizon', 12).get('id', 'timeHorizon')
TODO: list all API methods
Gotchas :
The data received by a filter function is a Vertex, not a POJO. Use get() to access data fields...
const r = g.v('test:edge')
.in('worksFor')
.filter(p => p.get().age < 30)
.get('id', 'age');
FAQs
Gremlin-like graph traversal for JSON-LD
We found that @nelson-ai/graph-traversal demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.
Security News
Company News
Socket is joining TC54 to help develop standards for software supply chain security, contributing to the evolution of SBOMs, CycloneDX, and Package URL specifications.