Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrated 2024 #545

Draft
wants to merge 85 commits into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
85 commits
Select commit Hold shift + click to select a range
83e2fc6
Rename check to grouping in dashboard UI
MichaelBurgess Nov 5, 2024
32f8912
Add Detection and DetectionBenchmark.go
kaidaguerre Nov 6, 2024
0115a41
Fix DetectionBenchmark
kaidaguerre Nov 6, 2024
26e9495
WIP for making detections a supported resource
MichaelBurgess Nov 6, 2024
d7c991d
Add detection run and detection_benchmark run commands
kaidaguerre Nov 6, 2024
99cae14
Add DateTimeRange Picker for Detetction Benchmark
Darkness4ever Nov 6, 2024
b6f788f
WIP for showing detections benchmarks as a supported resource
MichaelBurgess Nov 6, 2024
32c9144
WIP for showing detections benchmarks as a supported resource
MichaelBurgess Nov 6, 2024
b64325d
add detectionBenchmarks to availabledashboards payload
kaidaguerre Nov 6, 2024
a0c81e3
Show root detection dashboards in dashboard list
MichaelBurgess Nov 6, 2024
363516b
Show root detection dashboards in dashboard list
MichaelBurgess Nov 6, 2024
674cb69
Working detection benchmark with table results
MichaelBurgess Nov 6, 2024
5dc8d8f
Tactical fix for detection config URL parsing
MichaelBurgess Nov 7, 2024
dee1c15
Add fiters to detection benchmark table
Darkness4ever Nov 7, 2024
1c1d8aa
Add correct totals
MichaelBurgess Nov 7, 2024
65ceb71
Add icons to filter bubbles instead of |
Darkness4ever Nov 7, 2024
51059a4
Fix deep nested benchmark rendering
MichaelBurgess Nov 7, 2024
252e2d4
Add severity support
MichaelBurgess Nov 7, 2024
d16e72c
Stop crash on search
MichaelBurgess Nov 7, 2024
dad4c86
Fix crash when clicking summary card
MichaelBurgess Nov 7, 2024
5dd35f1
Add loading state to total card
MichaelBurgess Nov 7, 2024
a8076c2
Remove group by for now
MichaelBurgess Nov 8, 2024
ebd487c
dashboard input values now passed using InputValues struct
kaidaguerre Nov 8, 2024
da5550c
Support new input values format
MichaelBurgess Nov 8, 2024
d671e88
Add DetectionChart to panel
Darkness4ever Nov 8, 2024
85fac1e
dashboard inputs are now passed using InputValues struct, which also …
kaidaguerre Nov 8, 2024
0def10a
Add `'tables' to Detection
kaidaguerre Nov 8, 2024
e4e2f64
Add execution flow
MichaelBurgess Nov 8, 2024
f2f7bc4
Fix UI crash
MichaelBurgess Nov 8, 2024
d3c6182
tailpipe connection invokes tailpipe connect, passing time range
kaidaguerre Nov 8, 2024
03b58ed
GetConnectionString returns error
kaidaguerre Nov 8, 2024
9b19864
Small UI fixes
MichaelBurgess Nov 8, 2024
c631c99
Fix table scrolling
MichaelBurgess Nov 8, 2024
11bb6a5
Add table scroll and panel alligment and sapce
Darkness4ever Nov 8, 2024
23e9839
Fix filter layout bug
MichaelBurgess Nov 8, 2024
01a72a0
Add Loading Indicator for Panel Status
Darkness4ever Nov 8, 2024
6249dba
Moved summary chart
MichaelBurgess Nov 8, 2024
4c9228e
Init date range to 1d
MichaelBurgess Nov 8, 2024
798a45f
Fix date range init bug
MichaelBurgess Nov 8, 2024
e9c6e3a
Fix relative time bug
MichaelBurgess Nov 8, 2024
5a60d62
Add tailwind css styling to DateRangePicker
Darkness4ever Nov 8, 2024
2dec887
Close custom pop up when clicked outside
Darkness4ever Nov 8, 2024
a34db95
Update Panel Spinner
Darkness4ever Nov 9, 2024
aa85489
fix input changed logic to reexecute if time range has changed
kaidaguerre Nov 9, 2024
8bbb866
Panel loader alignment Fix and animate
Darkness4ever Nov 9, 2024
025830b
More filtering tweaks
MichaelBurgess Nov 8, 2024
e6fe8b6
Fix re-render closing issue
MichaelBurgess Nov 9, 2024
5990b16
Ensure dashboard list links direct to t-1d for detections and detecti…
MichaelBurgess Nov 9, 2024
82bcb5f
Add hover to preset dates and Date Picker
Darkness4ever Nov 9, 2024
14ecb80
Highlight custom when non-preset relative unit selected
MichaelBurgess Nov 9, 2024
5154e23
Remove animation on date button hover
Darkness4ever Nov 9, 2024
50f2647
Tweaks
MichaelBurgess Nov 9, 2024
80249a0
Improve localised filtering
MichaelBurgess Nov 9, 2024
5a9f305
Fix severity
MichaelBurgess Nov 9, 2024
d2922df
Show all severity cards
MichaelBurgess Nov 9, 2024
cadac95
Imports
MichaelBurgess Nov 9, 2024
3d525f4
Fix
MichaelBurgess Nov 9, 2024
ce98f78
Potential fix for severity crash
MichaelBurgess Nov 11, 2024
524a935
Fix severity crash
MichaelBurgess Nov 11, 2024
ba7d8bb
Update version to v1.1.0
MichaelBurgess Nov 11, 2024
a30dd8a
use pf integrated-2024
pskrbasu Nov 11, 2024
fb66bf2
delete test mod
kaidaguerre Nov 11, 2024
36c3dea
move ShouldAddToMod to decoder to handle app specific resources
kaidaguerre Nov 11, 2024
369497b
lint wf
kaidaguerre Nov 11, 2024
7f71441
acc
kaidaguerre Nov 11, 2024
bb463f0
Add logging to buildDashboardMetadataPayload
kaidaguerre Nov 11, 2024
9cfad17
fix dashboard test
pskrbasu Nov 11, 2024
29c81b6
revert dashboard
pskrbasu Nov 11, 2024
9dfa1f3
tactical fix to respect database flag
kaidaguerre Nov 11, 2024
56cce20
force retest
kaidaguerre Nov 11, 2024
1f16a64
force retest
kaidaguerre Nov 11, 2024
d0dde6d
skip ubuntu arm smoke test
pskrbasu Nov 11, 2024
e114943
Add Diff to Cards
Darkness4ever Nov 11, 2024
1090278
update do-duckdb to v1.8.3 to fix JSON columns
kaidaguerre Nov 13, 2024
61835c7
Add condition for isNumericCol for duckdb doubles
MichaelBurgess Nov 14, 2024
372ff8b
Fix crash during dashboard loading
MichaelBurgess Nov 18, 2024
0f8525c
Check in yarn lock file
MichaelBurgess Nov 18, 2024
3ea8187
Upgrade dependencies
MichaelBurgess Nov 18, 2024
e89fe0c
Make loading of detections safe
MichaelBurgess Nov 18, 2024
1375e24
Remove logging
MichaelBurgess Nov 18, 2024
f4d1207
Update jq-web to jq-wasm
MichaelBurgess Nov 18, 2024
85f51b9
Disable table filter by default
MichaelBurgess Nov 18, 2024
f98e4b3
Ensures Fix for Issue #561
Darkness4ever Nov 19, 2024
be72628
Improve support for large table datasets. Closes #559. (#573)
MichaelBurgess Nov 20, 2024
ec6ea45
Improve relative/absolute calendar popout styling
MichaelBurgess Nov 21, 2024
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
88 changes: 44 additions & 44 deletions .github/workflows/01-powerpipe-pre-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
with:
repository: turbot/pipe-fittings
path: pipe-fittings
ref: v1.6.x
ref: integrated-2024

# this is required, check golangci-lint-action docs
- uses: actions/setup-go@v5
Expand Down Expand Up @@ -330,56 +330,56 @@ jobs:
docker stop amazonlinux-2023-test
docker rm amazonlinux-2023-test

smoke_test_ubuntu_24_arm64:
name: Smoke test (Ubuntu 24, ARM64)
runs-on: ubuntu-latest
needs: [goreleaser]
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Download Linux Build Artifact
uses: actions/download-artifact@v3
with:
name: build-artifact-linux-arm
path: ./artifacts
# smoke_test_ubuntu_24_arm64:
# name: Smoke test (Ubuntu 24, ARM64)
# runs-on: ubuntu-latest
# needs: [goreleaser]
# steps:
# - name: Checkout
# uses: actions/checkout@v4

# - name: Download Linux Build Artifact
# uses: actions/download-artifact@v3
# with:
# name: build-artifact-linux-arm
# path: ./artifacts

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
# - name: Set up Docker Buildx
# uses: docker/setup-buildx-action@v3

- name: Set up QEMU
uses: docker/setup-qemu-action@v3
with:
platforms: arm64
# - name: Set up QEMU
# uses: docker/setup-qemu-action@v3
# with:
# platforms: arm64

- name: Create Buildx Builder
run: |
docker buildx create --use --name mybuilder
docker buildx inspect --bootstrap
# - name: Create Buildx Builder
# run: |
# docker buildx create --use --name mybuilder
# docker buildx inspect --bootstrap

- name: Pull Ubuntu 24 ARM64 Image
run: docker pull arm64v8/ubuntu:latest
# - name: Pull Ubuntu 24 ARM64 Image
# run: docker pull arm64v8/ubuntu:latest

- name: Create and Start Ubuntu 24 ARM64 Container
run: |
docker run -d --name ubuntu-24-arm64-test -v ${{ github.workspace }}/artifacts:/artifacts -v ${{ github.workspace }}/scripts:/scripts arm64v8/ubuntu:latest tail -f /dev/null
# - name: Create and Start Ubuntu 24 ARM64 Container
# run: |
# docker run -d --name ubuntu-24-arm64-test -v ${{ github.workspace }}/artifacts:/artifacts -v ${{ github.workspace }}/scripts:/scripts arm64v8/ubuntu:latest tail -f /dev/null

- name: Get runner/container info
run: |
docker exec ubuntu-24-arm64-test /scripts/linux_container_info.sh
# - name: Get runner/container info
# run: |
# docker exec ubuntu-24-arm64-test /scripts/linux_container_info.sh

- name: Install dependencies, create user, and assign necessary permissions
run: |
docker exec ubuntu-24-arm64-test /scripts/prepare_ubuntu_container.sh
# - name: Install dependencies, create user, and assign necessary permissions
# run: |
# docker exec ubuntu-24-arm64-test /scripts/prepare_ubuntu_container.sh

- name: Run smoke tests
run: |
docker exec -u steampipe ubuntu-24-arm64-test /scripts/smoke_test.sh
# - name: Run smoke tests
# run: |
# docker exec -u steampipe ubuntu-24-arm64-test /scripts/smoke_test.sh

- name: Stop and Remove Container
run: |
docker stop ubuntu-24-arm64-test
docker rm ubuntu-24-arm64-test
# - name: Stop and Remove Container
# run: |
# docker stop ubuntu-24-arm64-test
# docker rm ubuntu-24-arm64-test

smoke_test_darwin_amd:
name: Smoke test (MacOS 13, x86_64)
Expand Down Expand Up @@ -421,7 +421,7 @@ jobs:

build_assets:
name: Build and Release Dashboard Assets
needs: [acceptance_test, smoke_test_ubuntu_24, smoke_test_centos_9, smoke_test_amazonlinux, smoke_test_ubuntu_24_arm64, smoke_test_darwin_amd]
needs: [acceptance_test, smoke_test_ubuntu_24, smoke_test_centos_9, smoke_test_amazonlinux, smoke_test_darwin_amd]
runs-on: ubuntu-latest
outputs:
version: ${{ steps.set_version.outputs.version }}
Expand Down Expand Up @@ -558,7 +558,7 @@ jobs:
with:
repository: turbot/pipe-fittings
path: pipe-fittings
ref: v1.6.x
ref: integrated-2024

- name: Tag Release
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/10-test-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
with:
repository: turbot/pipe-fittings
path: pipe-fittings
ref: develop
ref: integrated-2024

# this is required, check golangci-lint-action docs
- uses: actions/setup-go@v5
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/11-test-acceptance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
with:
repository: turbot/pipe-fittings
path: pipe-fittings
ref: develop
ref: integrated-2024

# this is required, check golangci-lint-action docs
- uses: actions/setup-go@v5
Expand Down
2 changes: 0 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ _Whats new_
- Optimize workspace load time for large workspaces with multiple dependent mods. ([#365](https://github.com/turbot/pipe-fittings/issues/365))

## v0.1.1 [2024-03-07]

_Bug fixes_
* Fix CLI available version check. ([#250](https://github.com/turbot/powerpipe/issues/250))
* Notify when `mod install` creates a default mod. ([#246](https://github.com/turbot/powerpipe/issues/246))
Expand All @@ -116,7 +115,6 @@ _Bug fixes_


## v0.1.0 [2024-03-06]

Introducing Powerpipe - Dashboards for DevOps.

*Benchmarks* - 5,000+ open-source controls from CIS, NIST, PCI, HIPAA, FedRamp and more. Run instantly on your machine or as part of your deployment pipeline.
Expand Down
36 changes: 18 additions & 18 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ require (
github.com/xlab/treeprint v1.2.0 // indirect
github.com/zclconf/go-cty v1.14.4
github.com/zclconf/go-cty-yaml v1.0.3 // indirect
golang.org/x/exp v0.0.0-20240222234643-814bf88cf225
golang.org/x/exp v0.0.0-20240909161429-701f63a606c0
sigs.k8s.io/yaml v1.4.0 // indirect
)

Expand All @@ -44,17 +44,17 @@ require (
github.com/jackc/pgx/v5 v5.6.0
github.com/jedib0t/go-pretty/v6 v6.5.9
github.com/logrusorgru/aurora v2.0.3+incompatible
github.com/marcboeker/go-duckdb v1.7.1
github.com/marcboeker/go-duckdb v1.8.3
github.com/mattn/go-sqlite3 v1.14.22
github.com/thediveo/enumflag/v2 v2.0.5
golang.org/x/sync v0.8.0
golang.org/x/text v0.17.0
golang.org/x/text v0.19.0
gopkg.in/olahol/melody.v1 v1.0.0-20170518105555-d52139073376
)

require (
cloud.google.com/go v0.112.1 // indirect
cloud.google.com/go/compute/metadata v0.3.0 // indirect
cloud.google.com/go/compute/metadata v0.5.0 // indirect
cloud.google.com/go/iam v1.1.6 // indirect
cloud.google.com/go/storage v1.38.0 // indirect
dario.cat/mergo v1.0.0 // indirect
Expand All @@ -67,7 +67,7 @@ require (
github.com/acarl005/stripansi v0.0.0-20180116102854-5a71ef0e047d // indirect
github.com/agext/levenshtein v1.2.3 // indirect
github.com/allegro/bigcache/v3 v3.1.0 // indirect
github.com/apache/arrow/go/v17 v17.0.0 // indirect
github.com/apache/arrow-go/v18 v18.0.0 // indirect
github.com/apparentlymart/go-cidr v1.1.0 // indirect
github.com/apparentlymart/go-textseg/v15 v15.0.0 // indirect
github.com/aws/aws-sdk-go v1.44.183 // indirect
Expand Down Expand Up @@ -124,7 +124,7 @@ require (
github.com/go-playground/universal-translator v0.18.1 // indirect
github.com/goccy/go-json v0.10.3 // indirect
github.com/goccy/go-yaml v1.11.2 // indirect
github.com/golang/glog v1.2.1 // indirect
github.com/golang/glog v1.2.2 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/golang/mock v1.6.0 // indirect
github.com/golang/protobuf v1.5.4 // indirect
Expand Down Expand Up @@ -162,7 +162,7 @@ require (
github.com/jmespath/go-jmespath v0.4.0 // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/kevinburke/ssh_config v1.2.0 // indirect
github.com/klauspost/compress v1.17.9 // indirect
github.com/klauspost/compress v1.17.11 // indirect
github.com/klauspost/cpuid/v2 v2.2.8 // indirect
github.com/leodido/go-urn v1.4.0 // indirect
github.com/magiconair/properties v1.8.7 // indirect
Expand Down Expand Up @@ -230,21 +230,21 @@ require (
go.opentelemetry.io/proto/otlp v1.2.0 // indirect
go.uber.org/multierr v1.10.0 // indirect
golang.org/x/arch v0.8.0 // indirect
golang.org/x/crypto v0.24.0 // indirect
golang.org/x/mod v0.18.0 // indirect
golang.org/x/net v0.26.0 // indirect
golang.org/x/oauth2 v0.21.0 // indirect
golang.org/x/sys v0.21.0 // indirect
golang.org/x/term v0.21.0 // indirect
golang.org/x/crypto v0.28.0 // indirect
golang.org/x/mod v0.21.0 // indirect
golang.org/x/net v0.30.0 // indirect
golang.org/x/oauth2 v0.22.0 // indirect
golang.org/x/sys v0.26.0 // indirect
golang.org/x/term v0.25.0 // indirect
golang.org/x/time v0.5.0 // indirect
golang.org/x/tools v0.22.0 // indirect
golang.org/x/tools v0.26.0 // indirect
golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 // indirect
google.golang.org/api v0.171.0 // indirect
google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20240604185151-ef581f913117 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240604185151-ef581f913117 // indirect
google.golang.org/grpc v1.66.0 // indirect
google.golang.org/protobuf v1.34.2 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20240814211410-ddb44dafa142 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240903143218-8af14fe29dc1 // indirect
google.golang.org/grpc v1.67.1 // indirect
google.golang.org/protobuf v1.35.1 // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
gopkg.in/warnings.v0 v0.1.2 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
Expand Down
Loading
Loading