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

Adding Analyze command to guacone #1809

Open
wants to merge 64 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 31 commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
70a37cd
adding files
arorasoham9 Apr 4, 2024
0b56fe0
fixing mod sum
arorasoham9 Apr 4, 2024
62f2fa5
lint fixes
arorasoham9 Apr 4, 2024
a36daed
lint fixes
arorasoham9 Apr 4, 2024
9689179
mod fixes
arorasoham9 Apr 4, 2024
0bc691b
fix cli name
arorasoham9 Apr 4, 2024
d7f7503
changes to work with test cases
arorasoham9 Apr 5, 2024
728dfd7
adding tests and more fixes in analyze.go to support
arorasoham9 Apr 5, 2024
096894c
fix for highlight analysis
arorasoham9 Apr 5, 2024
9a0c88e
changes requested
arorasoham9 Apr 10, 2024
2ab452f
lint and few changes here and there
arorasoham9 Apr 10, 2024
ccd8d89
missed lint fixes, file rename to match pkg
arorasoham9 Apr 10, 2024
dffd603
removing dup files
arorasoham9 Apr 10, 2024
a6a278c
formatting
arorasoham9 Apr 10, 2024
8e33c9e
bug fixes
arorasoham9 Apr 11, 2024
16b7060
redundant check
arorasoham9 Apr 11, 2024
f527d22
test
arorasoham9 Apr 22, 2024
3570aac
major changes
arorasoham9 Apr 29, 2024
f732755
fixes to analyze command
arorasoham9 Apr 29, 2024
2a68d97
fixes to analyze command
arorasoham9 Apr 29, 2024
dc55196
mod sum changes
arorasoham9 Apr 29, 2024
4624aa9
fixes to output
arorasoham9 May 16, 2024
0337623
analyzer changes
arorasoham9 May 17, 2024
384befb
fixing test
arorasoham9 May 17, 2024
11f1c03
removing unncessary structs and fixing filename
arorasoham9 May 17, 2024
f6e9980
fix graph test case
arorasoham9 May 20, 2024
6d6d8cb
fix graph paths test case
arorasoham9 May 20, 2024
c1fb873
fix graph paths test case
arorasoham9 May 20, 2024
9a9d8cc
fix graph paths test case
arorasoham9 May 20, 2024
744dbe8
clubbed test cases
arorasoham9 May 20, 2024
806a4bf
int overflow fix w / tilt
arorasoham9 May 20, 2024
0675da5
Merge branch 'guacsec:main' into guacdiff
arorasoham9 May 23, 2024
a2bafee
removing unncessary files
arorasoham9 May 24, 2024
947adc8
removing unncessary files
arorasoham9 May 24, 2024
8949075
removing test JSON file
arorasoham9 May 24, 2024
7682412
Merge branch 'guacsec:main' into guacdiff
arorasoham9 May 24, 2024
57c1b2c
Merge branch 'guacsec:main' into guacdiff
arorasoham9 May 30, 2024
f4b5590
changes requested
arorasoham9 Jun 24, 2024
167f6f1
moving flag init
arorasoham9 Jul 5, 2024
067803b
moving print functions to new file, fixing lint
arorasoham9 Jul 5, 2024
df6d68a
moving print functions to new file, fixing lint
arorasoham9 Jul 5, 2024
2505185
moving print functions to new file, removing interface{} type in Node
arorasoham9 Jul 5, 2024
c8f6392
removing hardcoded values
arorasoham9 Jul 5, 2024
c04e02c
fixing flag names
arorasoham9 Jul 8, 2024
dd2ebb7
fixed repetitive path difference detection
arorasoham9 Jul 12, 2024
5795cfc
added TODO for bug where multiple paths may have equal differences wi…
arorasoham9 Jul 12, 2024
5bc9ed3
diffpatchmatch output for guacdiff
arorasoham9 Jul 26, 2024
24b2ac5
removing edges from nodes
arorasoham9 Aug 11, 2024
b217cec
Merge branch 'guacsec:main' into guacdiff
arorasoham9 Aug 11, 2024
a01cd3e
print fixes and mod
arorasoham9 Aug 11, 2024
4092bce
fixing output to show diffpatchmatch
arorasoham9 Aug 13, 2024
d7f2658
print format
arorasoham9 Aug 15, 2024
bd1f6fa
lint
arorasoham9 Aug 15, 2024
e334803
lint
arorasoham9 Aug 15, 2024
b85e676
Merge branch 'main' into guacdiff
arorasoham9 Aug 15, 2024
1bbb1b1
mod
arorasoham9 Aug 15, 2024
81c653c
implementing termui
arorasoham9 Sep 19, 2024
f718aa8
changing tablewriter
arorasoham9 Sep 20, 2024
17d5cf4
Merge branch 'main' into guacdiff
arorasoham9 Nov 18, 2024
08986ef
some more term ui fixes
arorasoham9 Nov 18, 2024
446e327
fixing multi line output, line wrapping and interactive ui
arorasoham9 Nov 19, 2024
d90d0ec
Merge branch 'guacsec:main' into guacdiff
arorasoham9 Nov 19, 2024
cf714a3
clean up
arorasoham9 Nov 19, 2024
d9f3e5f
Merge branch 'main' into guacdiff
arorasoham9 Nov 20, 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
480 changes: 480 additions & 0 deletions cmd/guacone/cmd/analyze.go

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,6 @@ require (
github.com/nats-io/jwt/v2 v2.5.5 // indirect
github.com/nats-io/nkeys v0.4.7 // indirect
github.com/nats-io/nuid v1.0.1 // indirect
github.com/olekukonko/tablewriter v0.0.5 // indirect
github.com/onsi/ginkgo/v2 v2.13.1 // indirect
github.com/onsi/gomega v1.29.0 // indirect
github.com/opencontainers/go-digest v1.0.0 // indirect
Expand Down Expand Up @@ -283,6 +282,7 @@ require (
github.com/cdevents/sdk-go v0.3.2
github.com/cloudevents/sdk-go/v2 v2.15.2
github.com/deepmap/oapi-codegen/v2 v2.1.0
github.com/dominikbraun/graph v0.23.0
github.com/fsnotify/fsnotify v1.7.0
github.com/getkin/kin-openapi v0.123.0
github.com/go-chi/chi v4.1.2+incompatible
Expand All @@ -305,6 +305,7 @@ require (
github.com/nats-io/nats-server/v2 v2.10.12
github.com/nats-io/nats.go v1.34.0
github.com/oapi-codegen/runtime v1.1.1
github.com/olekukonko/tablewriter v0.0.5
github.com/openvex/go-vex v0.2.5
github.com/ossf/scorecard/v4 v4.13.1
github.com/package-url/packageurl-go v0.1.2
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,8 @@ github.com/docker/docker-credential-helpers v0.8.1 h1:j/eKUktUltBtMzKqmfLB0PAgqY
github.com/docker/docker-credential-helpers v0.8.1/go.mod h1:P3ci7E3lwkZg6XiHdRKft1KckHiO9a2rNtyFbZ/ry9M=
github.com/docker/libtrust v0.0.0-20160708172513-aabc10ec26b7 h1:UhxFibDNY/bfvqU5CAUmr9zpesgbU6SWc8/B4mflAE4=
github.com/docker/libtrust v0.0.0-20160708172513-aabc10ec26b7/go.mod h1:cyGadeNEkKy96OOhEzfZl+yxihPEzKnqJwvfuSUqbZE=
github.com/dominikbraun/graph v0.23.0 h1:TdZB4pPqCLFxYhdyMFb1TBdFxp8XLcJfTTBQucVPgCo=
github.com/dominikbraun/graph v0.23.0/go.mod h1:yOjYyogZLY1LSG9E33JWZJiq5k83Qy2C6POAuiViluc=
github.com/dustin/go-humanize v1.0.1 h1:GzkhY7T5VNhEkwH0PVJgjz+fX1rhBrR7pRT3mDkpeCY=
github.com/dustin/go-humanize v1.0.1/go.mod h1:Mu1zIs6XwVuF/gI1OepvI0qD18qycQx+mFykh5fBlto=
github.com/eapache/go-resiliency v1.6.0 h1:CqGDTLtpwuWKn6Nj3uNUdflaq+/kIPsg0gfNzHton30=
Expand Down
Loading
Loading