Skip to content

athena audit logs - integration tests#25248

Merged
tobiaszheller merged 1 commit intomasterfrom
tobiaszheller/auditevents-athena-integrationtests
May 16, 2023
Merged

athena audit logs - integration tests#25248
tobiaszheller merged 1 commit intomasterfrom
tobiaszheller/auditevents-athena-integrationtests

Conversation

@tobiaszheller
Copy link
Copy Markdown
Contributor

@tobiaszheller tobiaszheller commented Apr 27, 2023

Part of https://github.com/gravitational/teleport.e/issues/894
RFD: https://github.com/gravitational/teleport/blob/master/rfd/0118-scalable-audit-logs.md

test.Suite used by other backend was modified in few places because:

  • in few places ID was missing or not used as UUID
  • searchEvents accepts parameters in UTC time, but not everywhere in test cases it was passed as UTC.

Depends on #26053

@github-actions github-actions Bot added audit-log Issues related to Teleports Audit Log size/md labels Apr 27, 2023
Comment thread lib/events/test/suite.go Outdated
Comment thread lib/events/test/suite.go
Comment thread lib/events/test/suite.go
Comment thread lib/events/athena/integration_test.go Outdated
Comment thread lib/events/athena/integration_test.go
Comment thread lib/events/test/suite.go Outdated
Comment thread lib/events/athena/integration_test.go Outdated
Comment thread lib/events/athena/integration_test.go Outdated
Comment thread lib/events/test/suite.go
Comment thread lib/events/test/suite.go Outdated
Comment thread lib/events/athena/integration_test.go Outdated
Comment thread lib/events/athena/integration_test.go Outdated
Comment thread lib/events/athena/integration_test.go
Comment thread lib/events/test/suite.go Outdated
@tobiaszheller tobiaszheller requested a review from rosstimothy May 11, 2023 08:59
@tobiaszheller
Copy link
Copy Markdown
Contributor Author

Comment thread lib/events/athena/consumer.go Outdated
Comment thread lib/events/athena/integration_test.go Outdated
Comment thread lib/events/athena/integration_test.go Outdated
Comment thread lib/events/test/suite.go Outdated
@tobiaszheller tobiaszheller requested a review from rosstimothy May 12, 2023 13:25
Copy link
Copy Markdown
Contributor

@marcoandredinis marcoandredinis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
I think there's a typo in SearchSessionEvensBySessionID (Evens vs Events)

Comment thread lib/events/athena/integration_test.go Outdated
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💅
There's a require.Eventually that could be used here

@tobiaszheller tobiaszheller force-pushed the tobiaszheller/auditevents-athena-integrationtests branch from 667fd34 to 5aff6f3 Compare May 15, 2023 10:05
@tobiaszheller tobiaszheller enabled auto-merge May 15, 2023 10:19
@tobiaszheller tobiaszheller added this pull request to the merge queue May 15, 2023
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks May 15, 2023
@tobiaszheller tobiaszheller added this pull request to the merge queue May 15, 2023
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks May 15, 2023
@tobiaszheller tobiaszheller added this pull request to the merge queue May 15, 2023
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks May 15, 2023
@tobiaszheller tobiaszheller added this pull request to the merge queue May 15, 2023
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks May 15, 2023
@tobiaszheller tobiaszheller added this pull request to the merge queue May 15, 2023
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks May 15, 2023
@tobiaszheller tobiaszheller added this pull request to the merge queue May 15, 2023
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks May 15, 2023
@tobiaszheller tobiaszheller added this pull request to the merge queue May 15, 2023
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks May 15, 2023
@tobiaszheller tobiaszheller added this pull request to the merge queue May 16, 2023
Merged via the queue into master with commit 4b9a049 May 16, 2023
@tobiaszheller tobiaszheller deleted the tobiaszheller/auditevents-athena-integrationtests branch May 16, 2023 09:31
@public-teleport-github-review-bot
Copy link
Copy Markdown

@tobiaszheller See the table below for backport results.

Branch Result
branch/v13 Failed

@public-teleport-github-review-bot
Copy link
Copy Markdown

@tobiaszheller See the table below for backport results.

Branch Result
branch/v13 Failed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

audit-log Issues related to Teleports Audit Log size/md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants