Documentation
¶
Overview ¶
Package v1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package v1 contains the API of auditing services.
Index ¶
- Constants
- Variables
- func AuditLogArchiveURL(organizationID, auditLogID, auditLogArchiveID string) string
- func AuditLogAttachmentURL(organizationID, projectID, auditLogID string) string
- func AuditLogURL(organizationID, auditLogID string) string
- func ForEachAuditLog(ctx context.Context, ...) error
- func ForEachAuditLogArchive(ctx context.Context, ...) error
- func HeaderListEquals(source []*AuditLog_Header, other []*AuditLog_Header) bool
- func RegisterAuditServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterAuditServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AuditServiceClient) error
- func RegisterAuditServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterAuditServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AuditServiceServer) error
- func RegisterAuditServiceServer(s *grpc.Server, srv AuditServiceServer)
- type AttachProjectToAuditLogRequest
- func (*AttachProjectToAuditLogRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AttachProjectToAuditLogRequest) GetAuditlogId() string
- func (x *AttachProjectToAuditLogRequest) GetProjectId() string
- func (*AttachProjectToAuditLogRequest) ProtoMessage()
- func (x *AttachProjectToAuditLogRequest) ProtoReflect() protoreflect.Message
- func (x *AttachProjectToAuditLogRequest) Reset()
- func (x *AttachProjectToAuditLogRequest) String() string
- type AuditLog
- func (*AuditLog) Descriptor() ([]byte, []int)deprecated
- func (source *AuditLog) Equals(other *AuditLog, includeStatuses bool) bool
- func (x *AuditLog) GetCreatedAt() *timestamppb.Timestamp
- func (x *AuditLog) GetCreatedById() string
- func (x *AuditLog) GetDeletedAt() *timestamppb.Timestamp
- func (x *AuditLog) GetDescription() string
- func (x *AuditLog) GetDestinations() []*AuditLog_Destination
- func (x *AuditLog) GetId() string
- func (x *AuditLog) GetIsDefault() bool
- func (x *AuditLog) GetIsDeleted() bool
- func (x *AuditLog) GetName() string
- func (x *AuditLog) GetOrganizationId() string
- func (x *AuditLog) GetUrl() string
- func (*AuditLog) ProtoMessage()
- func (x *AuditLog) ProtoReflect() protoreflect.Message
- func (x *AuditLog) Reset()
- func (x *AuditLog) String() string
- type AuditLogArchive
- func (*AuditLogArchive) Descriptor() ([]byte, []int)deprecated
- func (x *AuditLogArchive) GetAuditlogId() string
- func (x *AuditLogArchive) GetCanDelete() bool
- func (x *AuditLogArchive) GetCreatedAt() *timestamppb.Timestamp
- func (x *AuditLogArchive) GetDeletedAt() *timestamppb.Timestamp
- func (x *AuditLogArchive) GetDeploymentId() string
- func (x *AuditLogArchive) GetDeploymentName() string
- func (x *AuditLogArchive) GetId() string
- func (x *AuditLogArchive) GetIsDeleted() bool
- func (x *AuditLogArchive) GetProjectId() string
- func (x *AuditLogArchive) GetProjectName() string
- func (x *AuditLogArchive) GetSizeInBytes() uint64
- func (x *AuditLogArchive) GetSizeInBytesChangedAt() *timestamppb.Timestamp
- func (x *AuditLogArchive) GetUrl() string
- func (*AuditLogArchive) ProtoMessage()
- func (x *AuditLogArchive) ProtoReflect() protoreflect.Message
- func (x *AuditLogArchive) Reset()
- func (x *AuditLogArchive) String() string
- type AuditLogArchiveCallback
- type AuditLogArchiveList
- func (*AuditLogArchiveList) Descriptor() ([]byte, []int)deprecated
- func (x *AuditLogArchiveList) GetItems() []*AuditLogArchive
- func (*AuditLogArchiveList) ProtoMessage()
- func (x *AuditLogArchiveList) ProtoReflect() protoreflect.Message
- func (x *AuditLogArchiveList) Reset()
- func (x *AuditLogArchiveList) String() string
- type AuditLogCallback
- type AuditLogEvent
- func (*AuditLogEvent) Descriptor() ([]byte, []int)deprecated
- func (x *AuditLogEvent) GetAuditlogarchiveId() string
- func (x *AuditLogEvent) GetAuthentication() string
- func (x *AuditLogEvent) GetClientIp() string
- func (x *AuditLogEvent) GetDatabase() string
- func (x *AuditLogEvent) GetDeploymentId() string
- func (x *AuditLogEvent) GetInstanceId() string
- func (x *AuditLogEvent) GetMessage() string
- func (x *AuditLogEvent) GetProjectId() string
- func (x *AuditLogEvent) GetSequence() uint64
- func (x *AuditLogEvent) GetServerId() string
- func (x *AuditLogEvent) GetTimestamp() *timestamppb.Timestamp
- func (x *AuditLogEvent) GetTopic() string
- func (x *AuditLogEvent) GetUserId() string
- func (x *AuditLogEvent) GetVerb() string
- func (*AuditLogEvent) ProtoMessage()
- func (x *AuditLogEvent) ProtoReflect() protoreflect.Message
- func (x *AuditLogEvent) Reset()
- func (x *AuditLogEvent) String() string
- type AuditLogEventList
- func (*AuditLogEventList) Descriptor() ([]byte, []int)deprecated
- func (x *AuditLogEventList) GetCursor() string
- func (x *AuditLogEventList) GetItems() []*AuditLogEvent
- func (*AuditLogEventList) ProtoMessage()
- func (x *AuditLogEventList) ProtoReflect() protoreflect.Message
- func (x *AuditLogEventList) Reset()
- func (x *AuditLogEventList) String() string
- type AuditLogList
- type AuditLogTopic
- func (*AuditLogTopic) Descriptor() ([]byte, []int)deprecated
- func (x *AuditLogTopic) GetExcludeByDefault() bool
- func (x *AuditLogTopic) GetForDeployment() bool
- func (x *AuditLogTopic) GetForPlatform() bool
- func (x *AuditLogTopic) GetTopic() string
- func (*AuditLogTopic) ProtoMessage()
- func (x *AuditLogTopic) ProtoReflect() protoreflect.Message
- func (x *AuditLogTopic) Reset()
- func (x *AuditLogTopic) String() string
- type AuditLogTopicList
- func (*AuditLogTopicList) Descriptor() ([]byte, []int)deprecated
- func (x *AuditLogTopicList) GetItems() []*AuditLogTopic
- func (*AuditLogTopicList) ProtoMessage()
- func (x *AuditLogTopicList) ProtoReflect() protoreflect.Message
- func (x *AuditLogTopicList) Reset()
- func (x *AuditLogTopicList) String() string
- type AuditLog_Destination
- func (*AuditLog_Destination) Descriptor() ([]byte, []int)deprecated
- func (source *AuditLog_Destination) Equals(other *AuditLog_Destination, includeStatuses bool) bool
- func (x *AuditLog_Destination) GetExcludedTopics() []string
- func (x *AuditLog_Destination) GetHttpPost() *AuditLog_HttpsPostSettings
- func (x *AuditLog_Destination) GetId() string
- func (x *AuditLog_Destination) GetStatuses() []*AuditLog_DestinationStatus
- func (x *AuditLog_Destination) GetType() string
- func (*AuditLog_Destination) ProtoMessage()
- func (x *AuditLog_Destination) ProtoReflect() protoreflect.Message
- func (x *AuditLog_Destination) Reset()
- func (x *AuditLog_Destination) String() string
- type AuditLog_DestinationCounters
- func (*AuditLog_DestinationCounters) Descriptor() ([]byte, []int)deprecated
- func (source *AuditLog_DestinationCounters) Equals(other *AuditLog_DestinationCounters) bool
- func (x *AuditLog_DestinationCounters) GetBytesFailed() int64
- func (x *AuditLog_DestinationCounters) GetBytesSucceeded() int64
- func (x *AuditLog_DestinationCounters) GetEvents() int64
- func (x *AuditLog_DestinationCounters) GetEventsExcluded() int64
- func (x *AuditLog_DestinationCounters) GetEventsUndeliverable() int64
- func (x *AuditLog_DestinationCounters) GetHttpsPostsFailed() int64
- func (x *AuditLog_DestinationCounters) GetHttpsPostsSucceeded() int64
- func (*AuditLog_DestinationCounters) ProtoMessage()
- func (x *AuditLog_DestinationCounters) ProtoReflect() protoreflect.Message
- func (x *AuditLog_DestinationCounters) Reset()
- func (x *AuditLog_DestinationCounters) String() string
- type AuditLog_DestinationStatus
- func (*AuditLog_DestinationStatus) Descriptor() ([]byte, []int)deprecated
- func (source *AuditLog_DestinationStatus) Equals(other *AuditLog_DestinationStatus) bool
- func (x *AuditLog_DestinationStatus) GetCountersSinceMidnight() *AuditLog_DestinationCounters
- func (x *AuditLog_DestinationStatus) GetCountersYesterday() *AuditLog_DestinationCounters
- func (x *AuditLog_DestinationStatus) GetDeploymentId() string
- func (x *AuditLog_DestinationStatus) GetDeploymentName() string
- func (x *AuditLog_DestinationStatus) GetErrorDetails() string
- func (x *AuditLog_DestinationStatus) GetHasErrors() bool
- func (x *AuditLog_DestinationStatus) GetUpdatedAt() *timestamppb.Timestamp
- func (*AuditLog_DestinationStatus) ProtoMessage()
- func (x *AuditLog_DestinationStatus) ProtoReflect() protoreflect.Message
- func (x *AuditLog_DestinationStatus) Reset()
- func (x *AuditLog_DestinationStatus) String() string
- type AuditLog_Header
- func (*AuditLog_Header) Descriptor() ([]byte, []int)deprecated
- func (source *AuditLog_Header) Equals(other *AuditLog_Header) bool
- func (x *AuditLog_Header) GetKey() string
- func (x *AuditLog_Header) GetValue() string
- func (*AuditLog_Header) ProtoMessage()
- func (x *AuditLog_Header) ProtoReflect() protoreflect.Message
- func (x *AuditLog_Header) Reset()
- func (x *AuditLog_Header) String() string
- type AuditLog_HttpsPostSettings
- func (*AuditLog_HttpsPostSettings) Descriptor() ([]byte, []int)deprecated
- func (source *AuditLog_HttpsPostSettings) Equals(other *AuditLog_HttpsPostSettings) bool
- func (x *AuditLog_HttpsPostSettings) GetClientCertificatePem() string
- func (x *AuditLog_HttpsPostSettings) GetClientKeyPem() string
- func (x *AuditLog_HttpsPostSettings) GetHeaders() []*AuditLog_Header
- func (x *AuditLog_HttpsPostSettings) GetRetryPeriod() *durationpb.Duration
- func (x *AuditLog_HttpsPostSettings) GetTrustedServerCaPem() string
- func (x *AuditLog_HttpsPostSettings) GetUrl() string
- func (*AuditLog_HttpsPostSettings) ProtoMessage()
- func (x *AuditLog_HttpsPostSettings) ProtoReflect() protoreflect.Message
- func (x *AuditLog_HttpsPostSettings) Reset()
- func (x *AuditLog_HttpsPostSettings) String() string
- type AuditServiceClient
- type AuditServiceServer
- type AuditService_GetAuditLogEventsClient
- type AuditService_GetAuditLogEventsServer
- type AuditService_TestAuditLogHttpsPostDestinationClient
- type AuditService_TestAuditLogHttpsPostDestinationServer
- type DeleteAuditLogArchiveEventsRequest
- func (*DeleteAuditLogArchiveEventsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteAuditLogArchiveEventsRequest) GetAuditlogarchiveId() string
- func (x *DeleteAuditLogArchiveEventsRequest) GetTo() *timestamppb.Timestamp
- func (*DeleteAuditLogArchiveEventsRequest) ProtoMessage()
- func (x *DeleteAuditLogArchiveEventsRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteAuditLogArchiveEventsRequest) Reset()
- func (x *DeleteAuditLogArchiveEventsRequest) String() string
- type GetAuditLogEventsRequest
- func (*GetAuditLogEventsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAuditLogEventsRequest) GetAuditlogId() string
- func (x *GetAuditLogEventsRequest) GetAuditlogarchiveId() string
- func (x *GetAuditLogEventsRequest) GetCursor() string
- func (x *GetAuditLogEventsRequest) GetExcludedTopics() []string
- func (x *GetAuditLogEventsRequest) GetFrom() *timestamppb.Timestamp
- func (x *GetAuditLogEventsRequest) GetIncludedTopics() []string
- func (x *GetAuditLogEventsRequest) GetLimit() int32
- func (x *GetAuditLogEventsRequest) GetTo() *timestamppb.Timestamp
- func (*GetAuditLogEventsRequest) ProtoMessage()
- func (x *GetAuditLogEventsRequest) ProtoReflect() protoreflect.Message
- func (x *GetAuditLogEventsRequest) Reset()
- func (x *GetAuditLogEventsRequest) String() string
- type ListAuditLogArchivesRequest
- func (*ListAuditLogArchivesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListAuditLogArchivesRequest) GetAuditlogId() string
- func (x *ListAuditLogArchivesRequest) GetDeploymentId() string
- func (x *ListAuditLogArchivesRequest) GetIncludeDeleted() bool
- func (x *ListAuditLogArchivesRequest) GetOptions() *v1.ListOptions
- func (x *ListAuditLogArchivesRequest) GetProjectId() string
- func (x *ListAuditLogArchivesRequest) GetWithoutDeployments() bool
- func (*ListAuditLogArchivesRequest) ProtoMessage()
- func (x *ListAuditLogArchivesRequest) ProtoReflect() protoreflect.Message
- func (x *ListAuditLogArchivesRequest) Reset()
- func (x *ListAuditLogArchivesRequest) String() string
- type ListAuditLogTopicsRequest
- func (*ListAuditLogTopicsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListAuditLogTopicsRequest) GetForDeploymentOnly() bool
- func (x *ListAuditLogTopicsRequest) GetForPlatformOnly() bool
- func (x *ListAuditLogTopicsRequest) GetOptions() *v1.ListOptions
- func (*ListAuditLogTopicsRequest) ProtoMessage()
- func (x *ListAuditLogTopicsRequest) ProtoReflect() protoreflect.Message
- func (x *ListAuditLogTopicsRequest) Reset()
- func (x *ListAuditLogTopicsRequest) String() string
- type ListAuditLogsRequest
- func (*ListAuditLogsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListAuditLogsRequest) GetIncludeDeleted() bool
- func (x *ListAuditLogsRequest) GetOptions() *v1.ListOptions
- func (x *ListAuditLogsRequest) GetOrganizationId() string
- func (*ListAuditLogsRequest) ProtoMessage()
- func (x *ListAuditLogsRequest) ProtoReflect() protoreflect.Message
- func (x *ListAuditLogsRequest) Reset()
- func (x *ListAuditLogsRequest) String() string
- type SetDefaultAuditLogRequest
- func (*SetDefaultAuditLogRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetDefaultAuditLogRequest) GetAuditlogId() string
- func (x *SetDefaultAuditLogRequest) GetOrganizationId() string
- func (*SetDefaultAuditLogRequest) ProtoMessage()
- func (x *SetDefaultAuditLogRequest) ProtoReflect() protoreflect.Message
- func (x *SetDefaultAuditLogRequest) Reset()
- func (x *SetDefaultAuditLogRequest) String() string
- type TestAuditLogHttpsPostDestinationRequest
- func (*TestAuditLogHttpsPostDestinationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TestAuditLogHttpsPostDestinationRequest) GetAuditlogId() string
- func (x *TestAuditLogHttpsPostDestinationRequest) GetDestinationId() string
- func (x *TestAuditLogHttpsPostDestinationRequest) GetOrganizationId() string
- func (x *TestAuditLogHttpsPostDestinationRequest) GetSettings() *AuditLog_HttpsPostSettings
- func (*TestAuditLogHttpsPostDestinationRequest) ProtoMessage()
- func (x *TestAuditLogHttpsPostDestinationRequest) ProtoReflect() protoreflect.Message
- func (x *TestAuditLogHttpsPostDestinationRequest) Reset()
- func (x *TestAuditLogHttpsPostDestinationRequest) String() string
- type TestAuditLogHttpsPostDestinationResult
- func (*TestAuditLogHttpsPostDestinationResult) Descriptor() ([]byte, []int)deprecated
- func (x *TestAuditLogHttpsPostDestinationResult) GetErrorDetails() string
- func (x *TestAuditLogHttpsPostDestinationResult) GetHasErrors() bool
- func (*TestAuditLogHttpsPostDestinationResult) ProtoMessage()
- func (x *TestAuditLogHttpsPostDestinationResult) ProtoReflect() protoreflect.Message
- func (x *TestAuditLogHttpsPostDestinationResult) Reset()
- func (x *TestAuditLogHttpsPostDestinationResult) String() string
- type UnimplementedAuditServiceServer
- func (*UnimplementedAuditServiceServer) AttachProjectToAuditLog(context.Context, *AttachProjectToAuditLogRequest) (*v1.Empty, error)
- func (*UnimplementedAuditServiceServer) CreateAuditLog(context.Context, *AuditLog) (*AuditLog, error)
- func (*UnimplementedAuditServiceServer) DeleteAuditLog(context.Context, *v1.IDOptions) (*v1.Empty, error)
- func (*UnimplementedAuditServiceServer) DeleteAuditLogArchive(context.Context, *v1.IDOptions) (*v1.Empty, error)
- func (*UnimplementedAuditServiceServer) DeleteAuditLogArchiveEvents(context.Context, *DeleteAuditLogArchiveEventsRequest) (*v1.Empty, error)
- func (*UnimplementedAuditServiceServer) DetachProjectFromAuditLog(context.Context, *v1.IDOptions) (*v1.Empty, error)
- func (*UnimplementedAuditServiceServer) GetAPIVersion(context.Context, *v1.Empty) (*v1.Version, error)
- func (*UnimplementedAuditServiceServer) GetAuditLog(context.Context, *v1.IDOptions) (*AuditLog, error)
- func (*UnimplementedAuditServiceServer) GetAuditLogArchive(context.Context, *v1.IDOptions) (*AuditLogArchive, error)
- func (*UnimplementedAuditServiceServer) GetAuditLogAttachedToProject(context.Context, *v1.IDOptions) (*AuditLog, error)
- func (*UnimplementedAuditServiceServer) GetAuditLogEvents(*GetAuditLogEventsRequest, AuditService_GetAuditLogEventsServer) error
- func (*UnimplementedAuditServiceServer) ListAuditLogArchives(context.Context, *ListAuditLogArchivesRequest) (*AuditLogArchiveList, error)
- func (*UnimplementedAuditServiceServer) ListAuditLogTopics(context.Context, *ListAuditLogTopicsRequest) (*AuditLogTopicList, error)
- func (*UnimplementedAuditServiceServer) ListAuditLogs(context.Context, *ListAuditLogsRequest) (*AuditLogList, error)
- func (*UnimplementedAuditServiceServer) SetDefaultAuditLog(context.Context, *SetDefaultAuditLogRequest) (*v1.Empty, error)
- func (*UnimplementedAuditServiceServer) TestAuditLogHttpsPostDestination(*TestAuditLogHttpsPostDestinationRequest, ...) error
- func (*UnimplementedAuditServiceServer) UpdateAuditLog(context.Context, *AuditLog) (*AuditLog, error)
Constants ¶
const ( // DestinationCloud indicates that the destination of an AuditLog is cloud storage. DestinationCloud = "cloud" // DestinationHTTPSPost indicates that the destination of an AuditLog is an HTTPS POST service. DestinationHTTPSPost = "https-post" )
const ( // EventTypeAuditLogCreated is the type of event fired after an AuditLog has been created // SubjectID contains the ID of the AuditLog. EventTypeAuditLogCreated = "audit.auditlog.created" // EventTypeAuditLogUpdated is the type of event fired after an AuditLog has been updated // SubjectID contains the ID of the AuditLog. EventTypeAuditLogUpdated = "audit.auditlog.updated" // EventTypeAuditLogDeleted is the type of event fired after an AuditLog has been (marked for) deleted // SubjectID contains the ID of the AuditLog. EventTypeAuditLogDeleted = "audit.auditlog.deleted" // EventTypeAuditLogAttached is the type of event fired after an AuditLog has been // attached to a Project. // SubjectID contains the ID of the AuditLog. // The Payload contains a "project_id" field containing the ID of the project. EventTypeAuditLogAttached = "audit.auditlog.attached" // EventTypeAuditLogDetached is the type of event fired after an AuditLog has been // detached from a Project. // SubjectID contains the ID of the AuditLog. // The Payload contains a "project_id" field containing the ID of the project. EventTypeAuditLogDetached = "audit.auditlog.detached" )
const ( // EventTypeAuditLogArchiveCreated is the type of event fired after an AuditLogArchive has been created // SubjectID contains the ID of the AuditLogArchive. EventTypeAuditLogArchiveCreated = "audit.auditlogarchive.created" // EventTypeAuditLogArchiveUpdated is the type of event fired after an AuditLogArchive has been updated // SubjectID contains the ID of the AuditLogArchive. EventTypeAuditLogArchiveUpdated = "audit.auditlogarchive.updated" // EventTypeAuditLogArchiveDeleted is the type of event fired after an AuditLogArchive has been (marked for) deleted // SubjectID contains the ID of the AuditLogArchive. EventTypeAuditLogArchiveDeleted = "audit.auditlogarchive.deleted" )
const ( // PermissionAuditLogList is needed to list AuditLogs. PermissionAuditLogList = "audit.auditlog.list" // PermissionAuditLogGet is needed to get an individual AuditLog. PermissionAuditLogGet = "audit.auditlog.get" // PermissionAuditLogCreate is needed to create a new AuditLog. PermissionAuditLogCreate = "audit.auditlog.create" // PermissionAuditLogUpdate is needed to update an existing AuditLog. PermissionAuditLogUpdate = "audit.auditlog.update" // PermissionAuditLogDelete is needed to delete an existing AuditLog. PermissionAuditLogDelete = "audit.auditlog.delete" // PermissionAuditLogTestHttpsPostDestination is needed to test an AuditLog HTTPS post destination. PermissionAuditLogTestHttpsPostDestination = "audit.auditlog.test-https-post-destination" // PermissionAuditLogSetDefault is needed to change the default AuditLog of an organization. PermissionAuditLogSetDefault = "audit.auditlog.set-default" )
const ( // PermissionAuditLogArchiveList is needed to list AuditLogArchives. PermissionAuditLogArchiveList = "audit.auditlogarchive.list" // PermissionAuditLogArchiveGet is needed to get an individual AuditLogArchive. PermissionAuditLogArchiveGet = "audit.auditlogarchive.get" // PermissionAuditLogArchiveDelete is needed to delete an existing AuditLogArchive. PermissionAuditLogArchiveDelete = "audit.auditlogarchive.delete" )
const ( // PermissionAuditLogAttachmentGet is needed to get an an AuditLog attachment to a Project. PermissionAuditLogAttachmentGet = "audit.auditlogattachment.get" // PermissionAuditLogAttachmentCreate is needed to attach an AuditLog to a Project. PermissionAuditLogAttachmentCreate = "audit.auditlogattachment.create" // PermissionAuditLogAttachmentDelete is needed to detach an AuditLog from a Project. PermissionAuditLogAttachmentDelete = "audit.auditlogattachment.delete" )
const ( // KindAuditLog is a constants for the kind of AuditLog resources. KindAuditLog = "AuditLog" // KindAuditLogArchive is a constants for the kind of AuditLogArchive resources. KindAuditLogArchive = "AuditLogArchive" // KindAuditLogAttachment is a constants for the kind of AuditLogAttachment resources. KindAuditLogAttachment = "AuditLogAttachment" )
const ( // APIID contains identifier of this API APIID = "audit/v1" // APIMajorVersion contains major version of this API APIMajorVersion = 3 // APIMinorVersion contains minor version of this API APIMinorVersion = 1 // APIPatchVersion contains patch version of this API APIPatchVersion = 0 )
const ( // PayloadAuditLogAttachmentProjectID is the key of the payload field, of // an event (of type EventTypeAuditLogAttached or EventTypeAuditLogDetached), // that contains the project ID. PayloadAuditLogAttachmentProjectID = "project_id" )
const (
// PermissionAuditLogEventDelete is needed to delete AuditLogEvents from an archive.
PermissionAuditLogEventDelete = "audit.auditlogevent.delete"
)
const (
// PermissionAuditLogEventsGet is needed to fetching AuditLogEvents.
PermissionAuditLogEventsGet = "audit.auditlogevents.get"
)
Variables ¶
var File_audit_proto protoreflect.FileDescriptor
Functions ¶
func AuditLogArchiveURL ¶
AuditLogArchiveURL creates a resource URL for the AuditLogArchive with given ID in given context.
func AuditLogAttachmentURL ¶ added in v0.50.5
AuditLogAttachmentURL creates a resource URL for the AuditLogAttachment with given ID in given context.
func AuditLogURL ¶
AuditLogURL creates a resource URL for the AuditLog with given ID in given context.
func ForEachAuditLog ¶ added in v0.50.4
func ForEachAuditLog(ctx context.Context, listFunc func(ctx context.Context, req *ListAuditLogsRequest) (*AuditLogList, error), req *ListAuditLogsRequest, cb AuditLogCallback) error
ForEachAuditLog iterates over all audit logs for a specific organization, invoking the given callback for each audit log.
func ForEachAuditLogArchive ¶ added in v0.50.4
func ForEachAuditLogArchive(ctx context.Context, listFunc func(ctx context.Context, req *ListAuditLogArchivesRequest) (*AuditLogArchiveList, error), req *ListAuditLogArchivesRequest, cb AuditLogArchiveCallback) error
ForEachAuditLogArchive iterates over all audit log archives for a specific audit log, invoking the given callback for each audit log archive.
func HeaderListEquals ¶ added in v0.50.8
func HeaderListEquals(source []*AuditLog_Header, other []*AuditLog_Header) bool
HeaderListEquals compares two arbitrary ordered header slices.
func RegisterAuditServiceHandler ¶
func RegisterAuditServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterAuditServiceHandler registers the http handlers for service AuditService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterAuditServiceHandlerClient ¶
func RegisterAuditServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AuditServiceClient) error
RegisterAuditServiceHandlerClient registers the http handlers for service AuditService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "AuditServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "AuditServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "AuditServiceClient" to call the correct interceptors.
func RegisterAuditServiceHandlerFromEndpoint ¶
func RegisterAuditServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterAuditServiceHandlerFromEndpoint is same as RegisterAuditServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterAuditServiceHandlerServer ¶
func RegisterAuditServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AuditServiceServer) error
RegisterAuditServiceHandlerServer registers the http handlers for service AuditService to "mux". UnaryRPC :call AuditServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterAuditServiceHandlerFromEndpoint instead.
func RegisterAuditServiceServer ¶
func RegisterAuditServiceServer(s *grpc.Server, srv AuditServiceServer)
Types ¶
type AttachProjectToAuditLogRequest ¶
type AttachProjectToAuditLogRequest struct { // ID of project to attach the AuditLog to. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // ID of the AuditLog to attach. AuditlogId string `protobuf:"bytes,2,opt,name=auditlog_id,json=auditlogId,proto3" json:"auditlog_id,omitempty"` // contains filtered or unexported fields }
Request arguments for AttachProjectToAuditLog.
func (*AttachProjectToAuditLogRequest) Descriptor
deprecated
func (*AttachProjectToAuditLogRequest) Descriptor() ([]byte, []int)
Deprecated: Use AttachProjectToAuditLogRequest.ProtoReflect.Descriptor instead.
func (*AttachProjectToAuditLogRequest) GetAuditlogId ¶
func (x *AttachProjectToAuditLogRequest) GetAuditlogId() string
func (*AttachProjectToAuditLogRequest) GetProjectId ¶
func (x *AttachProjectToAuditLogRequest) GetProjectId() string
func (*AttachProjectToAuditLogRequest) ProtoMessage ¶
func (*AttachProjectToAuditLogRequest) ProtoMessage()
func (*AttachProjectToAuditLogRequest) ProtoReflect ¶ added in v0.89.0
func (x *AttachProjectToAuditLogRequest) ProtoReflect() protoreflect.Message
func (*AttachProjectToAuditLogRequest) Reset ¶
func (x *AttachProjectToAuditLogRequest) Reset()
func (*AttachProjectToAuditLogRequest) String ¶
func (x *AttachProjectToAuditLogRequest) String() string
type AuditLog ¶
type AuditLog struct { // The ID of this resource. // This is a read-only value. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // URL of this resource // This is a read-only value. Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` // Name of the audit log Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // Description of the audit log Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` // The creation timestamp of the resource // This is a read-only value. CreatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // The deletion timestamp of the resource // This is a read-only value. DeletedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` // Set when this resource is deleted. // This is a read-only value. IsDeleted bool `protobuf:"varint,7,opt,name=is_deleted,json=isDeleted,proto3" json:"is_deleted,omitempty"` // Identifier of the user who created this resource. // This is a read-only value. CreatedById string `protobuf:"bytes,8,opt,name=created_by_id,json=createdById,proto3" json:"created_by_id,omitempty"` // Identifier of the organization that owns this audit log. // After creation, this value cannot be changed. OrganizationId string `protobuf:"bytes,9,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` // If set, this AuditLog is the default for the organization. // This is a read-only value. // The default AuditLog for an organization is used to capture audit events // from the ArangoGraph Insights Platform. If there is no default AuditLog, audit events // from the ArangoGraph Insights Platform are not captured. // The default AuditLog is also attached to new projects in the organization. IsDefault bool `protobuf:"varint,10,opt,name=is_default,json=isDefault,proto3" json:"is_default,omitempty"` // Destinations that events of this AuditLog should be sent to. // Note that there can only be 1 destination of type "cloud". Destinations []*AuditLog_Destination `protobuf:"bytes,100,rep,name=destinations,proto3" json:"destinations,omitempty"` // contains filtered or unexported fields }
AuditLog holds a specification destinations that audit events should be sent to and it acts as a grouping of audit log archives.
func (*AuditLog) Descriptor
deprecated
func (*AuditLog) Equals ¶ added in v0.50.10
Equals returns true when source & other have the same values, the destination statuses are compared depending of the provided bool.
func (*AuditLog) GetCreatedAt ¶
func (x *AuditLog) GetCreatedAt() *timestamppb.Timestamp
func (*AuditLog) GetCreatedById ¶
func (*AuditLog) GetDeletedAt ¶
func (x *AuditLog) GetDeletedAt() *timestamppb.Timestamp
func (*AuditLog) GetDescription ¶
func (*AuditLog) GetDestinations ¶
func (x *AuditLog) GetDestinations() []*AuditLog_Destination
func (*AuditLog) GetIsDefault ¶
func (*AuditLog) GetIsDeleted ¶
func (*AuditLog) GetOrganizationId ¶
func (*AuditLog) ProtoMessage ¶
func (*AuditLog) ProtoMessage()
func (*AuditLog) ProtoReflect ¶ added in v0.89.0
func (x *AuditLog) ProtoReflect() protoreflect.Message
type AuditLogArchive ¶
type AuditLogArchive struct { // The ID of this resource. // This is a read-only value. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // URL of this resource // This is a read-only value. Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` // The creation timestamp of the resource // This is a read-only value. CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // The deletion timestamp of the resource // This is a read-only value. DeletedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` // Set when this resource is deleted. // This is a read-only value. IsDeleted bool `protobuf:"varint,5,opt,name=is_deleted,json=isDeleted,proto3" json:"is_deleted,omitempty"` // Identifier of the auditlog that owns this audit log archive. // This is a read-only value. AuditlogId string `protobuf:"bytes,6,opt,name=auditlog_id,json=auditlogId,proto3" json:"auditlog_id,omitempty"` // If set, this archive is collecting audit events for a deployment with this ID. // Note that the deployment may have already been deleted. DeploymentId string `protobuf:"bytes,7,opt,name=deployment_id,json=deploymentId,proto3" json:"deployment_id,omitempty"` // Last known size of this archive in bytes. // Note that this field is only update periodically. // This is a read-only value. SizeInBytes uint64 `protobuf:"varint,8,opt,name=size_in_bytes,json=sizeInBytes,proto3" json:"size_in_bytes,omitempty"` // The timestamp of the last modification of size_in_bytes. // This is a read-only value. SizeInBytesChangedAt *timestamppb.Timestamp `` /* 127-byte string literal not displayed */ // If set, this archive is collecting audit events for a deployment in the project with this ID. // This is a read-only value. ProjectId string `protobuf:"bytes,10,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Last known name of the deployment identified by deployment_id. // This is a read-only value. DeploymentName string `protobuf:"bytes,11,opt,name=deployment_name,json=deploymentName,proto3" json:"deployment_name,omitempty"` // Last known name of the project identified by project_id. // This is a read-only value. ProjectName string `protobuf:"bytes,12,opt,name=project_name,json=projectName,proto3" json:"project_name,omitempty"` // If set, it is safe to delete this archive. // It does not mean that the caller has permission to delete the archive. // This is a read-only value. CanDelete bool `protobuf:"varint,13,opt,name=can_delete,json=canDelete,proto3" json:"can_delete,omitempty"` // contains filtered or unexported fields }
AuditLogArchive collects files of audit events in a specific region, usually for a specific deployment.
func (*AuditLogArchive) Descriptor
deprecated
func (*AuditLogArchive) Descriptor() ([]byte, []int)
Deprecated: Use AuditLogArchive.ProtoReflect.Descriptor instead.
func (*AuditLogArchive) GetAuditlogId ¶
func (x *AuditLogArchive) GetAuditlogId() string
func (*AuditLogArchive) GetCanDelete ¶ added in v0.63.1
func (x *AuditLogArchive) GetCanDelete() bool
func (*AuditLogArchive) GetCreatedAt ¶
func (x *AuditLogArchive) GetCreatedAt() *timestamppb.Timestamp
func (*AuditLogArchive) GetDeletedAt ¶
func (x *AuditLogArchive) GetDeletedAt() *timestamppb.Timestamp
func (*AuditLogArchive) GetDeploymentId ¶
func (x *AuditLogArchive) GetDeploymentId() string
func (*AuditLogArchive) GetDeploymentName ¶ added in v0.63.1
func (x *AuditLogArchive) GetDeploymentName() string
func (*AuditLogArchive) GetId ¶
func (x *AuditLogArchive) GetId() string
func (*AuditLogArchive) GetIsDeleted ¶
func (x *AuditLogArchive) GetIsDeleted() bool
func (*AuditLogArchive) GetProjectId ¶ added in v0.50.13
func (x *AuditLogArchive) GetProjectId() string
func (*AuditLogArchive) GetProjectName ¶ added in v0.63.1
func (x *AuditLogArchive) GetProjectName() string
func (*AuditLogArchive) GetSizeInBytes ¶
func (x *AuditLogArchive) GetSizeInBytes() uint64
func (*AuditLogArchive) GetSizeInBytesChangedAt ¶
func (x *AuditLogArchive) GetSizeInBytesChangedAt() *timestamppb.Timestamp
func (*AuditLogArchive) GetUrl ¶
func (x *AuditLogArchive) GetUrl() string
func (*AuditLogArchive) ProtoMessage ¶
func (*AuditLogArchive) ProtoMessage()
func (*AuditLogArchive) ProtoReflect ¶ added in v0.89.0
func (x *AuditLogArchive) ProtoReflect() protoreflect.Message
func (*AuditLogArchive) Reset ¶
func (x *AuditLogArchive) Reset()
func (*AuditLogArchive) String ¶
func (x *AuditLogArchive) String() string
type AuditLogArchiveCallback ¶ added in v0.50.4
type AuditLogArchiveCallback func(context.Context, *AuditLogArchive) error
AuditLogArchiveCallback is a callback for individual audit log archive.
type AuditLogArchiveList ¶
type AuditLogArchiveList struct { Items []*AuditLogArchive `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
List of AuditLogArchive's.
func (*AuditLogArchiveList) Descriptor
deprecated
func (*AuditLogArchiveList) Descriptor() ([]byte, []int)
Deprecated: Use AuditLogArchiveList.ProtoReflect.Descriptor instead.
func (*AuditLogArchiveList) GetItems ¶
func (x *AuditLogArchiveList) GetItems() []*AuditLogArchive
func (*AuditLogArchiveList) ProtoMessage ¶
func (*AuditLogArchiveList) ProtoMessage()
func (*AuditLogArchiveList) ProtoReflect ¶ added in v0.89.0
func (x *AuditLogArchiveList) ProtoReflect() protoreflect.Message
func (*AuditLogArchiveList) Reset ¶
func (x *AuditLogArchiveList) Reset()
func (*AuditLogArchiveList) String ¶
func (x *AuditLogArchiveList) String() string
type AuditLogCallback ¶ added in v0.50.4
AuditLogCallback is a callback for individual audit log.
type AuditLogEvent ¶
type AuditLogEvent struct { // When did the event happen Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // Topic of the event Topic string `protobuf:"bytes,2,opt,name=topic,proto3" json:"topic,omitempty"` // ID of the project that the event happened in (if applicable) ProjectId string `protobuf:"bytes,3,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // ID of the deployment that the event happened in (if applicable) DeploymentId string `protobuf:"bytes,4,opt,name=deployment_id,json=deploymentId,proto3" json:"deployment_id,omitempty"` // ID of the server that the event happened in (if applicable) ServerId string `protobuf:"bytes,5,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"` // Instance ID of the server that the event happened in (if applicable) InstanceId string `protobuf:"bytes,6,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"` // Sequence number. Must be even increasing for (deployment_id, server_id, instance_id) pairs. Sequence uint64 `protobuf:"varint,7,opt,name=sequence,proto3" json:"sequence,omitempty"` // ID of the user that caused the event UserId string `protobuf:"bytes,8,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // Name of database the operation is in (if applicable) Database string `protobuf:"bytes,9,opt,name=database,proto3" json:"database,omitempty"` // IP address of source of operation (if available) ClientIp string `protobuf:"bytes,10,opt,name=client_ip,json=clientIp,proto3" json:"client_ip,omitempty"` // Authentication details Authentication string `protobuf:"bytes,11,opt,name=authentication,proto3" json:"authentication,omitempty"` // Free format text describing the event Message string `protobuf:"bytes,12,opt,name=message,proto3" json:"message,omitempty"` // ID of the AuditLogArchive that contains this event (if applicable) AuditlogarchiveId string `protobuf:"bytes,13,opt,name=auditlogarchive_id,json=auditlogarchiveId,proto3" json:"auditlogarchive_id,omitempty"` // Verb of the event (if applicable) Verb string `protobuf:"bytes,14,opt,name=verb,proto3" json:"verb,omitempty"` // contains filtered or unexported fields }
Single audit log event
func (*AuditLogEvent) Descriptor
deprecated
func (*AuditLogEvent) Descriptor() ([]byte, []int)
Deprecated: Use AuditLogEvent.ProtoReflect.Descriptor instead.
func (*AuditLogEvent) GetAuditlogarchiveId ¶
func (x *AuditLogEvent) GetAuditlogarchiveId() string
func (*AuditLogEvent) GetAuthentication ¶
func (x *AuditLogEvent) GetAuthentication() string
func (*AuditLogEvent) GetClientIp ¶
func (x *AuditLogEvent) GetClientIp() string
func (*AuditLogEvent) GetDatabase ¶
func (x *AuditLogEvent) GetDatabase() string
func (*AuditLogEvent) GetDeploymentId ¶
func (x *AuditLogEvent) GetDeploymentId() string
func (*AuditLogEvent) GetInstanceId ¶
func (x *AuditLogEvent) GetInstanceId() string
func (*AuditLogEvent) GetMessage ¶
func (x *AuditLogEvent) GetMessage() string
func (*AuditLogEvent) GetProjectId ¶
func (x *AuditLogEvent) GetProjectId() string
func (*AuditLogEvent) GetSequence ¶
func (x *AuditLogEvent) GetSequence() uint64
func (*AuditLogEvent) GetServerId ¶
func (x *AuditLogEvent) GetServerId() string
func (*AuditLogEvent) GetTimestamp ¶
func (x *AuditLogEvent) GetTimestamp() *timestamppb.Timestamp
func (*AuditLogEvent) GetTopic ¶
func (x *AuditLogEvent) GetTopic() string
func (*AuditLogEvent) GetUserId ¶
func (x *AuditLogEvent) GetUserId() string
func (*AuditLogEvent) GetVerb ¶ added in v0.62.0
func (x *AuditLogEvent) GetVerb() string
func (*AuditLogEvent) ProtoMessage ¶
func (*AuditLogEvent) ProtoMessage()
func (*AuditLogEvent) ProtoReflect ¶ added in v0.89.0
func (x *AuditLogEvent) ProtoReflect() protoreflect.Message
func (*AuditLogEvent) Reset ¶
func (x *AuditLogEvent) Reset()
func (*AuditLogEvent) String ¶
func (x *AuditLogEvent) String() string
type AuditLogEventList ¶
type AuditLogEventList struct { // The audit log event items. Items []*AuditLogEvent `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // A cursor is opaq information to be provided by a next call to GetAuditLogEvents, to continue from this point on // (meaning after the last item in the provided items). // If the string has a non empty value there is (potentially) more data, if the string is empty (""), no more data is available. Cursor string `protobuf:"bytes,2,opt,name=cursor,proto3" json:"cursor,omitempty"` // contains filtered or unexported fields }
List of AuditLogEvent's.
func (*AuditLogEventList) Descriptor
deprecated
func (*AuditLogEventList) Descriptor() ([]byte, []int)
Deprecated: Use AuditLogEventList.ProtoReflect.Descriptor instead.
func (*AuditLogEventList) GetCursor ¶ added in v0.63.2
func (x *AuditLogEventList) GetCursor() string
func (*AuditLogEventList) GetItems ¶
func (x *AuditLogEventList) GetItems() []*AuditLogEvent
func (*AuditLogEventList) ProtoMessage ¶
func (*AuditLogEventList) ProtoMessage()
func (*AuditLogEventList) ProtoReflect ¶ added in v0.89.0
func (x *AuditLogEventList) ProtoReflect() protoreflect.Message
func (*AuditLogEventList) Reset ¶
func (x *AuditLogEventList) Reset()
func (*AuditLogEventList) String ¶
func (x *AuditLogEventList) String() string
type AuditLogList ¶
type AuditLogList struct { Items []*AuditLog `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
List of AuditLog's.
func (*AuditLogList) Descriptor
deprecated
func (*AuditLogList) Descriptor() ([]byte, []int)
Deprecated: Use AuditLogList.ProtoReflect.Descriptor instead.
func (*AuditLogList) GetItems ¶
func (x *AuditLogList) GetItems() []*AuditLog
func (*AuditLogList) ProtoMessage ¶
func (*AuditLogList) ProtoMessage()
func (*AuditLogList) ProtoReflect ¶ added in v0.89.0
func (x *AuditLogList) ProtoReflect() protoreflect.Message
func (*AuditLogList) Reset ¶
func (x *AuditLogList) Reset()
func (*AuditLogList) String ¶
func (x *AuditLogList) String() string
type AuditLogTopic ¶ added in v0.62.0
type AuditLogTopic struct { // Identifier of the topic Topic string `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"` // If set, this topic is used in audit log events of deployments. ForDeployment bool `protobuf:"varint,2,opt,name=for_deployment,json=forDeployment,proto3" json:"for_deployment,omitempty"` // If set, this topic is used in audit log events of the ArangoGraph Insights Platform. ForPlatform bool `protobuf:"varint,3,opt,name=for_platform,json=forPlatform,proto3" json:"for_platform,omitempty"` // If set, this topic will be excluded by default when adding new destinations. ExcludeByDefault bool `protobuf:"varint,4,opt,name=exclude_by_default,json=excludeByDefault,proto3" json:"exclude_by_default,omitempty"` // contains filtered or unexported fields }
Information about a possible topic of an audit log event.
func (*AuditLogTopic) Descriptor
deprecated
added in
v0.62.0
func (*AuditLogTopic) Descriptor() ([]byte, []int)
Deprecated: Use AuditLogTopic.ProtoReflect.Descriptor instead.
func (*AuditLogTopic) GetExcludeByDefault ¶ added in v0.73.11
func (x *AuditLogTopic) GetExcludeByDefault() bool
func (*AuditLogTopic) GetForDeployment ¶ added in v0.62.0
func (x *AuditLogTopic) GetForDeployment() bool
func (*AuditLogTopic) GetForPlatform ¶ added in v0.62.0
func (x *AuditLogTopic) GetForPlatform() bool
func (*AuditLogTopic) GetTopic ¶ added in v0.62.0
func (x *AuditLogTopic) GetTopic() string
func (*AuditLogTopic) ProtoMessage ¶ added in v0.62.0
func (*AuditLogTopic) ProtoMessage()
func (*AuditLogTopic) ProtoReflect ¶ added in v0.89.0
func (x *AuditLogTopic) ProtoReflect() protoreflect.Message
func (*AuditLogTopic) Reset ¶ added in v0.62.0
func (x *AuditLogTopic) Reset()
func (*AuditLogTopic) String ¶ added in v0.62.0
func (x *AuditLogTopic) String() string
type AuditLogTopicList ¶ added in v0.62.0
type AuditLogTopicList struct { Items []*AuditLogTopic `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
List of AuditLogTopic's
func (*AuditLogTopicList) Descriptor
deprecated
added in
v0.62.0
func (*AuditLogTopicList) Descriptor() ([]byte, []int)
Deprecated: Use AuditLogTopicList.ProtoReflect.Descriptor instead.
func (*AuditLogTopicList) GetItems ¶ added in v0.62.0
func (x *AuditLogTopicList) GetItems() []*AuditLogTopic
func (*AuditLogTopicList) ProtoMessage ¶ added in v0.62.0
func (*AuditLogTopicList) ProtoMessage()
func (*AuditLogTopicList) ProtoReflect ¶ added in v0.89.0
func (x *AuditLogTopicList) ProtoReflect() protoreflect.Message
func (*AuditLogTopicList) Reset ¶ added in v0.62.0
func (x *AuditLogTopicList) Reset()
func (*AuditLogTopicList) String ¶ added in v0.62.0
func (x *AuditLogTopicList) String() string
type AuditLog_Destination ¶
type AuditLog_Destination struct { // Type of destination. // Possible values are: "cloud", "https-post" Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // Do not send audit events with these topics to this destination. ExcludedTopics []string `protobuf:"bytes,2,rep,name=excluded_topics,json=excludedTopics,proto3" json:"excluded_topics,omitempty"` // Settings for destinations of type "https-post" HttpPost *AuditLog_HttpsPostSettings `protobuf:"bytes,10,opt,name=http_post,json=httpPost,proto3" json:"http_post,omitempty"` // Status of this destination (per deployment) // This is a read-only value. Statuses []*AuditLog_DestinationStatus `protobuf:"bytes,100,rep,name=Statuses,proto3" json:"Statuses,omitempty"` // Identifier of this destination. // This is a read-only value. To ensure matching updates of destinations, // include this field in calls to UpdateAuditLog and TestAuditLogHttpsPostDestination. Id string `protobuf:"bytes,101,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
Specification of a destination for audit events.
func (*AuditLog_Destination) Descriptor
deprecated
func (*AuditLog_Destination) Descriptor() ([]byte, []int)
Deprecated: Use AuditLog_Destination.ProtoReflect.Descriptor instead.
func (*AuditLog_Destination) Equals ¶ added in v0.50.8
func (source *AuditLog_Destination) Equals(other *AuditLog_Destination, includeStatuses bool) bool
Equals returns true when source & other have the same values, the statuses are compared depending of the provided bool.
func (*AuditLog_Destination) GetExcludedTopics ¶ added in v0.55.0
func (x *AuditLog_Destination) GetExcludedTopics() []string
func (*AuditLog_Destination) GetHttpPost ¶
func (x *AuditLog_Destination) GetHttpPost() *AuditLog_HttpsPostSettings
func (*AuditLog_Destination) GetId ¶ added in v0.63.6
func (x *AuditLog_Destination) GetId() string
func (*AuditLog_Destination) GetStatuses ¶ added in v0.55.0
func (x *AuditLog_Destination) GetStatuses() []*AuditLog_DestinationStatus
func (*AuditLog_Destination) GetType ¶
func (x *AuditLog_Destination) GetType() string
func (*AuditLog_Destination) ProtoMessage ¶
func (*AuditLog_Destination) ProtoMessage()
func (*AuditLog_Destination) ProtoReflect ¶ added in v0.89.0
func (x *AuditLog_Destination) ProtoReflect() protoreflect.Message
func (*AuditLog_Destination) Reset ¶
func (x *AuditLog_Destination) Reset()
func (*AuditLog_Destination) String ¶
func (x *AuditLog_Destination) String() string
type AuditLog_DestinationCounters ¶ added in v0.57.0
type AuditLog_DestinationCounters struct { // The number of audit log events this destination has been processed. // This number will not include the excluded events, so contain events which are relevant after filtering only. Events int64 `protobuf:"varint,1,opt,name=events,proto3" json:"events,omitempty"` // The number of audit log events this destination has been excluded based on the provided 'excluded_topics' filter. EventsExcluded int64 `protobuf:"varint,2,opt,name=events_excluded,json=eventsExcluded,proto3" json:"events_excluded,omitempty"` // The number of undeliverable audit log events for this destination. // Undeliverable means that they are removed without being successfully processed, retries are not taken into account here. EventsUndeliverable int64 `protobuf:"varint,3,opt,name=events_undeliverable,json=eventsUndeliverable,proto3" json:"events_undeliverable,omitempty"` // The bytes of successfull audit log events this destination has been processed. BytesSucceeded int64 `protobuf:"varint,10,opt,name=bytes_succeeded,json=bytesSucceeded,proto3" json:"bytes_succeeded,omitempty"` // The bytes of unsuccessfull audit log events this destination has been trying to process. // This include retries, however not any filtered events or undeliverable events which are discarded based on retry_period period without being ever sent. BytesFailed int64 `protobuf:"varint,11,opt,name=bytes_failed,json=bytesFailed,proto3" json:"bytes_failed,omitempty"` // The number of successfull HTTPS posts this destination has been sent. // An HTTPS POST request is considered successful when a status code between 200 and 299 is returned. // This field is used when the destination type is "https-post" only. HttpsPostsSucceeded int64 `protobuf:"varint,20,opt,name=https_posts_succeeded,json=httpsPostsSucceeded,proto3" json:"https_posts_succeeded,omitempty"` // The number of unsuccessfull HTTPS posts this destination has been trying to sent. // This field is used when the destination type is "https-post" only. HttpsPostsFailed int64 `protobuf:"varint,21,opt,name=https_posts_failed,json=httpsPostsFailed,proto3" json:"https_posts_failed,omitempty"` // contains filtered or unexported fields }
The counters of a destination for audit events (for the provided deployment). All fields in this message are read-only values.
func (*AuditLog_DestinationCounters) Descriptor
deprecated
added in
v0.57.0
func (*AuditLog_DestinationCounters) Descriptor() ([]byte, []int)
Deprecated: Use AuditLog_DestinationCounters.ProtoReflect.Descriptor instead.
func (*AuditLog_DestinationCounters) Equals ¶ added in v0.57.0
func (source *AuditLog_DestinationCounters) Equals(other *AuditLog_DestinationCounters) bool
Equals returns true when source & other have the same values.
func (*AuditLog_DestinationCounters) GetBytesFailed ¶ added in v0.57.0
func (x *AuditLog_DestinationCounters) GetBytesFailed() int64
func (*AuditLog_DestinationCounters) GetBytesSucceeded ¶ added in v0.57.0
func (x *AuditLog_DestinationCounters) GetBytesSucceeded() int64
func (*AuditLog_DestinationCounters) GetEvents ¶ added in v0.57.0
func (x *AuditLog_DestinationCounters) GetEvents() int64
func (*AuditLog_DestinationCounters) GetEventsExcluded ¶ added in v0.57.0
func (x *AuditLog_DestinationCounters) GetEventsExcluded() int64
func (*AuditLog_DestinationCounters) GetEventsUndeliverable ¶ added in v0.57.0
func (x *AuditLog_DestinationCounters) GetEventsUndeliverable() int64
func (*AuditLog_DestinationCounters) GetHttpsPostsFailed ¶ added in v0.57.0
func (x *AuditLog_DestinationCounters) GetHttpsPostsFailed() int64
func (*AuditLog_DestinationCounters) GetHttpsPostsSucceeded ¶ added in v0.57.0
func (x *AuditLog_DestinationCounters) GetHttpsPostsSucceeded() int64
func (*AuditLog_DestinationCounters) ProtoMessage ¶ added in v0.57.0
func (*AuditLog_DestinationCounters) ProtoMessage()
func (*AuditLog_DestinationCounters) ProtoReflect ¶ added in v0.89.0
func (x *AuditLog_DestinationCounters) ProtoReflect() protoreflect.Message
func (*AuditLog_DestinationCounters) Reset ¶ added in v0.57.0
func (x *AuditLog_DestinationCounters) Reset()
func (*AuditLog_DestinationCounters) String ¶ added in v0.57.0
func (x *AuditLog_DestinationCounters) String() string
type AuditLog_DestinationStatus ¶ added in v0.55.0
type AuditLog_DestinationStatus struct { // ID of the deployment that the status applied to (if applicable) // The deployment ID of the status is optional, inside the list at most // one destination status is allowed to be empty, meaning the ArangoGraph Insights Platform status, // all others will be bound to a specific deployment as indicated by this ID. DeploymentId string `protobuf:"bytes,1,opt,name=deployment_id,json=deploymentId,proto3" json:"deployment_id,omitempty"` // Set if this destination (for the provided deployment) has errors. HasErrors bool `protobuf:"varint,2,opt,name=has_errors,json=hasErrors,proto3" json:"has_errors,omitempty"` // Human readable error message (if any). ErrorDetails string `protobuf:"bytes,3,opt,name=error_details,json=errorDetails,proto3" json:"error_details,omitempty"` // The counters of a destination for audit events (for the provided deployment) for today since midnight. // The fields inside this message will be reset at midnight UTC. // The updated_at timestamp will be used as baseline for the time. CountersSinceMidnight *AuditLog_DestinationCounters `` /* 127-byte string literal not displayed */ // The counters of a destination for audit events (for the provided deployment) for yesterday. // The updated_at timestamp will be used as baseline for the time. CountersYesterday *AuditLog_DestinationCounters `protobuf:"bytes,11,opt,name=counters_yesterday,json=countersYesterday,proto3" json:"counters_yesterday,omitempty"` // Timestamp when this status has been last updated. // This is used as baseline for the counters_since_midnight and counters_yesterday fields. UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,100,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // Last known name of the deployment identified by deployment_id (if any). // This is a read-only value. DeploymentName string `protobuf:"bytes,101,opt,name=deployment_name,json=deploymentName,proto3" json:"deployment_name,omitempty"` // contains filtered or unexported fields }
The status of a destination for audit events (for a deployment). All fields in this message are read-only values.
func (*AuditLog_DestinationStatus) Descriptor
deprecated
added in
v0.55.0
func (*AuditLog_DestinationStatus) Descriptor() ([]byte, []int)
Deprecated: Use AuditLog_DestinationStatus.ProtoReflect.Descriptor instead.
func (*AuditLog_DestinationStatus) Equals ¶ added in v0.55.0
func (source *AuditLog_DestinationStatus) Equals(other *AuditLog_DestinationStatus) bool
Equals returns true when source & other have the same values.
func (*AuditLog_DestinationStatus) GetCountersSinceMidnight ¶ added in v0.57.0
func (x *AuditLog_DestinationStatus) GetCountersSinceMidnight() *AuditLog_DestinationCounters
func (*AuditLog_DestinationStatus) GetCountersYesterday ¶ added in v0.57.0
func (x *AuditLog_DestinationStatus) GetCountersYesterday() *AuditLog_DestinationCounters
func (*AuditLog_DestinationStatus) GetDeploymentId ¶ added in v0.55.0
func (x *AuditLog_DestinationStatus) GetDeploymentId() string
func (*AuditLog_DestinationStatus) GetDeploymentName ¶ added in v0.63.5
func (x *AuditLog_DestinationStatus) GetDeploymentName() string
func (*AuditLog_DestinationStatus) GetErrorDetails ¶ added in v0.55.0
func (x *AuditLog_DestinationStatus) GetErrorDetails() string
func (*AuditLog_DestinationStatus) GetHasErrors ¶ added in v0.55.0
func (x *AuditLog_DestinationStatus) GetHasErrors() bool
func (*AuditLog_DestinationStatus) GetUpdatedAt ¶ added in v0.55.0
func (x *AuditLog_DestinationStatus) GetUpdatedAt() *timestamppb.Timestamp
func (*AuditLog_DestinationStatus) ProtoMessage ¶ added in v0.55.0
func (*AuditLog_DestinationStatus) ProtoMessage()
func (*AuditLog_DestinationStatus) ProtoReflect ¶ added in v0.89.0
func (x *AuditLog_DestinationStatus) ProtoReflect() protoreflect.Message
func (*AuditLog_DestinationStatus) Reset ¶ added in v0.55.0
func (x *AuditLog_DestinationStatus) Reset()
func (*AuditLog_DestinationStatus) String ¶ added in v0.55.0
func (x *AuditLog_DestinationStatus) String() string
type AuditLog_Header ¶
type AuditLog_Header struct { // Key of the header Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // Value of the header // This is a write-only value. // On read requests, the value is mangled to something like "abc..." Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
HTTP header pair
func (*AuditLog_Header) Descriptor
deprecated
func (*AuditLog_Header) Descriptor() ([]byte, []int)
Deprecated: Use AuditLog_Header.ProtoReflect.Descriptor instead.
func (*AuditLog_Header) Equals ¶ added in v0.50.8
func (source *AuditLog_Header) Equals(other *AuditLog_Header) bool
Equals returns true when source & other have the same values.
func (*AuditLog_Header) GetKey ¶
func (x *AuditLog_Header) GetKey() string
func (*AuditLog_Header) GetValue ¶
func (x *AuditLog_Header) GetValue() string
func (*AuditLog_Header) ProtoMessage ¶
func (*AuditLog_Header) ProtoMessage()
func (*AuditLog_Header) ProtoReflect ¶ added in v0.89.0
func (x *AuditLog_Header) ProtoReflect() protoreflect.Message
func (*AuditLog_Header) Reset ¶
func (x *AuditLog_Header) Reset()
func (*AuditLog_Header) String ¶
func (x *AuditLog_Header) String() string
type AuditLog_HttpsPostSettings ¶
type AuditLog_HttpsPostSettings struct { // URL of the server to POST to. // The scheme of the URL must be "https". // The used URLs within a single audit log should be unique. Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` // PEM encoded public key of the CA used to sign // the server TLS certificate. // This public key will be used to verify the // TLS connection provided by the server. // If this field is empty, a well known CA is expected. TrustedServerCaPem string `protobuf:"bytes,2,opt,name=trusted_server_ca_pem,json=trustedServerCaPem,proto3" json:"trusted_server_ca_pem,omitempty"` // PEM encoded public key of the client certificate // used to make the request. ClientCertificatePem string `protobuf:"bytes,3,opt,name=client_certificate_pem,json=clientCertificatePem,proto3" json:"client_certificate_pem,omitempty"` // PEM encoded private key of the client certificate // used to make the request. // This is a write-only value. ClientKeyPem string `protobuf:"bytes,4,opt,name=client_key_pem,json=clientKeyPem,proto3" json:"client_key_pem,omitempty"` // HTTP headers to add to the request. // It is allowed to pass multiple headers with the same key. Headers []*AuditLog_Header `protobuf:"bytes,5,rep,name=headers,proto3" json:"headers,omitempty"` // The period this https-post destination will retry to deliver audit events. // Not specifying this value will default to 4 hours, the maximum allowed value is 24 hours. // When this time is exceeded for an event this event will be discarded, however newer events will still be delivered. RetryPeriod *durationpb.Duration `protobuf:"bytes,200,opt,name=retry_period,json=retryPeriod,proto3" json:"retry_period,omitempty"` // contains filtered or unexported fields }
Settings for a destination of type "https-post"
func (*AuditLog_HttpsPostSettings) Descriptor
deprecated
func (*AuditLog_HttpsPostSettings) Descriptor() ([]byte, []int)
Deprecated: Use AuditLog_HttpsPostSettings.ProtoReflect.Descriptor instead.
func (*AuditLog_HttpsPostSettings) Equals ¶ added in v0.50.8
func (source *AuditLog_HttpsPostSettings) Equals(other *AuditLog_HttpsPostSettings) bool
Equals returns true when source & other have the same values.
func (*AuditLog_HttpsPostSettings) GetClientCertificatePem ¶
func (x *AuditLog_HttpsPostSettings) GetClientCertificatePem() string
func (*AuditLog_HttpsPostSettings) GetClientKeyPem ¶
func (x *AuditLog_HttpsPostSettings) GetClientKeyPem() string
func (*AuditLog_HttpsPostSettings) GetHeaders ¶
func (x *AuditLog_HttpsPostSettings) GetHeaders() []*AuditLog_Header
func (*AuditLog_HttpsPostSettings) GetRetryPeriod ¶ added in v0.51.1
func (x *AuditLog_HttpsPostSettings) GetRetryPeriod() *durationpb.Duration
func (*AuditLog_HttpsPostSettings) GetTrustedServerCaPem ¶
func (x *AuditLog_HttpsPostSettings) GetTrustedServerCaPem() string
func (*AuditLog_HttpsPostSettings) GetUrl ¶
func (x *AuditLog_HttpsPostSettings) GetUrl() string
func (*AuditLog_HttpsPostSettings) ProtoMessage ¶
func (*AuditLog_HttpsPostSettings) ProtoMessage()
func (*AuditLog_HttpsPostSettings) ProtoReflect ¶ added in v0.89.0
func (x *AuditLog_HttpsPostSettings) ProtoReflect() protoreflect.Message
func (*AuditLog_HttpsPostSettings) Reset ¶
func (x *AuditLog_HttpsPostSettings) Reset()
func (*AuditLog_HttpsPostSettings) String ¶
func (x *AuditLog_HttpsPostSettings) String() string
type AuditServiceClient ¶
type AuditServiceClient interface { // Get the current API version of this service. // Required permissions: // - None GetAPIVersion(ctx context.Context, in *v1.Empty, opts ...grpc.CallOption) (*v1.Version, error) // Fetch all topics that can be found in an audit log event. // Required permissions: // - None ListAuditLogTopics(ctx context.Context, in *ListAuditLogTopicsRequest, opts ...grpc.CallOption) (*AuditLogTopicList, error) // Fetch all audit logs in the organization identified by the given ID. // Required permissions: // - audit.auditlog.list on the organization identified by the given ID. ListAuditLogs(ctx context.Context, in *ListAuditLogsRequest, opts ...grpc.CallOption) (*AuditLogList, error) // Fetch a specific AuditLog identified by the given ID. // Required permissions: // - audit.auditlog.get on the audit log identified by the given ID. GetAuditLog(ctx context.Context, in *v1.IDOptions, opts ...grpc.CallOption) (*AuditLog, error) // Create a new audit log. // Required permissions: // - audit.auditlog.create on the organization identified by the given ID. CreateAuditLog(ctx context.Context, in *AuditLog, opts ...grpc.CallOption) (*AuditLog, error) // Update an audit log. // Required permissions: // - audit.auditlog.update on the audit log identified by the given ID. UpdateAuditLog(ctx context.Context, in *AuditLog, opts ...grpc.CallOption) (*AuditLog, error) // Delete an audit log. // Note that audit logs are initially only marked for deleted. // Once all their resources are removed the audit log itself is deleted // and cannot be restored. // Note that deleting an AuditLog will detach it from all Projects that // it was attached to. // Required permissions: // - audit.auditlog.delete on the audit log. DeleteAuditLog(ctx context.Context, in *v1.IDOptions, opts ...grpc.CallOption) (*v1.Empty, error) // Change the default audit log of an organization. // The default AuditLog for an organization is used to capture audit events // from the ArangoGraph Insights Platform. If there is no default AuditLog, audit events // from the ArangoGraph Insights Platform are not captured. // The default AuditLog is also attached to new projects in the organization. // Required permissions: // - audit.auditlog.set-default on the organization. SetDefaultAuditLog(ctx context.Context, in *SetDefaultAuditLogRequest, opts ...grpc.CallOption) (*v1.Empty, error) // Test an audit log destination of type HTTPS Post. // Note that only 1 item is returned, but this can take a while. // To recognize test events: The Topic will be "test-topic" and the Sequence 0 // Required permissions: // - audit.auditlog.test-https-post-destination on the organization identified by the given ID. TestAuditLogHttpsPostDestination(ctx context.Context, in *TestAuditLogHttpsPostDestinationRequest, opts ...grpc.CallOption) (AuditService_TestAuditLogHttpsPostDestinationClient, error) // Fetch all audit log archives in the audit log identified by the given ID. // Required permissions: // - audit.auditlogarchive.list on the audit log identified by the given ID. ListAuditLogArchives(ctx context.Context, in *ListAuditLogArchivesRequest, opts ...grpc.CallOption) (*AuditLogArchiveList, error) // Fetch a specific AuditLogArchive identified by the given ID. // Required permissions: // - audit.auditlogarchive.get on the audit log archive identified by the given ID. GetAuditLogArchive(ctx context.Context, in *v1.IDOptions, opts ...grpc.CallOption) (*AuditLogArchive, error) // Delete an audit log archive. // Note that this method will return a precondition-failed error // if there is a non-deleted deployment using this archive. // Note that audit log archives are initially only marked for deleted. // Once all their resources are removed the audit log archive itself is deleted // and cannot be restored. // Required permissions: // - audit.auditlogarchive.delete on the audit log archive. DeleteAuditLogArchive(ctx context.Context, in *v1.IDOptions, opts ...grpc.CallOption) (*v1.Empty, error) // Remove all audit events that match the given filter from the AuditLogArchive // identified by the given ID. // Note that this method will return a precondition-failed error // if there is no destination of type "cloud" in the AuditLog. // Required permissions: // - audit.auditlogevent.delete on the audit log archive identified by the given ID. DeleteAuditLogArchiveEvents(ctx context.Context, in *DeleteAuditLogArchiveEventsRequest, opts ...grpc.CallOption) (*v1.Empty, error) // Fetch all audit events that match the given filter. // Note that this method will return a precondition-failed error // if there is no destination of type "cloud" in the AuditLog. // Required permissions: // - audit.auditlogevents.get on the audit log identified by the given ID. GetAuditLogEvents(ctx context.Context, in *GetAuditLogEventsRequest, opts ...grpc.CallOption) (AuditService_GetAuditLogEventsClient, error) // Fetch the AuditLog that is attached to the project identified by the given ID. // If no AuditLog is attached to the project, a not-found error is returned. // Required permissions: // - audit.auditlogattachment.get on the project identified by the given ID. GetAuditLogAttachedToProject(ctx context.Context, in *v1.IDOptions, opts ...grpc.CallOption) (*AuditLog, error) // Attach the AuditLog identified by given ID to the project identified with given ID. // This replaces any existing AuditLog attachment for the project. // Required permissions: // - audit.auditlogattachment.create on the project identified by the given ID. AttachProjectToAuditLog(ctx context.Context, in *AttachProjectToAuditLogRequest, opts ...grpc.CallOption) (*v1.Empty, error) // Detach the current AuditLog from the project identified with given ID. // After a detachment, no audit events in the context of the project will be sent // to an AuditLog. // Required permissions: // - audit.auditlogattachment.delete on the project identified by the given ID. DetachProjectFromAuditLog(ctx context.Context, in *v1.IDOptions, opts ...grpc.CallOption) (*v1.Empty, error) }
AuditServiceClient is the client API for AuditService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAuditServiceClient ¶
func NewAuditServiceClient(cc grpc.ClientConnInterface) AuditServiceClient
type AuditServiceServer ¶
type AuditServiceServer interface { // Get the current API version of this service. // Required permissions: // - None GetAPIVersion(context.Context, *v1.Empty) (*v1.Version, error) // Fetch all topics that can be found in an audit log event. // Required permissions: // - None ListAuditLogTopics(context.Context, *ListAuditLogTopicsRequest) (*AuditLogTopicList, error) // Fetch all audit logs in the organization identified by the given ID. // Required permissions: // - audit.auditlog.list on the organization identified by the given ID. ListAuditLogs(context.Context, *ListAuditLogsRequest) (*AuditLogList, error) // Fetch a specific AuditLog identified by the given ID. // Required permissions: // - audit.auditlog.get on the audit log identified by the given ID. GetAuditLog(context.Context, *v1.IDOptions) (*AuditLog, error) // Create a new audit log. // Required permissions: // - audit.auditlog.create on the organization identified by the given ID. CreateAuditLog(context.Context, *AuditLog) (*AuditLog, error) // Update an audit log. // Required permissions: // - audit.auditlog.update on the audit log identified by the given ID. UpdateAuditLog(context.Context, *AuditLog) (*AuditLog, error) // Delete an audit log. // Note that audit logs are initially only marked for deleted. // Once all their resources are removed the audit log itself is deleted // and cannot be restored. // Note that deleting an AuditLog will detach it from all Projects that // it was attached to. // Required permissions: // - audit.auditlog.delete on the audit log. DeleteAuditLog(context.Context, *v1.IDOptions) (*v1.Empty, error) // Change the default audit log of an organization. // The default AuditLog for an organization is used to capture audit events // from the ArangoGraph Insights Platform. If there is no default AuditLog, audit events // from the ArangoGraph Insights Platform are not captured. // The default AuditLog is also attached to new projects in the organization. // Required permissions: // - audit.auditlog.set-default on the organization. SetDefaultAuditLog(context.Context, *SetDefaultAuditLogRequest) (*v1.Empty, error) // Test an audit log destination of type HTTPS Post. // Note that only 1 item is returned, but this can take a while. // To recognize test events: The Topic will be "test-topic" and the Sequence 0 // Required permissions: // - audit.auditlog.test-https-post-destination on the organization identified by the given ID. TestAuditLogHttpsPostDestination(*TestAuditLogHttpsPostDestinationRequest, AuditService_TestAuditLogHttpsPostDestinationServer) error // Fetch all audit log archives in the audit log identified by the given ID. // Required permissions: // - audit.auditlogarchive.list on the audit log identified by the given ID. ListAuditLogArchives(context.Context, *ListAuditLogArchivesRequest) (*AuditLogArchiveList, error) // Fetch a specific AuditLogArchive identified by the given ID. // Required permissions: // - audit.auditlogarchive.get on the audit log archive identified by the given ID. GetAuditLogArchive(context.Context, *v1.IDOptions) (*AuditLogArchive, error) // Delete an audit log archive. // Note that this method will return a precondition-failed error // if there is a non-deleted deployment using this archive. // Note that audit log archives are initially only marked for deleted. // Once all their resources are removed the audit log archive itself is deleted // and cannot be restored. // Required permissions: // - audit.auditlogarchive.delete on the audit log archive. DeleteAuditLogArchive(context.Context, *v1.IDOptions) (*v1.Empty, error) // Remove all audit events that match the given filter from the AuditLogArchive // identified by the given ID. // Note that this method will return a precondition-failed error // if there is no destination of type "cloud" in the AuditLog. // Required permissions: // - audit.auditlogevent.delete on the audit log archive identified by the given ID. DeleteAuditLogArchiveEvents(context.Context, *DeleteAuditLogArchiveEventsRequest) (*v1.Empty, error) // Fetch all audit events that match the given filter. // Note that this method will return a precondition-failed error // if there is no destination of type "cloud" in the AuditLog. // Required permissions: // - audit.auditlogevents.get on the audit log identified by the given ID. GetAuditLogEvents(*GetAuditLogEventsRequest, AuditService_GetAuditLogEventsServer) error // Fetch the AuditLog that is attached to the project identified by the given ID. // If no AuditLog is attached to the project, a not-found error is returned. // Required permissions: // - audit.auditlogattachment.get on the project identified by the given ID. GetAuditLogAttachedToProject(context.Context, *v1.IDOptions) (*AuditLog, error) // Attach the AuditLog identified by given ID to the project identified with given ID. // This replaces any existing AuditLog attachment for the project. // Required permissions: // - audit.auditlogattachment.create on the project identified by the given ID. AttachProjectToAuditLog(context.Context, *AttachProjectToAuditLogRequest) (*v1.Empty, error) // Detach the current AuditLog from the project identified with given ID. // After a detachment, no audit events in the context of the project will be sent // to an AuditLog. // Required permissions: // - audit.auditlogattachment.delete on the project identified by the given ID. DetachProjectFromAuditLog(context.Context, *v1.IDOptions) (*v1.Empty, error) }
AuditServiceServer is the server API for AuditService service.
type AuditService_GetAuditLogEventsClient ¶ added in v0.50.2
type AuditService_GetAuditLogEventsClient interface { Recv() (*AuditLogEventList, error) grpc.ClientStream }
type AuditService_GetAuditLogEventsServer ¶ added in v0.50.2
type AuditService_GetAuditLogEventsServer interface { Send(*AuditLogEventList) error grpc.ServerStream }
type AuditService_TestAuditLogHttpsPostDestinationClient ¶ added in v0.61.2
type AuditService_TestAuditLogHttpsPostDestinationClient interface { Recv() (*TestAuditLogHttpsPostDestinationResult, error) grpc.ClientStream }
type AuditService_TestAuditLogHttpsPostDestinationServer ¶ added in v0.61.2
type AuditService_TestAuditLogHttpsPostDestinationServer interface { Send(*TestAuditLogHttpsPostDestinationResult) error grpc.ServerStream }
type DeleteAuditLogArchiveEventsRequest ¶
type DeleteAuditLogArchiveEventsRequest struct { // Identifier of the audit log archive to delete events from. AuditlogarchiveId string `protobuf:"bytes,1,opt,name=auditlogarchive_id,json=auditlogarchiveId,proto3" json:"auditlogarchive_id,omitempty"` // Remove events created before this timestamp. // Note that this timestamp will be rounded down to the nearest hour. To *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"` // contains filtered or unexported fields }
Request arguments for DeleteAuditLogArchiveEvents.
func (*DeleteAuditLogArchiveEventsRequest) Descriptor
deprecated
func (*DeleteAuditLogArchiveEventsRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAuditLogArchiveEventsRequest.ProtoReflect.Descriptor instead.
func (*DeleteAuditLogArchiveEventsRequest) GetAuditlogarchiveId ¶
func (x *DeleteAuditLogArchiveEventsRequest) GetAuditlogarchiveId() string
func (*DeleteAuditLogArchiveEventsRequest) GetTo ¶
func (x *DeleteAuditLogArchiveEventsRequest) GetTo() *timestamppb.Timestamp
func (*DeleteAuditLogArchiveEventsRequest) ProtoMessage ¶
func (*DeleteAuditLogArchiveEventsRequest) ProtoMessage()
func (*DeleteAuditLogArchiveEventsRequest) ProtoReflect ¶ added in v0.89.0
func (x *DeleteAuditLogArchiveEventsRequest) ProtoReflect() protoreflect.Message
func (*DeleteAuditLogArchiveEventsRequest) Reset ¶
func (x *DeleteAuditLogArchiveEventsRequest) Reset()
func (*DeleteAuditLogArchiveEventsRequest) String ¶
func (x *DeleteAuditLogArchiveEventsRequest) String() string
type GetAuditLogEventsRequest ¶ added in v0.50.2
type GetAuditLogEventsRequest struct { // Identifier of the audit log to request events for. // This field is optional when an auditlogarchive_id is specified, however if specified, it should match. AuditlogId string `protobuf:"bytes,1,opt,name=auditlog_id,json=auditlogId,proto3" json:"auditlog_id,omitempty"` // If set, include only events from this AuditLogArchive. // If this identifier is provided the auditlog_id is optional. AuditlogarchiveId string `protobuf:"bytes,2,opt,name=auditlogarchive_id,json=auditlogarchiveId,proto3" json:"auditlogarchive_id,omitempty"` // Request events created at or after this timestamp. // This is an optional field. From *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=from,proto3" json:"from,omitempty"` // Request events created before this timestamp. // This is an optional field. To *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=to,proto3" json:"to,omitempty"` // If non-empty, only request events with one of these topics. IncludedTopics []string `protobuf:"bytes,5,rep,name=included_topics,json=includedTopics,proto3" json:"included_topics,omitempty"` // If non-empty, leave out events with one of these topics. // If a topic is specified in included_topics as well as excluded_topics, // events of that topic will not be included in the results. ExcludedTopics []string `protobuf:"bytes,6,rep,name=excluded_topics,json=excludedTopics,proto3" json:"excluded_topics,omitempty"` // Limit the number of audit log events. Defaults to 0, meaning no limit. Limit int32 `protobuf:"varint,10,opt,name=limit,proto3" json:"limit,omitempty"` // A cursor is opaq information provided by a previous call to GetAuditLogEvents, to continue from that point on. Cursor string `protobuf:"bytes,11,opt,name=cursor,proto3" json:"cursor,omitempty"` // contains filtered or unexported fields }
Request arguments for GetAuditLogEvents.
func (*GetAuditLogEventsRequest) Descriptor
deprecated
added in
v0.50.2
func (*GetAuditLogEventsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAuditLogEventsRequest.ProtoReflect.Descriptor instead.
func (*GetAuditLogEventsRequest) GetAuditlogId ¶ added in v0.50.2
func (x *GetAuditLogEventsRequest) GetAuditlogId() string
func (*GetAuditLogEventsRequest) GetAuditlogarchiveId ¶ added in v0.50.2
func (x *GetAuditLogEventsRequest) GetAuditlogarchiveId() string
func (*GetAuditLogEventsRequest) GetCursor ¶ added in v0.63.2
func (x *GetAuditLogEventsRequest) GetCursor() string
func (*GetAuditLogEventsRequest) GetExcludedTopics ¶ added in v0.50.2
func (x *GetAuditLogEventsRequest) GetExcludedTopics() []string
func (*GetAuditLogEventsRequest) GetFrom ¶ added in v0.50.2
func (x *GetAuditLogEventsRequest) GetFrom() *timestamppb.Timestamp
func (*GetAuditLogEventsRequest) GetIncludedTopics ¶ added in v0.50.2
func (x *GetAuditLogEventsRequest) GetIncludedTopics() []string
func (*GetAuditLogEventsRequest) GetLimit ¶ added in v0.50.2
func (x *GetAuditLogEventsRequest) GetLimit() int32
func (*GetAuditLogEventsRequest) GetTo ¶ added in v0.50.2
func (x *GetAuditLogEventsRequest) GetTo() *timestamppb.Timestamp
func (*GetAuditLogEventsRequest) ProtoMessage ¶ added in v0.50.2
func (*GetAuditLogEventsRequest) ProtoMessage()
func (*GetAuditLogEventsRequest) ProtoReflect ¶ added in v0.89.0
func (x *GetAuditLogEventsRequest) ProtoReflect() protoreflect.Message
func (*GetAuditLogEventsRequest) Reset ¶ added in v0.50.2
func (x *GetAuditLogEventsRequest) Reset()
func (*GetAuditLogEventsRequest) String ¶ added in v0.50.2
func (x *GetAuditLogEventsRequest) String() string
type ListAuditLogArchivesRequest ¶
type ListAuditLogArchivesRequest struct { // Identifier of the audit log to request the audit log archives for. AuditlogId string `protobuf:"bytes,1,opt,name=auditlog_id,json=auditlogId,proto3" json:"auditlog_id,omitempty"` // If set, the result includes all audit log archives, including those who set to deleted, // however are not removed from the system currently. // If not set, only audit log archives not indicated as deleted are returned. IncludeDeleted bool `protobuf:"varint,2,opt,name=include_deleted,json=includeDeleted,proto3" json:"include_deleted,omitempty"` // If set, the results will only include archive items which belong to the // deployment identified by this ID. DeploymentId string `protobuf:"bytes,3,opt,name=deployment_id,json=deploymentId,proto3" json:"deployment_id,omitempty"` // If set, the results will only include archive items which belong to no deployment. // Setting this field and specifying a deployment_id will result in an empty list. WithoutDeployments bool `protobuf:"varint,4,opt,name=without_deployments,json=withoutDeployments,proto3" json:"without_deployments,omitempty"` // If set, the results will only include archive items which belong to the // project identified by this ID. ProjectId string `protobuf:"bytes,5,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Optional common list options, the context_id is ignored Options *v1.ListOptions `protobuf:"bytes,10,opt,name=options,proto3" json:"options,omitempty"` // contains filtered or unexported fields }
Request arguments for ListAuditLogArchives
func (*ListAuditLogArchivesRequest) Descriptor
deprecated
func (*ListAuditLogArchivesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAuditLogArchivesRequest.ProtoReflect.Descriptor instead.
func (*ListAuditLogArchivesRequest) GetAuditlogId ¶
func (x *ListAuditLogArchivesRequest) GetAuditlogId() string
func (*ListAuditLogArchivesRequest) GetDeploymentId ¶ added in v0.63.4
func (x *ListAuditLogArchivesRequest) GetDeploymentId() string
func (*ListAuditLogArchivesRequest) GetIncludeDeleted ¶
func (x *ListAuditLogArchivesRequest) GetIncludeDeleted() bool
func (*ListAuditLogArchivesRequest) GetOptions ¶
func (x *ListAuditLogArchivesRequest) GetOptions() *v1.ListOptions
func (*ListAuditLogArchivesRequest) GetProjectId ¶ added in v0.63.4
func (x *ListAuditLogArchivesRequest) GetProjectId() string
func (*ListAuditLogArchivesRequest) GetWithoutDeployments ¶ added in v0.63.4
func (x *ListAuditLogArchivesRequest) GetWithoutDeployments() bool
func (*ListAuditLogArchivesRequest) ProtoMessage ¶
func (*ListAuditLogArchivesRequest) ProtoMessage()
func (*ListAuditLogArchivesRequest) ProtoReflect ¶ added in v0.89.0
func (x *ListAuditLogArchivesRequest) ProtoReflect() protoreflect.Message
func (*ListAuditLogArchivesRequest) Reset ¶
func (x *ListAuditLogArchivesRequest) Reset()
func (*ListAuditLogArchivesRequest) String ¶
func (x *ListAuditLogArchivesRequest) String() string
type ListAuditLogTopicsRequest ¶ added in v0.62.0
type ListAuditLogTopicsRequest struct { // Optional common list options, the context_id is ignored Options *v1.ListOptions `protobuf:"bytes,1,opt,name=options,proto3" json:"options,omitempty"` // If set, only topics used in audit log events of deployments are returned. ForDeploymentOnly bool `protobuf:"varint,2,opt,name=for_deployment_only,json=forDeploymentOnly,proto3" json:"for_deployment_only,omitempty"` // If set, only topics used in audit log events of the ArangoGraph Insights Platform are returned. ForPlatformOnly bool `protobuf:"varint,3,opt,name=for_platform_only,json=forPlatformOnly,proto3" json:"for_platform_only,omitempty"` // contains filtered or unexported fields }
Request arguments for ListAuditLogTopics.
func (*ListAuditLogTopicsRequest) Descriptor
deprecated
added in
v0.62.0
func (*ListAuditLogTopicsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAuditLogTopicsRequest.ProtoReflect.Descriptor instead.
func (*ListAuditLogTopicsRequest) GetForDeploymentOnly ¶ added in v0.62.0
func (x *ListAuditLogTopicsRequest) GetForDeploymentOnly() bool
func (*ListAuditLogTopicsRequest) GetForPlatformOnly ¶ added in v0.62.0
func (x *ListAuditLogTopicsRequest) GetForPlatformOnly() bool
func (*ListAuditLogTopicsRequest) GetOptions ¶ added in v0.62.0
func (x *ListAuditLogTopicsRequest) GetOptions() *v1.ListOptions
func (*ListAuditLogTopicsRequest) ProtoMessage ¶ added in v0.62.0
func (*ListAuditLogTopicsRequest) ProtoMessage()
func (*ListAuditLogTopicsRequest) ProtoReflect ¶ added in v0.89.0
func (x *ListAuditLogTopicsRequest) ProtoReflect() protoreflect.Message
func (*ListAuditLogTopicsRequest) Reset ¶ added in v0.62.0
func (x *ListAuditLogTopicsRequest) Reset()
func (*ListAuditLogTopicsRequest) String ¶ added in v0.62.0
func (x *ListAuditLogTopicsRequest) String() string
type ListAuditLogsRequest ¶
type ListAuditLogsRequest struct { // Identifier of the organization to request the audit logs for. OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` // If set, the result includes all audit logs, including those who set to deleted, // however are not removed from the system currently. // If not set, only audit logs not indicated as deleted are returned. IncludeDeleted bool `protobuf:"varint,2,opt,name=include_deleted,json=includeDeleted,proto3" json:"include_deleted,omitempty"` // Optional common list options, the context_id is ignored Options *v1.ListOptions `protobuf:"bytes,10,opt,name=options,proto3" json:"options,omitempty"` // contains filtered or unexported fields }
Request arguments for ListAuditLogs
func (*ListAuditLogsRequest) Descriptor
deprecated
func (*ListAuditLogsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAuditLogsRequest.ProtoReflect.Descriptor instead.
func (*ListAuditLogsRequest) GetIncludeDeleted ¶
func (x *ListAuditLogsRequest) GetIncludeDeleted() bool
func (*ListAuditLogsRequest) GetOptions ¶
func (x *ListAuditLogsRequest) GetOptions() *v1.ListOptions
func (*ListAuditLogsRequest) GetOrganizationId ¶
func (x *ListAuditLogsRequest) GetOrganizationId() string
func (*ListAuditLogsRequest) ProtoMessage ¶
func (*ListAuditLogsRequest) ProtoMessage()
func (*ListAuditLogsRequest) ProtoReflect ¶ added in v0.89.0
func (x *ListAuditLogsRequest) ProtoReflect() protoreflect.Message
func (*ListAuditLogsRequest) Reset ¶
func (x *ListAuditLogsRequest) Reset()
func (*ListAuditLogsRequest) String ¶
func (x *ListAuditLogsRequest) String() string
type SetDefaultAuditLogRequest ¶ added in v0.63.0
type SetDefaultAuditLogRequest struct { // Identifier of the organization to set the default for. OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` // Identifier of the new default auditlog. // If empty, there will be no default auditlog for the organization. AuditlogId string `protobuf:"bytes,2,opt,name=auditlog_id,json=auditlogId,proto3" json:"auditlog_id,omitempty"` // contains filtered or unexported fields }
Request arguments for SetDefaultAuditLog.
func (*SetDefaultAuditLogRequest) Descriptor
deprecated
added in
v0.63.0
func (*SetDefaultAuditLogRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetDefaultAuditLogRequest.ProtoReflect.Descriptor instead.
func (*SetDefaultAuditLogRequest) GetAuditlogId ¶ added in v0.63.0
func (x *SetDefaultAuditLogRequest) GetAuditlogId() string
func (*SetDefaultAuditLogRequest) GetOrganizationId ¶ added in v0.63.0
func (x *SetDefaultAuditLogRequest) GetOrganizationId() string
func (*SetDefaultAuditLogRequest) ProtoMessage ¶ added in v0.63.0
func (*SetDefaultAuditLogRequest) ProtoMessage()
func (*SetDefaultAuditLogRequest) ProtoReflect ¶ added in v0.89.0
func (x *SetDefaultAuditLogRequest) ProtoReflect() protoreflect.Message
func (*SetDefaultAuditLogRequest) Reset ¶ added in v0.63.0
func (x *SetDefaultAuditLogRequest) Reset()
func (*SetDefaultAuditLogRequest) String ¶ added in v0.63.0
func (x *SetDefaultAuditLogRequest) String() string
type TestAuditLogHttpsPostDestinationRequest ¶ added in v0.61.2
type TestAuditLogHttpsPostDestinationRequest struct { // Identifier of the organization. OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` // The HTTPS post settings to test. Settings *AuditLog_HttpsPostSettings `protobuf:"bytes,2,opt,name=settings,proto3" json:"settings,omitempty"` // Identifier of the audit log. // This field is optional, if specified this auditlog is used to revert the redacted content (if any). AuditlogId string `protobuf:"bytes,100,opt,name=auditlog_id,json=auditlogId,proto3" json:"auditlog_id,omitempty"` // Identifier of the destination. // This field is optional, if specified this identifier is used, inside the provided audit log to revert the redacted content (if any). DestinationId string `protobuf:"bytes,101,opt,name=destination_id,json=destinationId,proto3" json:"destination_id,omitempty"` // contains filtered or unexported fields }
Request arguments for TestAuditLogHttpsPostDestination.
func (*TestAuditLogHttpsPostDestinationRequest) Descriptor
deprecated
added in
v0.61.2
func (*TestAuditLogHttpsPostDestinationRequest) Descriptor() ([]byte, []int)
Deprecated: Use TestAuditLogHttpsPostDestinationRequest.ProtoReflect.Descriptor instead.
func (*TestAuditLogHttpsPostDestinationRequest) GetAuditlogId ¶ added in v0.63.11
func (x *TestAuditLogHttpsPostDestinationRequest) GetAuditlogId() string
func (*TestAuditLogHttpsPostDestinationRequest) GetDestinationId ¶ added in v0.63.11
func (x *TestAuditLogHttpsPostDestinationRequest) GetDestinationId() string
func (*TestAuditLogHttpsPostDestinationRequest) GetOrganizationId ¶ added in v0.61.2
func (x *TestAuditLogHttpsPostDestinationRequest) GetOrganizationId() string
func (*TestAuditLogHttpsPostDestinationRequest) GetSettings ¶ added in v0.61.2
func (x *TestAuditLogHttpsPostDestinationRequest) GetSettings() *AuditLog_HttpsPostSettings
func (*TestAuditLogHttpsPostDestinationRequest) ProtoMessage ¶ added in v0.61.2
func (*TestAuditLogHttpsPostDestinationRequest) ProtoMessage()
func (*TestAuditLogHttpsPostDestinationRequest) ProtoReflect ¶ added in v0.89.0
func (x *TestAuditLogHttpsPostDestinationRequest) ProtoReflect() protoreflect.Message
func (*TestAuditLogHttpsPostDestinationRequest) Reset ¶ added in v0.61.2
func (x *TestAuditLogHttpsPostDestinationRequest) Reset()
func (*TestAuditLogHttpsPostDestinationRequest) String ¶ added in v0.61.2
func (x *TestAuditLogHttpsPostDestinationRequest) String() string
type TestAuditLogHttpsPostDestinationResult ¶ added in v0.61.2
type TestAuditLogHttpsPostDestinationResult struct { // Set if this destination has errors. HasErrors bool `protobuf:"varint,1,opt,name=has_errors,json=hasErrors,proto3" json:"has_errors,omitempty"` // Human readable error message (if any). ErrorDetails string `protobuf:"bytes,2,opt,name=error_details,json=errorDetails,proto3" json:"error_details,omitempty"` // contains filtered or unexported fields }
Result arguments for TestAuditLogHttpsPostDestination.
func (*TestAuditLogHttpsPostDestinationResult) Descriptor
deprecated
added in
v0.61.2
func (*TestAuditLogHttpsPostDestinationResult) Descriptor() ([]byte, []int)
Deprecated: Use TestAuditLogHttpsPostDestinationResult.ProtoReflect.Descriptor instead.
func (*TestAuditLogHttpsPostDestinationResult) GetErrorDetails ¶ added in v0.61.2
func (x *TestAuditLogHttpsPostDestinationResult) GetErrorDetails() string
func (*TestAuditLogHttpsPostDestinationResult) GetHasErrors ¶ added in v0.61.2
func (x *TestAuditLogHttpsPostDestinationResult) GetHasErrors() bool
func (*TestAuditLogHttpsPostDestinationResult) ProtoMessage ¶ added in v0.61.2
func (*TestAuditLogHttpsPostDestinationResult) ProtoMessage()
func (*TestAuditLogHttpsPostDestinationResult) ProtoReflect ¶ added in v0.89.0
func (x *TestAuditLogHttpsPostDestinationResult) ProtoReflect() protoreflect.Message
func (*TestAuditLogHttpsPostDestinationResult) Reset ¶ added in v0.61.2
func (x *TestAuditLogHttpsPostDestinationResult) Reset()
func (*TestAuditLogHttpsPostDestinationResult) String ¶ added in v0.61.2
func (x *TestAuditLogHttpsPostDestinationResult) String() string
type UnimplementedAuditServiceServer ¶
type UnimplementedAuditServiceServer struct { }
UnimplementedAuditServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedAuditServiceServer) AttachProjectToAuditLog ¶
func (*UnimplementedAuditServiceServer) AttachProjectToAuditLog(context.Context, *AttachProjectToAuditLogRequest) (*v1.Empty, error)
func (*UnimplementedAuditServiceServer) CreateAuditLog ¶
func (*UnimplementedAuditServiceServer) DeleteAuditLog ¶
func (*UnimplementedAuditServiceServer) DeleteAuditLogArchive ¶
func (*UnimplementedAuditServiceServer) DeleteAuditLogArchiveEvents ¶
func (*UnimplementedAuditServiceServer) DeleteAuditLogArchiveEvents(context.Context, *DeleteAuditLogArchiveEventsRequest) (*v1.Empty, error)
func (*UnimplementedAuditServiceServer) DetachProjectFromAuditLog ¶
func (*UnimplementedAuditServiceServer) GetAPIVersion ¶
func (*UnimplementedAuditServiceServer) GetAuditLog ¶
func (*UnimplementedAuditServiceServer) GetAuditLogArchive ¶
func (*UnimplementedAuditServiceServer) GetAuditLogArchive(context.Context, *v1.IDOptions) (*AuditLogArchive, error)
func (*UnimplementedAuditServiceServer) GetAuditLogAttachedToProject ¶
func (*UnimplementedAuditServiceServer) GetAuditLogEvents ¶ added in v0.50.2
func (*UnimplementedAuditServiceServer) GetAuditLogEvents(*GetAuditLogEventsRequest, AuditService_GetAuditLogEventsServer) error
func (*UnimplementedAuditServiceServer) ListAuditLogArchives ¶
func (*UnimplementedAuditServiceServer) ListAuditLogArchives(context.Context, *ListAuditLogArchivesRequest) (*AuditLogArchiveList, error)
func (*UnimplementedAuditServiceServer) ListAuditLogTopics ¶ added in v0.62.0
func (*UnimplementedAuditServiceServer) ListAuditLogTopics(context.Context, *ListAuditLogTopicsRequest) (*AuditLogTopicList, error)
func (*UnimplementedAuditServiceServer) ListAuditLogs ¶
func (*UnimplementedAuditServiceServer) ListAuditLogs(context.Context, *ListAuditLogsRequest) (*AuditLogList, error)
func (*UnimplementedAuditServiceServer) SetDefaultAuditLog ¶ added in v0.63.0
func (*UnimplementedAuditServiceServer) SetDefaultAuditLog(context.Context, *SetDefaultAuditLogRequest) (*v1.Empty, error)
func (*UnimplementedAuditServiceServer) TestAuditLogHttpsPostDestination ¶ added in v0.61.2
func (*UnimplementedAuditServiceServer) TestAuditLogHttpsPostDestination(*TestAuditLogHttpsPostDestinationRequest, AuditService_TestAuditLogHttpsPostDestinationServer) error