Skip to content

add x-simple-model-name to audit logs spec #680

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.6",
"regenerated": "2025-05-27 17:12:16.501759",
"spec_repo_commit": "ed439f7c"
"regenerated": "2025-05-28 13:08:07.649688",
"spec_repo_commit": "3fd2b5f6"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2025-05-27 17:12:16.518477",
"spec_repo_commit": "ed439f7c"
"regenerated": "2025-05-28 13:08:07.666039",
"spec_repo_commit": "3fd2b5f6"
}
}
}
14 changes: 14 additions & 0 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3490,6 +3490,7 @@ components:
type:
$ref: '#/components/schemas/AuditLogsEventType'
type: object
x-model-simple-name: Event
AuditLogsEventAttributes:
description: JSON object containing all event attributes and their associated
values.
Expand Down Expand Up @@ -3527,6 +3528,7 @@ components:
format: date-time
type: string
type: object
x-model-simple-name: EventAttributes
AuditLogsEventType:
default: audit
description: Type of the event.
Expand All @@ -3536,6 +3538,7 @@ components:
type: string
x-enum-varnames:
- Audit
x-model-simple-name: EventType
AuditLogsEventsResponse:
description: Response object with all events matching the request and pagination
information.
Expand All @@ -3550,6 +3553,7 @@ components:
meta:
$ref: '#/components/schemas/AuditLogsResponseMetadata'
type: object
x-model-simple-name: EventsResponse
AuditLogsQueryFilter:
description: Search and filter query settings.
properties:
Expand All @@ -3571,6 +3575,7 @@ components:
example: now
type: string
type: object
x-model-simple-name: QueryFilter
AuditLogsQueryOptions:
description: 'Global query options that are used during the query.

Expand All @@ -3588,6 +3593,7 @@ components:
example: GMT
type: string
type: object
x-model-simple-name: QueryOptions
AuditLogsQueryPageOptions:
description: Paging attributes for listing events.
properties:
Expand All @@ -3604,6 +3610,7 @@ components:
maximum: 1000
type: integer
type: object
x-model-simple-name: PageOptions
AuditLogsResponseLinks:
description: Links attributes.
properties:
Expand All @@ -3615,6 +3622,7 @@ components:
example: https://app.datadoghq.com/api/v2/audit/event?filter[query]=foo&page[cursor]=eyJzdGFydEF0IjoiQVFBQUFYS2tMS3pPbm40NGV3QUFBQUJCV0V0clRFdDZVbG8zY3pCRmNsbHJiVmxDWlEifQ==
type: string
type: object
x-model-simple-name: ResponseLinks
AuditLogsResponseMetadata:
description: The metadata associated with a request.
properties:
Expand All @@ -3640,6 +3648,7 @@ components:
$ref: '#/components/schemas/AuditLogsWarning'
type: array
type: object
x-model-simple-name: ResponseMetadata
AuditLogsResponsePage:
description: Paging attributes.
properties:
Expand All @@ -3649,6 +3658,7 @@ components:
example: eyJzdGFydEF0IjoiQVFBQUFYS2tMS3pPbm40NGV3QUFBQUJCV0V0clRFdDZVbG8zY3pCRmNsbHJiVmxDWlEifQ==
type: string
type: object
x-model-simple-name: ResponsePage
AuditLogsResponseStatus:
description: The status of the response.
enum:
Expand All @@ -3659,6 +3669,7 @@ components:
x-enum-varnames:
- DONE
- TIMEOUT
x-model-simple-name: ResponseStatus
AuditLogsSearchEventsRequest:
description: The request for a Audit Logs events list.
properties:
Expand All @@ -3671,6 +3682,7 @@ components:
sort:
$ref: '#/components/schemas/AuditLogsSort'
type: object
x-model-simple-name: SearchRequest
AuditLogsSort:
description: Sort parameters when querying events.
enum:
Expand All @@ -3680,6 +3692,7 @@ components:
x-enum-varnames:
- TIMESTAMP_ASCENDING
- TIMESTAMP_DESCENDING
x-model-simple-name: Sort
AuditLogsWarning:
description: Warning message indicating something that went wrong with the query.
properties:
Expand All @@ -3697,6 +3710,7 @@ components:
from the other indexes
type: string
type: object
x-model-simple-name: Warning
AuthNMapping:
description: The AuthN Mapping object returned by API.
properties:
Expand Down
Loading