Giter VIP home page Giter VIP logo

sysdig-helpers's Introduction

Sysdig Helpers

Scripts to assist on Sysdig functionalities

Description

This script can be used to determine the health of your accounts onboarded to Sysdig. By executing this script you will get a csv report that contains information about the accounts onboarded in the Sysdig Backend and their current status. If the account is not found at Sysdig, it will report the account as not found in the script output.

Prerequisites

Usage

  • Clone this repo.
    git clone [email protected]:dacesmo/sysdig-helpers.git
  • cd to the repo directory
    cd sysdig-helpers
  • Give execution permissions to the script
    chmod +x ./cspm-health-check-runbook.sh
  • (Optional) export your token (you can also pass it at execution time)
    export SECURE_API_TOKEN="*****-*****-******-*****"
  • Execute the script
    ./cspm-health-check-runbook.sh -a <single-cloud-account>
    ## You can also pass the token as a variable
    SECURE_API_TOKEN="*****-*****-******-*****" ./cspm-health-check-runbook.sh -a <single-cloud-account>
    ## Or use a parameter to define the token
    ./cspm-health-check-runbook.sh -a <single-cloud-account> -t "*****-*****-******-*****"
    Additionally you can use the following flags:
    -a <single-cloud-account> return status of a single account
    -A return status of ALL the accounts in Sysdig
    -l <account,account...> return the status of a list of accounts (comma separated)
    -t <secure-api-token> Set the SECURE_API_TOKEN required variable
    -r <region> Your Sysdig Secure Region (us1, us2, us4, eu1, au1), default: eu1
    -o <outputfile> output file name, defaults: accounts_results.<data>.csv
    -i insecure connection, won't check certificates (behin proxy, etc), default: false USE AT YOUR OWN RISK
    -h print this help

Contribute

Please contribute to this repo using Pull Requests, issues to be reported via GitHub issues.

sysdig-helpers's People

Contributors

dacesmo avatar antoniohernan avatar

Stargazers

Shawn Johnson avatar Joshua Ma avatar  avatar

Watchers

 avatar

Forkers

antoniohernan

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.