Skip to content
Merged
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
1 change: 1 addition & 0 deletions packages_generated/audit_trail/src/v1alpha1/api.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ export class API extends ParentAPI {
['project_id', request.projectId],
['recorded_after', request.recordedAfter],
['recorded_before', request.recordedBefore],
['resource_id', request.resourceId],
['resource_type', request.resourceType],
['service_name', request.serviceName],
['status', request.status],
Expand Down
8 changes: 6 additions & 2 deletions packages_generated/audit_trail/src/v1alpha1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ export type ListEventsRequest = {
*/
organizationId?: string
/**
* (Optional) Returns a paginated list of Scaleway resources' features.
* (Optional) Type of the Scaleway resource.
*/
resourceType?: ResourceType
/**
Expand All @@ -336,13 +336,17 @@ export type ListEventsRequest = {
pageSize?: number
pageToken?: string
/**
* (Optional) Name of the Scaleway resource in a hyphenated format.
* (Optional) Name of the Scaleway product in a hyphenated format.
*/
productName?: string
/**
* (Optional) Name of the service of the API call performed.
*/
serviceName?: string
/**
* (Optional) ID of the Scaleway resource.
*/
resourceId?: string
}

export interface ListEventsResponse {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ export const ListEventsRequest = {
productName: {
pattern: /^[a-z]+(-[a-z]+)*$/,
},
resourceId: {
maxLength: 100,
pattern: /^[a-zA-Z0-9._-]+$/,
},
serviceName: {
pattern: /^scaleway(\.[a-zA-Z0-9_-]*)*$/,
},
Expand Down
Loading