Skip to content

Commit ef2dad1

Browse files
committed
feat(events): update description
Signed-off-by: Miguel Martinez <miguel@chainloop.dev>
1 parent 1390af0 commit ef2dad1

28 files changed

Lines changed: 53 additions & 53 deletions

app/controlplane/pkg/auditor/events/events_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ var updateGolden bool
2525

2626
const (
2727
testEmail = "john@cyberdyne.io"
28-
testName = "John Doe"
28+
testName = "John Connor"
2929
testAPITokenName = "test-token"
3030
)
3131

app/controlplane/pkg/auditor/events/testdata/apitokens/api_token_created.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
"ActorType": "USER",
66
"ActorID": "1089bb36-e27b-428b-8009-d015c8737c54",
77
"ActorEmail": "john@cyberdyne.io",
8-
"ActorName": "John Doe",
8+
"ActorName": "John Connor",
99
"OrgID": "1089bb36-e27b-428b-8009-d015c8737c54",
10-
"Description": "John Doe has created the API token test-token",
10+
"Description": "John Connor has created the API token test-token",
1111
"Info": {
1212
"api_token_id": "2089bb36-e27b-428b-8009-d015c8737c55",
1313
"api_token_name": "test-token"

app/controlplane/pkg/auditor/events/testdata/apitokens/api_token_created_with_description.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
"ActorType": "USER",
66
"ActorID": "1089bb36-e27b-428b-8009-d015c8737c54",
77
"ActorEmail": "john@cyberdyne.io",
8-
"ActorName": "John Doe",
8+
"ActorName": "John Connor",
99
"OrgID": "1089bb36-e27b-428b-8009-d015c8737c54",
10-
"Description": "John Doe has created the API token test-token",
10+
"Description": "John Connor has created the API token test-token",
1111
"Info": {
1212
"api_token_id": "2089bb36-e27b-428b-8009-d015c8737c55",
1313
"api_token_name": "test-token",

app/controlplane/pkg/auditor/events/testdata/apitokens/api_token_created_with_expiration_date.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
"ActorType": "USER",
66
"ActorID": "1089bb36-e27b-428b-8009-d015c8737c54",
77
"ActorEmail": "john@cyberdyne.io",
8-
"ActorName": "John Doe",
8+
"ActorName": "John Connor",
99
"OrgID": "1089bb36-e27b-428b-8009-d015c8737c54",
10-
"Description": "John Doe has created the API token test-token expiring at 2025-01-01T00:00:00Z",
10+
"Description": "John Connor has created the API token test-token expiring at 2025-01-01T00:00:00Z",
1111
"Info": {
1212
"api_token_id": "2089bb36-e27b-428b-8009-d015c8737c55",
1313
"api_token_name": "test-token",

app/controlplane/pkg/auditor/events/testdata/groups/group_created.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
"ActorType": "USER",
66
"ActorID": "1089bb36-e27b-428b-8009-d015c8737c54",
77
"ActorEmail": "john@cyberdyne.io",
8-
"ActorName": "John Doe",
8+
"ActorName": "John Connor",
99
"OrgID": "1089bb36-e27b-428b-8009-d015c8737c54",
10-
"Description": "John Doe has created the group test-group",
10+
"Description": "John Connor has created the group test-group",
1111
"Info": {
1212
"group_id": "3089bb36-e27b-428b-8009-d015c8737c56",
1313
"group_name": "test-group",

app/controlplane/pkg/auditor/events/testdata/groups/group_deleted.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
"ActorType": "USER",
66
"ActorID": "1089bb36-e27b-428b-8009-d015c8737c54",
77
"ActorEmail": "john@cyberdyne.io",
8-
"ActorName": "John Doe",
8+
"ActorName": "John Connor",
99
"OrgID": "1089bb36-e27b-428b-8009-d015c8737c54",
10-
"Description": "John Doe has deleted the group test-group",
10+
"Description": "John Connor has deleted the group test-group",
1111
"Info": {
1212
"group_id": "3089bb36-e27b-428b-8009-d015c8737c56",
1313
"group_name": "test-group"

app/controlplane/pkg/auditor/events/testdata/groups/group_member_added.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
"ActorType": "USER",
66
"ActorID": "1089bb36-e27b-428b-8009-d015c8737c54",
77
"ActorEmail": "john@cyberdyne.io",
8-
"ActorName": "John Doe",
8+
"ActorName": "John Connor",
99
"OrgID": "1089bb36-e27b-428b-8009-d015c8737c54",
10-
"Description": "John Doe has added user test@example.com to the group test-group as a maintainer",
10+
"Description": "John Connor has added user test@example.com to the group test-group as a maintainer",
1111
"Info": {
1212
"group_id": "3089bb36-e27b-428b-8009-d015c8737c56",
1313
"group_name": "test-group",

app/controlplane/pkg/auditor/events/testdata/groups/group_member_removed.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
"ActorType": "USER",
66
"ActorID": "1089bb36-e27b-428b-8009-d015c8737c54",
77
"ActorEmail": "john@cyberdyne.io",
8-
"ActorName": "John Doe",
8+
"ActorName": "John Connor",
99
"OrgID": "1089bb36-e27b-428b-8009-d015c8737c54",
10-
"Description": "John Doe has removed user test@example.com from the group test-group",
10+
"Description": "John Connor has removed user test@example.com from the group test-group",
1111
"Info": {
1212
"group_id": "3089bb36-e27b-428b-8009-d015c8737c56",
1313
"group_name": "test-group",

app/controlplane/pkg/auditor/events/testdata/groups/group_member_updated.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
"ActorType": "USER",
66
"ActorID": "1089bb36-e27b-428b-8009-d015c8737c54",
77
"ActorEmail": "john@cyberdyne.io",
8-
"ActorName": "John Doe",
8+
"ActorName": "John Connor",
99
"OrgID": "1089bb36-e27b-428b-8009-d015c8737c54",
10-
"Description": "John Doe has updated user test@example.com in the group test-group",
10+
"Description": "John Connor has updated user test@example.com in the group test-group",
1111
"Info": {
1212
"group_id": "3089bb36-e27b-428b-8009-d015c8737c56",
1313
"group_name": "test-group",

app/controlplane/pkg/auditor/events/testdata/groups/group_updated.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
"ActorType": "USER",
66
"ActorID": "1089bb36-e27b-428b-8009-d015c8737c54",
77
"ActorEmail": "john@cyberdyne.io",
8-
"ActorName": "John Doe",
8+
"ActorName": "John Connor",
99
"OrgID": "1089bb36-e27b-428b-8009-d015c8737c54",
10-
"Description": "John Doe has updated the group test-group",
10+
"Description": "John Connor has updated the group test-group",
1111
"Info": {
1212
"group_id": "3089bb36-e27b-428b-8009-d015c8737c56",
1313
"group_name": "test-group",

0 commit comments

Comments
 (0)