-
Notifications
You must be signed in to change notification settings - Fork 178
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
Consume go otel audit lib #3767
Draft
gouthamMN
wants to merge
34
commits into
master
Choose a base branch
from
InstrumentOtelAudit
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
d0a2cbb
Consume go otel audit lib
ff61856
update unit tests
861dd58
fix lint
6b526c7
fix unit tests
bbca4e3
fix remote conn for unit test
368a153
mod tidy
b55c36f
merge from master
aac483c
Consume go otel audit lib
e2f96f4
update unit tests
d7920b7
fix lint
3e3fdcd
fix unit tests
db80943
fix remote conn for unit test
61874a8
mod tidy
54171e7
Fluentbit pipeline has been updated to sync versions between arointsv…
s-fairchild 9694b8c
Fix axios vulnerability by moving to Fetch (#3769)
hawkowl ab54a8e
WI/MI CLI Phase 1 - Base Update Functionality (#3709)
tsatam cc891c8
Update hive image to tag bdf9d08a06 (#3770)
s-fairchild e7cc27a
Merge branch 'InstrumentOtelAudit' of https://github.com/Azure/ARO-RP…
86540a9
use go 1.21
80b4685
go version
378d2a1
go mod tidy
0b46406
go mod tidy
2f604f0
go mod tidy
aaf566c
update dependency
9d4683d
revert changes to lint-go script
3289eb6
go mod tidy
5568dee
fix go generate
3385c36
use tcp for audit
1c919f7
create otel conn after deploy
9a91bba
use tcp connection
d67771c
pass connection type via env
59dc0f5
add record validation
97a8fcb
add dummy rec
2d74241
mount asa volume
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
module github.com/Azure/ARO-RP | ||
|
||
go 1.21 | ||
go 1.21.3 | ||
|
||
toolchain go1.21.11 | ||
|
||
require ( | ||
github.com/Azure/azure-sdk-for-go v63.1.0+incompatible | ||
|
@@ -48,6 +50,7 @@ require ( | |
github.com/itchyny/gojq v0.12.13 | ||
github.com/jewzaam/go-cosmosdb v0.0.0-20240723075448-058185e3c66d | ||
github.com/jongio/azidext/go/azidext v0.5.0 | ||
github.com/microsoft/go-otel-audit v0.0.0-20240815162013-cf1d59567dff | ||
github.com/microsoft/kiota-abstractions-go v1.2.0 | ||
github.com/microsoft/kiota-http-go v1.0.0 | ||
github.com/microsoft/kiota-serialization-form-go v1.0.0 | ||
|
@@ -104,6 +107,7 @@ require ( | |
github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161 // indirect | ||
github.com/Azure/go-autorest v14.2.0+incompatible // indirect | ||
github.com/Azure/go-autorest/logger v0.2.1 // indirect | ||
github.com/Azure/retry v0.0.0-20240325164105-70e16f388626 // indirect | ||
github.com/AzureAD/microsoft-authentication-library-for-go v1.2.2 // indirect | ||
github.com/BurntSushi/toml v1.3.2 // indirect | ||
github.com/BurntSushi/xgb v0.0.0-20210121224620-deaf085860bc // indirect | ||
|
@@ -172,7 +176,7 @@ require ( | |
github.com/gogo/protobuf v1.3.2 // indirect | ||
github.com/golang-jwt/jwt/v5 v5.2.1 // indirect | ||
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect | ||
github.com/golang/protobuf v1.5.3 // indirect | ||
github.com/golang/protobuf v1.5.4 // indirect | ||
github.com/google/btree v1.0.1 // indirect | ||
github.com/google/cel-go v0.12.6 // indirect | ||
github.com/google/go-containerregistry v0.16.1 // indirect | ||
|
@@ -187,6 +191,7 @@ require ( | |
github.com/imdario/mergo v0.3.15 // indirect | ||
github.com/inconshreveable/mousetrap v1.1.0 // indirect | ||
github.com/itchyny/timefmt-go v0.1.5 // indirect | ||
github.com/jedib0t/go-pretty/v6 v6.5.6 // indirect | ||
github.com/jinzhu/copier v0.4.0 // indirect | ||
github.com/josharian/intern v1.0.0 // indirect | ||
github.com/json-iterator/go v1.1.12 // indirect | ||
|
@@ -235,9 +240,10 @@ require ( | |
github.com/proglottis/gpgme v0.1.3 // indirect | ||
github.com/prometheus/client_model v0.6.0 // indirect | ||
github.com/prometheus/procfs v0.12.0 // indirect | ||
github.com/rivo/uniseg v0.4.4 // indirect | ||
github.com/rivo/uniseg v0.4.7 // indirect | ||
github.com/robfig/cron v1.2.0 // indirect | ||
github.com/russross/blackfriday v1.6.0 // indirect | ||
github.com/sanity-io/litter v1.5.5 // indirect | ||
github.com/secure-systems-lab/go-securesystemslib v0.7.0 // indirect | ||
github.com/sigstore/fulcio v1.4.3 // indirect | ||
github.com/sigstore/rekor v1.2.2 // indirect | ||
|
@@ -253,6 +259,8 @@ require ( | |
github.com/ulikunitz/xz v0.5.11 // indirect | ||
github.com/vbatts/tar-split v0.11.5 // indirect | ||
github.com/vbauerster/mpb/v8 v8.6.2 // indirect | ||
github.com/vmihailenco/msgpack/v4 v4.3.13 // indirect | ||
github.com/vmihailenco/tagparser v0.1.1 // indirect | ||
github.com/xlab/treeprint v1.1.0 // indirect | ||
github.com/yosida95/uritemplate/v3 v3.0.2 // indirect | ||
go.mongodb.org/mongo-driver v1.11.3 // indirect | ||
|
@@ -262,16 +270,16 @@ require ( | |
go.opentelemetry.io/otel/metric v1.20.0 // indirect | ||
go.opentelemetry.io/otel/trace v1.20.0 // indirect | ||
go.starlark.net v0.0.0-20220328144851-d1966c6b9fcd // indirect | ||
golang.org/x/exp v0.0.0-20231006140011-7918f672742d // indirect | ||
golang.org/x/exp v0.0.0-20240416160154-fe59bbe5cc7f // indirect | ||
golang.org/x/mod v0.17.0 // indirect | ||
golang.org/x/sys v0.23.0 // indirect | ||
golang.org/x/term v0.23.0 // indirect | ||
golang.org/x/time v0.5.0 // indirect | ||
gomodules.xyz/jsonpatch/v2 v2.2.0 // indirect | ||
google.golang.org/appengine v1.6.8 // indirect | ||
google.golang.org/genproto/googleapis/api v0.0.0-20230913181813-007df8e322eb // indirect | ||
google.golang.org/genproto/googleapis/rpc v0.0.0-20230920204549-e6e6cdab5c13 // indirect | ||
google.golang.org/grpc v1.58.3 // indirect | ||
google.golang.org/genproto/googleapis/rpc v0.0.0-20240318140521-94a12d6c2237 // indirect | ||
google.golang.org/grpc v1.62.1 // indirect | ||
google.golang.org/protobuf v1.33.0 // indirect | ||
gopkg.in/inf.v0 v0.9.1 // indirect | ||
gopkg.in/square/go-jose.v2 v2.6.0 // indirect | ||
|
@@ -1603,3 +1611,6 @@ replace ( | |
go.mongodb.org/mongo-driver => go.mongodb.org/mongo-driver v1.9.4 | ||
google.golang.org/grpc => google.golang.org/grpc v1.56.3 | ||
) | ||
|
||
// go-otel-audit pins | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please explain why this is necessary - it's clear that the |
||
replace github.com/microsoft/go-otel-audit v0.0.0-20240815162013-cf1d59567dff => github.com/gouthamMN/go-otel-audit v0.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Question for me - why are we aliasing the name of the package?