Skip to content

Commit

Permalink
chore(account): add validators to user authentication logs (#3837)
Browse files Browse the repository at this point in the history
Co-authored-by: Mia-Cross <[email protected]>
  • Loading branch information
scaleway-bot and Mia-Cross authored May 28, 2024
1 parent cb1b9ac commit b6240f5
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 13 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ require (
github.com/mattn/go-isatty v0.0.20
github.com/moby/buildkit v0.13.2
github.com/opencontainers/go-digest v1.0.0
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.26.0.20240524120129-bf18052e25ed
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.27
github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966
github.com/spf13/cobra v1.8.0
github.com/spf13/pflag v1.0.5
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -453,8 +453,8 @@ github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUz
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 h1:OkMGxebDjyw0ULyrTYWeN0UNCCkmCWfjPnIA2W6oviI=
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06/go.mod h1:+ePHsJ1keEjQtpvf9HHw0f4ZeJ0TLRsxhunSI2hYJSs=
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.26.0.20240524120129-bf18052e25ed h1:N5MUaZJIdcKMS2oSLON3fkdCpJKtjg6/55YtRs6TiO8=
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.26.0.20240524120129-bf18052e25ed/go.mod h1:fCa7OJZ/9DRTnOKmxvT6pn+LPWUptQAmHF/SBJUGEcg=
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.27 h1:yGAraK1uUjlhSXgNMIy8o/J4LFNcy7yeipBqt9N9mVg=
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.27/go.mod h1:fCa7OJZ/9DRTnOKmxvT6pn+LPWUptQAmHF/SBJUGEcg=
github.com/sclevine/spec v1.4.0 h1:z/Q9idDcay5m5irkZ28M7PtQM4aOISzOpj4bUPkDee8=
github.com/sclevine/spec v1.4.0/go.mod h1:LvpgJaFyvQzRvc1kaDs0bulYwzC70PbiYjC4QnFHkOM=
github.com/secure-systems-lab/go-securesystemslib v0.8.0 h1:mr5An6X45Kb2nddcFlbmfHkLguCE9laoZCUzEEpIZXA=
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ ID NAME STATE ENDPOINT ID
90ab9d81-822c-4b58-8daf-5bda3a6dcef5 cli-test ready 6ea5e44c-b687-483c-88dc-9fc1e770b5c0

Subnets:
ID CREATED AT UPDATED AT SUBNET
389c4a16-177b-4af3-860e-27b88f85c10b few seconds ago few seconds ago 172.16.40.0/22
f9ae0cd0-9bf1-4c14-9a1b-62f9eecdd6a5 few seconds ago few seconds ago fd5d:9132:befe:2317::/64
ID CREATED AT UPDATED AT SUBNET PROJECT ID PRIVATE NETWORK ID VPC ID
389c4a16-177b-4af3-860e-27b88f85c10b few seconds ago few seconds ago 172.16.40.0/22 - - -
f9ae0cd0-9bf1-4c14-9a1b-62f9eecdd6a5 few seconds ago few seconds ago fd5d:9132:befe:2317::/64 - - -
🟩🟩🟩 JSON STDOUT 🟩🟩🟩
{
"id": "70b32810-d6e4-4301-b6b1-88b87fae93b0",
Expand All @@ -41,13 +41,19 @@ f9ae0cd0-9bf1-4c14-9a1b-62f9eecdd6a5 few seconds ago few seconds ago fd5d:913
"id": "389c4a16-177b-4af3-860e-27b88f85c10b",
"created_at": "1970-01-01T00:00:00.0Z",
"updated_at": "1970-01-01T00:00:00.0Z",
"subnet": "172.16.40.0/22"
"subnet": "172.16.40.0/22",
"project_id": "",
"private_network_id": "",
"vpc_id": ""
},
{
"id": "f9ae0cd0-9bf1-4c14-9a1b-62f9eecdd6a5",
"created_at": "1970-01-01T00:00:00.0Z",
"updated_at": "1970-01-01T00:00:00.0Z",
"subnet": "fd5d:9132:befe:2317::/64"
"subnet": "fd5d:9132:befe:2317::/64",
"project_id": "",
"private_network_id": "",
"vpc_id": ""
}
],
"vpc_id": "b1972fa8-5349-4d37-8777-f4f205bbd322",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ ID NAME STATE NIC ID
0f16b281-2182-4d63-87c2-4792b6823230 cli-srv-admiring-hoover archived 57573e4f-e441-4a1f-9859-0dcf5f2db8a4 02:00:00:18:d4:c9

Subnets:
ID CREATED AT UPDATED AT SUBNET
9e23801e-377f-4a9d-bbfc-6afcc2102f9b few seconds ago few seconds ago 172.16.0.0/22
31377d22-029c-4d05-9888-727d28603c19 few seconds ago few seconds ago fd5d:9132:befe:a5b1::/64
ID CREATED AT UPDATED AT SUBNET PROJECT ID PRIVATE NETWORK ID VPC ID
9e23801e-377f-4a9d-bbfc-6afcc2102f9b few seconds ago few seconds ago 172.16.0.0/22 - - -
31377d22-029c-4d05-9888-727d28603c19 few seconds ago few seconds ago fd5d:9132:befe:a5b1::/64 - - -
🟩🟩🟩 JSON STDOUT 🟩🟩🟩
{
"id": "3886e86d-f444-4403-a567-def30dedd577",
Expand All @@ -33,13 +33,19 @@ ID CREATED AT UPDATED AT SUBNET
"id": "9e23801e-377f-4a9d-bbfc-6afcc2102f9b",
"created_at": "1970-01-01T00:00:00.0Z",
"updated_at": "1970-01-01T00:00:00.0Z",
"subnet": "172.16.0.0/22"
"subnet": "172.16.0.0/22",
"project_id": "",
"private_network_id": "",
"vpc_id": ""
},
{
"id": "31377d22-029c-4d05-9888-727d28603c19",
"created_at": "1970-01-01T00:00:00.0Z",
"updated_at": "1970-01-01T00:00:00.0Z",
"subnet": "fd5d:9132:befe:a5b1::/64"
"subnet": "fd5d:9132:befe:a5b1::/64",
"project_id": "",
"private_network_id": "",
"vpc_id": ""
}
],
"vpc_id": "b1972fa8-5349-4d37-8777-f4f205bbd322",
Expand Down

0 comments on commit b6240f5

Please sign in to comment.