Skip to content

feat(auditlog): Add Trial and Plan Events to Audit Log#6671

Merged
ehfeng merged 3 commits into
masterfrom
plan-audit-log
Apr 11, 2018
Merged

feat(auditlog): Add Trial and Plan Events to Audit Log#6671
ehfeng merged 3 commits into
masterfrom
plan-audit-log

Conversation

@ehfeng

@ehfeng ehfeng commented Dec 1, 2017

Copy link
Copy Markdown
Contributor

Adding trial and plan event types for audit log entries so hosted Sentry can include these in customer audit logs.

See #6617

@ehfeng ehfeng requested a review from tkaemming December 1, 2017 23:07

@tkaemming tkaemming left a comment

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.

Blocking this until GH-6617 is merged.

If we continue this pattern we should reevaluate, though.

@tkaemming, Dec 1, 2017, 3:10 PM PST

@tkaemming tkaemming dismissed their stale review January 2, 2018 22:17

(GH-6617 was merged.)

@tkaemming tkaemming left a comment

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.

🆒

elif self.event == AuditLogEntryEvent.TRIAL_STARTED:
return 'started trial'
elif self.event == AuditLogEntryEvent.PLAN_CHANGED:
return 'changed plan to %s' % (self.data['plan_name'], )

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.

Didn't validate this is actually part of the data payload

@ehfeng

ehfeng commented Jan 25, 2018

Copy link
Copy Markdown
Contributor Author

Ok, I'm going to try and open the getsentry PR that creates these audit log entries before merging this in, just to be safe.

@tkaemming

Copy link
Copy Markdown
Contributor

Sounds like a plan 👌

@ehfeng

ehfeng commented Mar 30, 2018

Copy link
Copy Markdown
Contributor Author

Rez'ing 💀

ehfeng added 2 commits April 10, 2018 17:49
Adding trial and plan event types for audit log entries so hosted
Sentry can include these in customer audit logs.

See #6617
@ehfeng ehfeng force-pushed the plan-audit-log branch 2 times, most recently from f6eb84e to f7b4410 Compare April 11, 2018 20:09
@ehfeng

ehfeng commented Apr 11, 2018

Copy link
Copy Markdown
Contributor Author

Ignoring code coverage because the tests would be within our other repo. Would need to use the manager pattern to fix this.

@ehfeng ehfeng merged commit 0d527d9 into master Apr 11, 2018
@ehfeng ehfeng deleted the plan-audit-log branch April 11, 2018 21:04
egsy pushed a commit that referenced this pull request May 5, 2018
* feat(auditlog): Add Trial and Plan Events to Audit Log

Adding trial and plan event types for audit log entries so hosted
Sentry can include these in customer audit logs.

See #6617

* incrementing for meredith's branch

* removing merge artifact
@github-actions github-actions Bot locked and limited conversation to collaborators Dec 22, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants