Code Monkey home page Code Monkey logo

kernel-crawler's Introduction

Falcosecurity kernel-crawler

Latest Architectures

It is a tool used to crawl supported kernels by multiple distros, and generate a driverkit-like config json.
Output json can be found, for each supported architecture, under kernels branch and on gh pages: https://falcosecurity.github.io/kernel-crawler/.

A weekly github action workflow will open a PR on this repo to update the json.
As soon as the PR is merged and the json updated, a prow job will create a PR on test-infra to generate the new Driverkit configs from the updated json.

Helper text and options:

Main:

Usage: kernel-crawler [OPTIONS] COMMAND [ARGS]...

Options:
    --debug / --no-debug
    --help                Show this message and exit.

Commands:
    crawl

Crawl command:

Usage: kernel-crawler crawl [OPTIONS]

Options:
    --distro [AmazonLinux|AmazonLinux2|AmazonLinux2022|AmazonLinux2023|BottleRocket|CentOS|Debian|Fedora|Flatcar|Minikube|OracleLinux|PhotonOS|Redhat|Ubuntu|*]
    --version TEXT
    --arch [x86_64|aarch64]
    --image TEXT                    Option is required when distro is Redhat.
    --help                          Show this message and exit.

Docker image

A docker image is provided for releases, by a circleCI job: falcosecurity/kernel-crawler:latest. You can also build it yourself, by issuing:

docker build -t falcosecurity/kernel_crawler -f docker/Dockerfile .

from project root.

Install

To install the project, a simple pip3 install . from project root is enough.

Examples

  • Crawl amazonlinux2 kernels:
kernel-crawler crawl --distro=AmazonLinux2
  • Crawl all supported distros kernels:
kernel-crawler crawl --distro=*
โ— Note: Passing --image argument is supported with --distro=*
  • Crawl Redhat kernels (specific to the container supplied), with no-formatted output:
kernel-crawler crawl --distro=Redhat --image=redhat/ubi8:registered

kernel-crawler's People

Contributors

fededp avatar gnosek avatar iurly avatar exoner4ted avatar speedyguy17 avatar gianlucaborello avatar cappellinsamuele avatar poiana avatar johnbrydon avatar jcpittman144 avatar francesco-racciatti avatar alacuku avatar mstemm avatar dark-vex avatar bwolmarans avatar nathan-b avatar wfer-20 avatar krishnan-ramkumar avatar thom-sd avatar balinaveen avatar adalton avatar abroglesc avatar ceizner avatar etown avatar jsoref avatar ldegio avatar mfdii avatar nestorsalceda avatar samuelepilleri 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.