Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/endgameinc/eql
https://github.com/endgameinc/eql
Last synced: 18 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/endgameinc/eql
- Owner: endgameinc
- License: other
- Created: 2018-11-29T20:28:14.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-10-31T19:31:27.000Z (about 1 year ago)
- Last Synced: 2024-08-01T08:09:12.979Z (4 months ago)
- Language: Python
- Size: 1.05 MB
- Stars: 212
- Watchers: 21
- Forks: 44
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Event Query Language
[![PyPI](https://img.shields.io/pypi/v/eql.svg)](https://pypi.python.org/pypi/eql)
[![Build](https://github.com/endgameinc/eql/actions/workflows/pythonpackage.yml/badge.svg)](https://github.com/endgameinc/eql/actions/workflows/pythonpackage.yml)
[![Documentation](https://readthedocs.org/projects/eql/badge/?version=latest)](https://eql.readthedocs.io/en/latest/?badge=latest)
[![License: AGPL v3](https://img.shields.io/badge/License-AGPL%20v3-blue.svg)](https://www.gnu.org/licenses/agpl-3.0)![What is EQL?](docs/_static/eql-whoami.jpg)
Browse a [library of EQL analytics](https://eqllib.readthedocs.io)## Now in Elasticsearch!
Since Endgame [joined forced with Elastic](https://www.elastic.co/blog/endgame-joins-forces-with-elastic), EQL is now natively integrated in Elasticsearch! See the Elasticsearch [EQL documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/eql.html) for more information. Also, please note that we have made a few changes to EQL in Elasticsearch to accomodate non-security users. Those are best summarized [here](https://www.elastic.co/guide/en/elasticsearch/reference/current/eql-syntax.html#eql-unsupported-syntax).
# Getting Started
The EQL module current supports Python 2.7 and 3.5+. Assuming a supported Python version is installed, run the command:
```console
$ pip install eql
```If Python is configured and already in the PATH, then ``eql`` will be readily available, and can be checked by running the command:
```console
$ eql --version
eql 0.9
```From there, try a [sample json file](docs/_static/example.json) and test it with EQL.
```console
$ eql query -f example.json "process where process_name == 'explorer.exe'"
{"command_line": "C:\\Windows\\Explorer.EXE", "event_type": "process", "md5": "ac4c51eb24aa95b77f705ab159189e24", "pid": 2460, "ppid": 3052, "process_name": "explorer.exe", "process_path": "C:\\Windows\\explorer.exe", "subtype": "create", "timestamp": 131485997150000000, "user": "research\\researcher", "user_domain": "research", "user_name": "researcher"}
```# Next Steps
- Browse a [library of EQL analytics](https://eqllib.readthedocs.io)
- Check out the [query guide](https://eql.readthedocs.io/en/latest/query-guide/index.html) for a crash course on writing EQL queries
- View usage for interactive [shell](https://eql.readthedocs.io/en/latest/cli.html)
- Explore the [API](https://eql.readthedocs.io/en/latest/api/index.html) for advanced usage or incorporating EQL into other projects