Skip to content

Commit 6d8cbc1

Browse files
cbruno10graza-ioPriyanka-Chatterjee-2000misraved
authored
Add Activity Dashboard and various benchmarks and detections (#1)
Co-authored-by: Graza <code@graza.io> Co-authored-by: Priyanka Chatterjee <priyanka.chatterjee@turbot.com> Co-authored-by: Ved misra <47312748+misraved@users.noreply.github.com>
1 parent 9a1b90a commit 6d8cbc1

File tree

68 files changed

+2571
-83
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+2571
-83
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: bug
6+
assignees: ''
7+
8+
---
9+
10+
**Describe the bug**
11+
A clear and concise description of what the bug is.
12+
13+
**Powerpipe version (`powerpipe -v`)**
14+
Example: v0.3.0
15+
16+
**Tailpipe version (`tailpipe -v`)**
17+
Example: v0.3.0
18+
19+
**Plugin version (`tailpipe plugin list`)**
20+
Example: v0.5.0
21+
22+
**To reproduce**
23+
Steps to reproduce the behavior (please include relevant code and/or commands).
24+
25+
**Expected behavior**
26+
A clear and concise description of what you expected to happen.
27+
28+
**Additional context**
29+
Add any other context about the problem here.

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: Questions
4+
url: https://turbot.com/community/join
5+
about: GitHub issues in this repository are only intended for bug reports and feature requests. Other issues will be closed. Please ask and answer questions through the Turbot Slack community.
6+
- name: Powerpipe CLI Bug Reports and Feature Requests
7+
url: https://github.com/turbot/powerpipe/issues/new/choose
8+
about: Powerpipe CLI has its own codebase. Bug reports and feature requests for those pieces of functionality should be directed to that repository.
9+
- name: Tailpipe CLI Bug Reports and Feature Requests
10+
url: https://github.com/turbot/tailpipe/issues/new/choose
11+
about: Tailpipe CLI has its own codebase. Bug reports and feature requests for those pieces of functionality should be directed to that repository.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: ''
5+
labels: enhancement
6+
assignees: ''
7+
8+
---
9+
10+
**Is your feature request related to a problem? Please describe.**
11+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12+
13+
**Describe the solution you'd like**
14+
A clear and concise description of what you want to happen.
15+
16+
**Describe alternatives you've considered**
17+
A clear and concise description of any alternative solutions or features you've considered.
18+
19+
**Additional context**
20+
Add any other context or screenshots about the feature request here.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
### Checklist
2+
- [ ] Issue(s) linked

.github/workflows/stale.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Stale Issues and PRs
2+
on:
3+
schedule:
4+
- cron: "30 23 * * *"
5+
workflow_dispatch:
6+
inputs:
7+
dryRun:
8+
description: Set to true for a dry run
9+
required: false
10+
default: "false"
11+
type: string
12+
13+
jobs:
14+
stale_workflow:
15+
uses: turbot/steampipe-workflows/.github/workflows/stale.yml@main
16+
with:
17+
dryRun: ${{ github.event.inputs.dryRun }}

.github/workflows/sync-labels.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
name: Sync Labels
2+
on:
3+
schedule:
4+
- cron: "30 22 * * 1"
5+
workflow_dispatch:
6+
7+
jobs:
8+
sync_labels_workflow:
9+
uses: turbot/steampipe-workflows/.github/workflows/sync-labels.yml@main

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
## v0.1.0 [2025-04-16]
2+
3+
_What's new?_
4+
5+
- New benchmarks added:
6+
- MITRE ATT&CK v16.1 benchmark (`powerpipe benchmark run nginx_access_log_detections.benchmark.mitre_attack_v161`).
7+
- Nginx Access Log Detections benchmark (`powerpipe benchmark run nginx_access_log_detections.benchmark.access_log_detections`).
8+
- OWASP Top 10 2021 benchmark (`powerpipe benchmark run nginx_access_log_detections.benchmark.owasp_top_10_2021`).
9+
10+
- New dashboards added:
11+
- [Nginx Access Log Activity Dashboard](https://hub.powerpipe.io/mods/turbot/tailpipe-mod-nginx-access-log-detections/dashboards/dashboard.activity_dashboard)

README.md

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
# Nginx Access Log Detections Mod for Powerpipe
22

3-
View dashboards, run detections and scan for anomalies across your Nginx access logs.
3+
[Tailpipe](https://tailpipe.io) is an open-source CLI tool that allows you to collect logs and query them with SQL.
44

5-
<!--
6-
TODO: Insert images
7-
-->
5+
The [Nginx Access Log Detections Mod](https://hub.powerpipe.io/mods/turbot/tailpipe-mod-nginx-access-log-detections) contains pre-built dashboards and detections, which can be used to monitor and analyze activity across your Nginx servers.
6+
7+
Run detection benchmarks:
8+
![image](docs/images/nginx_access_log_owasp_dashboard.png)
9+
10+
View insights in dashboards:
11+
![image](docs/images/nginx_access_log_activity_dashboard.png)
812

913
## Documentation
1014

@@ -102,13 +106,12 @@ List available benchmarks:
102106
powerpipe benchmark list
103107
```
104108

105-
<!-- TODO: add a benchmark name and uncomment
106109
Run a benchmark:
107110

108111
```sh
109-
powerpipe benchmark run nginx_access_log_detections.benchmark.
112+
powerpipe benchmark run nginx_access_log_detections.benchmark.access_log_detections
110113
```
111-
-->
114+
112115
Different output formats are also available, for more information please see
113116
[Output Formats](https://powerpipe.io/docs/reference/cli/benchmark#output-formats).
114117

@@ -126,4 +129,4 @@ Want to help but don't know where to start? Pick up one of the `help wanted` iss
126129

127130
- [Powerpipe](https://github.com/turbot/powerpipe/labels/help%20wanted)
128131
- [Tailpipe](https://github.com/turbot/tailpipe/labels/help%20wanted)
129-
- [Nginx Access Log Detections Mod](https://github.com/turbot/tailpipe-mod-nginx0-access-log-detections/labels/help%20wanted)
132+
- [Nginx Access Log Detections Mod](https://github.com/turbot/tailpipe-mod-nginx-access-log-detections/labels/help%20wanted)

0 commit comments

Comments
 (0)