Issif / falco-rules-explorer

A dashboard to explore Falco Rules

Home Page:https://Issif.github.io/falco-rules-explorer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Falco Rules Explorer

index.html

Description

This project is a WIP

Falco Rules Explorer is dashboard to explore the Falco rules in a friendly way. You can search, filter and display all details of rules.

Configuration

The list of rules to scrape is managed by the file registry.yaml:

---
rules_files:
  - "https://github.com/falcosecurity/rules/blob/main/rules/falco_rules.yaml"
  - "https://github.com/falcosecurity/rules/blob/main/rules/application_rules.yaml"
  - "https://github.com/falcosecurity/plugins/blob/master/plugins/k8saudit/rules/k8s_audit_rules.yaml"
  - "https://github.com/falcosecurity/plugins/blob/master/plugins/cloudtrail/rules/aws_cloudtrail_rules.yaml"
  - "https://github.com/falcosecurity/plugins/blob/master/plugins/github/rules/github.yaml"
  - "https://github.com/falcosecurity/plugins/blob/master/plugins/okta/rules/okta_rules.yaml"

Create the index of rules

go run .

It creates an index.json file which lists all rules with their details.

View the dashboard

python -m http.server 3000

Go to http://0.0.0.0:3000/.

Frontend

The sources for the frontend are:

  • index.html: the dashboard
  • rule.html: details of a rule

Author

Thomas Labarussias (https://github.com/Issif)

About

A dashboard to explore Falco Rules

https://Issif.github.io/falco-rules-explorer


Languages

Language:HTML 75.4%Language:Go 20.3%Language:CSS 3.7%Language:JavaScript 0.6%