Skip to content
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

New Command: Get a list of Purview retention events #4371

Closed
Tracked by #4145
martinlingstuyl opened this issue Jan 18, 2023 · 3 comments
Closed
Tracked by #4145

New Command: Get a list of Purview retention events #4371

martinlingstuyl opened this issue Jan 18, 2023 · 3 comments

Comments

@martinlingstuyl
Copy link
Contributor

martinlingstuyl commented Jan 18, 2023

Usage

m365 purview retentionevent list [options]

Description

Get a list of retention events

Options

None but global options

Examples

Get a list of retention events

m365 purview retentionevent list

Additional Info

The following Graph endpoint can be used:
https://graph.microsoft.com/beta/security/triggers/retentionEvents

More information

Text output properties

Properties visible in text output mode should be: id, displayName, eventTriggerDateTime

Beta notice

The Graph endpoint that's used is in beta, so we should add a beta notice to the docs.

Azure AD

The command will need the Scope RecordsManagement.Read.All.

More information

This section should be included in the documentation

This command is part of a series of commands that have to do with event-based retention. Event-based retention is about starting a retention period when a specific event occurs, instead of the moment a document was labeled or created.

Read more on event-based retention here

@Adam-it
Copy link
Contributor

Adam-it commented Jan 21, 2023

needs peer review ✅
nothing to add 👍
awesome work @martinlingstuyl on the retention labels 🤩

@martinlingstuyl martinlingstuyl added help wanted and removed needs peer review Needs second pair of eyes to review the spec or PR labels Jan 22, 2023
@nicodecleyre
Copy link
Contributor

Can I work on this one?

@milanholemans
Copy link
Contributor

Sure, all yours!

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

Successfully merging a pull request may close this issue.

4 participants