mirror of
https://github.com/GAM-team/GAM.git
synced 2026-06-18 13:11:37 +00:00
Some checks failed
Build and test GAM / build (Win64, build, 7, VC-WIN64A, windows-2022) (push) Has been cancelled
Build and test GAM / build (aarch64, build, 2, linux-aarch64, [self-hosted linux arm64]) (push) Has been cancelled
Build and test GAM / build (aarch64, build, 4, linux-aarch64, [self-hosted linux arm64], yes) (push) Has been cancelled
Build and test GAM / build (aarch64, build, 6, darwin64-arm64, macos-14) (push) Has been cancelled
Build and test GAM / build (x86_64, build, 1, linux-x86_64, ubuntu-22.04) (push) Has been cancelled
Build and test GAM / build (x86_64, build, 3, linux-x86_64, ubuntu-22.04, yes) (push) Has been cancelled
Build and test GAM / build (x86_64, build, 5, darwin64-x86_64, macos-13) (push) Has been cancelled
Build and test GAM / build (x86_64, test, 10, ubuntu-24.04, 3.10) (push) Has been cancelled
Build and test GAM / build (x86_64, test, 11, ubuntu-24.04, 3.11) (push) Has been cancelled
Build and test GAM / build (x86_64, test, 8, ubuntu-24.04, 3.13) (push) Has been cancelled
Build and test GAM / build (x86_64, test, 9, ubuntu-24.04, 3.9) (push) Has been cancelled
CodeQL / Analyze (python) (push) Has been cancelled
Check for Google Root CA Updates / check-apis (push) Has been cancelled
Build and test GAM / merge (push) Has been cancelled
Build and test GAM / publish (push) Has been cancelled
43 lines
1.2 KiB
Markdown
43 lines
1.2 KiB
Markdown
!# Email Audit Monitor
|
|
- [API documentation](#api-documentation)
|
|
- [Notes](#notes)
|
|
- [Definitions](#definitions)
|
|
- [Create Email Audit Monitor](#create-email-audit-monitor)
|
|
- [Delete Email Audit Monitor](#delete-email-audit-monitor)
|
|
- [Display Email Audit Monitors](#display-email-audit-monitors)
|
|
|
|
## API documentation
|
|
* https://developers.google.com/admin-sdk/email-audit
|
|
|
|
## Notes
|
|
To use these features you must add the `Email Audit API` to your project and authorize the appropriate scopes:
|
|
* `Client Access` - `Email Audit API`
|
|
```
|
|
gam update project
|
|
gam oauth create
|
|
```
|
|
|
|
## Definitions
|
|
```
|
|
<DateTime> ::=
|
|
<Year>-<Month>-<Day>(<Space>|T)<Hour>:<Minute> |
|
|
(+|-)<Number>(m|h|d|w|y) |
|
|
never|
|
|
now|today
|
|
<DomainName> ::= <String>(.<String>)+
|
|
<EmailAddress> ::= <String>@<DomainName>
|
|
```
|
|
## Create Email Audit Monitor
|
|
```
|
|
gam audit monitor create <EmailAddress> <DestEmailAddress> [begin <DateTime>] [end <DateTime>]
|
|
[incoming_headers] [outgoing_headers] [nochats] [nodrafts] [chat_headers] [draft_headers]
|
|
```
|
|
## Delete Email Audit Monitor
|
|
```
|
|
gam audit monitor delete <EmailAddress> <DestEmailAddress>
|
|
```
|
|
## Display Email Audit Monitors
|
|
```
|
|
gam audit monitor list <EmailAddress>
|
|
```
|