Code Monkey home page Code Monkey logo

stechhelm's Introduction

stechhelm

Scanned by Frogbot

About this plugin

This plugin was created to analyse and visualise potential threats and risks in JFrog platforms. It is done by understanding the relations between JFrog components, and building a corresponding graph in neo4j.

Installation with JFrog CLI

Installing the latest version:

$ jfrog plugin install stechhelm

Installing a specific version:

$ jfrog plugin install stechhelm@version

Uninstalling a plugin

$ jfrog plugin uninstall stechhelm

Usage

Commands

  • audit
    • Flags:
      • --server-id: Artifactory server ID configured using the config command [Optional]
    • Example:
      $ jfrog stechhelm audit
    
  • graph
    • Flags:
      • --server-id: Artifactory server ID configured using the config command [Optional]
      • --verbose: Set to true to output the graph-building queries to stdout. [Optional]
      • --graph-url: neo4j URL.
      • --graph-user: neo4j username.
      • --graph-password: neo4j password.
      • --graph-database: neo4j database name.
      • --graph-realm: neo4j realm. [Optional]
      • --output-to-file: [Default: false] Set to true to output the graph-building queries to a file.
      • --output-file-path: [Default: current workdir] Path to an output file for the graph-building queries. [Optional]
    • Example:
      $ jfrog stechhelm graph --graph-url="http://url.com:8080/" --graph-user=user --graph-password=pass --graph-database=default
    

Additional info

Here are some useful queries to use in neo4j, after creating the graph.

  • Show the whole graph:

        MATCH (n1)-[r]->(n2) RETURN r, n1, n2
    
  • Find the shortest path - from an attacker to each vulnerable build:

        MATCH p = shortestPath((x:RepoVIRTUAL)-[r2:STORES|PRODUCE|DEPENDENCY_FOR*1..10]->(b:Build)),(n)-[r3:LINKED_TO|ATTACKS*1..4]->(x)
        WHERE x.is_safe = "false"
        RETURN *
    

Release Notes

The release notes are available here.

stechhelm's People

Contributors

asafcyi avatar barbelity avatar etingertal avatar jfrog-frogbot avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.