Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
2aba905
Add AWS VPC Flow Log initial files
Priyanka-Chatterjee-2000 Mar 10, 2025
e6bd107
Update locals.pp
Priyanka-Chatterjee-2000 Mar 10, 2025
1076d40
Merge pull request #1 from turbot/add_detections
misraved Mar 11, 2025
5892d32
Add initial detections
Priyanka-Chatterjee-2000 Mar 11, 2025
b5de9b4
Add initial sankey charts
misraved Mar 11, 2025
7145605
Add docs
Priyanka-Chatterjee-2000 Mar 12, 2025
d4fcf2b
initial dashboard
Priyanka-Chatterjee-2000 Mar 12, 2025
b2ddcc4
Update the dashboard
Priyanka-Chatterjee-2000 Mar 12, 2025
27acb04
Update x-axes, y-axxes labels
Priyanka-Chatterjee-2000 Mar 12, 2025
b04b4de
Add VPC Flow Log Source IP Network Analysis dashboard
misraved Mar 12, 2025
6e1bea5
Apply suggestive changes
Priyanka-Chatterjee-2000 Mar 12, 2025
4d54423
Update detections as per the latest standard (#2)
misraved Mar 27, 2025
5af093b
Add the mod doc and images
misraved Mar 28, 2025
fc7ca63
Remove the 404 doc links
misraved Mar 31, 2025
187d852
Enhance VPC Flow Log dashboards with improved titles and additional d…
misraved Apr 10, 2025
42a21d3
Comment out the linking between network graph and comprehensive analy…
misraved Apr 15, 2025
ea9b9a6
Add documentation for network graph and source IP traffic map dashboards
misraved Apr 15, 2025
0ab79f7
Add 'Hidden' tags to network graph and source IP traffic map dashboards
misraved Apr 15, 2025
9542001
Fix syntax error in network graph dashboard configuration
misraved Apr 15, 2025
34d37bd
Add .gitattributes and .gitignore files; update documentation path an…
misraved Apr 17, 2025
c7b3238
Refactor VPC flow log detections: remove unused detections and update…
misraved Apr 17, 2025
6e2a608
Rename Activity Dashboard queries, add new cards, charts, and tables
cbruno10 Apr 18, 2025
d2c12d7
Update Activity Dashboard doc
cbruno10 Apr 18, 2025
67868d0
Update Network Graph and docs
cbruno10 Apr 18, 2025
1d85c64
Remove unused detections, organize detections, update docs
cbruno10 Apr 18, 2025
1ceee94
Update common detection columns
cbruno10 Apr 18, 2025
82e5ea1
Fix links in README and index doc for prereqs
cbruno10 Apr 18, 2025
78dcc6e
Add CHANGELOG and update README with new benchmarks and dashboards
misraved Apr 18, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
**/*.pp linguist-language=HCL
29 changes: 29 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: bug
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**Powerpipe version (`powerpipe -v`)**
Example: v0.3.0

**Tailpipe version (`tailpipe -v`)**
Example: v0.3.0

**Plugin version (`tailpipe plugin list`)**
Example: v0.5.0

**To reproduce**
Steps to reproduce the behavior (please include relevant code and/or commands).

**Expected behavior**
A clear and concise description of what you expected to happen.

**Additional context**
Add any other context about the problem here.
11 changes: 11 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
blank_issues_enabled: false
contact_links:
- name: Questions
url: https://turbot.com/community/join
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.
- name: Powerpipe CLI Bug Reports and Feature Requests
url: https://github.com/turbot/powerpipe/issues/new/choose
about: Powerpipe CLI has its own codebase. Bug reports and feature requests for those pieces of functionality should be directed to that repository.
- name: Tailpipe CLI Bug Reports and Feature Requests
url: https://github.com/turbot/tailpipe/issues/new/choose
about: Tailpipe CLI has its own codebase. Bug reports and feature requests for those pieces of functionality should be directed to that repository.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: enhancement
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
2 changes: 2 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
### Checklist
- [ ] Issue(s) linked
17 changes: 17 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Stale Issues and PRs
on:
schedule:
- cron: "30 23 * * *"
workflow_dispatch:
inputs:
dryRun:
description: Set to true for a dry run
required: false
default: "false"
type: string

jobs:
stale_workflow:
uses: turbot/steampipe-workflows/.github/workflows/stale.yml@main
with:
dryRun: ${{ github.event.inputs.dryRun }}
9 changes: 9 additions & 0 deletions .github/workflows/sync-labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: Sync Labels
on:
schedule:
- cron: "30 22 * * 1"
workflow_dispatch:

jobs:
sync_labels_workflow:
uses: turbot/steampipe-workflows/.github/workflows/sync-labels.yml@main
19 changes: 19 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Binaries for programs and plugins
*.exe
*.exe~
*.dll
*.so
*.dylib

# Swap files
*.swp

# Ignore Apple custom attributes file
.DS_Store

# Powerpipe variable files
*.ppvars
*.auto.ppvars

# Ignore DuckDB files
*.db
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
## v0.1.0 [2025-04-18]

_What's new?_

- New benchmarks added:
- MITRE ATT&CK v16.1 benchmark (`powerpipe benchmark run aws_vpc_flow_log_detections.benchmark.mitre_attack_v161`).
- VPC Flow Log Detections benchmark (`powerpipe benchmark run aws_vpc_flow_log_detections.benchmark.vpc_flow_log_detections`).

- New dashboards added:
- [VPC Flow Log Activity Dashboard](https://hub.powerpipe.io/mods/turbot/tailpipe-mod-aws-vpc-flow-log-detections/dashboards/dashboard.activity_dashboard)
- [VPC Flow Log Network Graph](https://hub.powerpipe.io/mods/turbot/tailpipe-mod-aws-vpc-flow-log-detections/dashboards/dashboard.network_graph)
87 changes: 85 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,85 @@
# tailpipe-mod-aws-vpc-flow-log-detections-
Run detections and view dashboards for your AWS VPC Flow logs to monitor and analyze activity across your AWS accounts using Powerpipe and Tailpipe.
# AWS VPC Flow Log Detections Mod for Powerpipe

[Tailpipe](https://tailpipe.io) is an open-source CLI tool that allows you to collect logs and query them with SQL.

[AWS](https://aws.amazon.com/) provides on-demand cloud computing platforms and APIs to authenticated customers on a metered pay-as-you-go basis.

The [AWS VPC Flow Log Detections Mod](https://hub.powerpipe.io/mods/turbot/tailpipe-mod-aws-vpc-flow-log-detections) contains pre-built dashboards and detections, which can be used to monitor and analyze network activity across your AWS accounts.

Run detection benchmarks:
![image](docs/images/aws_vpc_flow_log_mitre_dashboard.png)

View insights in dashboards:
![image](docs/images/aws_vpc_flow_log_network_graph.png)

## Documentation

- **[Benchmarks and Detections →](https://hub.powerpipe.io/mods/turbot/aws-vpc-flow-log-detections/benchmarks)**

## Getting Started

Install Powerpipe from the [downloads page](https://powerpipe.io/downloads):

```bash
# macOS
brew install turbot/tap/powerpipe

# Linux or Windows (WSL)
sudo /bin/sh -c "$(curl -fsSL https://powerpipe.io/install/powerpipe.sh)"
```

This mod also requires AWS VPC flow logs to be collected using Tailpipe with the AWS plugin:
- [Get started with the AWS plugin for Tailpipe →](https://hub.tailpipe.io/plugins/turbot/aws#getting-started)
- [Collect AWS VPC flow logs →](https://hub.tailpipe.io/plugins/turbot/aws/tables/aws_vpc_flow_log#configure)

Install the mod:

```bash
mkdir dashboards
cd dashboards
powerpipe mod install github.com/turbot/tailpipe-mod-aws-vpc-flow-log-detections
```

### Browsing Dashboards

Start the dashboard server:

```bash
powerpipe server
```

Browse and view your dashboards at **http://localhost:9033**.

### Running Benchmarks in Your Terminal

Instead of running benchmarks in a dashboard, you can also run them within your terminal with the `powerpipe benchmark` command:

List available benchmarks:

```bash
powerpipe benchmark list
```

Run a benchmark:

```bash
powerpipe benchmark run aws_vpc_flow_log_detections.benchmark.mitre_attack_v161
```

Different output formats are also available, for more information please see [Output Formats](https://powerpipe.io/docs/reference/cli/benchmark#output-formats).

## Open Source & Contributing

This repository is published under the [Apache 2.0 license](LICENSE). Please see our [code of conduct](https://github.com/turbot/.github/blob/main/CODE_OF_CONDUCT.md). We look forward to collaborating with you!

[Tailpipe](https://tailpipe.io) and [Powerpipe](https://powerpipe.io) are products produced from this open source software, exclusively by [Turbot HQ, Inc](https://turbot.com). They are distributed under our commercial terms. Others are allowed to make their own distribution of the software, but cannot use any of the Turbot trademarks, cloud services, etc. You can learn more in our [Open Source FAQ](https://turbot.com/open-source).

## Get Involved

**[Join #tailpipe and #powerpipe on Slack →](https://turbot.com/community/join)**

Want to help but don't know where to start? Pick up one of the `help wanted` issues:

- [Powerpipe](https://github.com/turbot/powerpipe/labels/help%20wanted)
- [Tailpipe](https://github.com/turbot/tailpipe/labels/help%20wanted)
- [AWS VPC Flow Log Detections Mod](https://github.com/turbot/tailpipe-mod-aws-vpc-flow-log-detections/labels/help%20wanted)
Loading