Skip to content

elastic/detection-rules-explorer

Repository files navigation

Detection Rules Explorer

A UI for exploring and learning about Elastic Security Detection Rules.

How do I get to the site?

The explorer is publically available at https://elastic.github.io/detection-rules-explorer. It is updated daily with the latest published rules.

What rules are included?

Elastic detection rules are included from these Elastic packages:

How do I getting started with development?

The site is built with GitHub Pages, Next.js and Elastic EUI, based on the Elastic's Next.js EUI Starter.

To run the local development environment:

  1. Get going with node:
nvm use
  1. Get the latest rules:
npm run prebuild
  1. Start the development server:
npm run dev

From there, open http://localhost:3000 with your browser to see the result. It will hot reload as you make changes to the site code.

How does this get deployed to Github pages?

There are two branches in this repository:

  • main - stores the source code for the site
  • gh-pages - stores the compiled site source for publishing

On merge to main, a Github action (at .github/workflows/gh-pages.yml) will build the site and push it to the gh-pages branch. From there, another Github action (auto-configured by Github) will publish the updates to the internet at https://elastic.github.io/detection-rules-explorer.

Learn More

To learn more about Next.js, take a look at the following resources:

About

UI to explore and learn about Elastic Security Detection Rules

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published