v1

package
v0.88.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 11, 2024 License: Apache-2.0 Imports: 22 Imported by: 3

Documentation

Overview

Package v1 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package audit/v1 contains the API of auditing services.

Index

Constants

View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
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 = 0
	// APIPatchVersion contains patch version of this API
	APIPatchVersion = 8
)
View Source
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"
)
View Source
const (

	// PermissionAuditLogEventDelete is needed to delete AuditLogEvents from an archive.
	PermissionAuditLogEventDelete = "audit.auditlogevent.delete"
)
View Source
const (

	// PermissionAuditLogEventsGet is needed to fetching AuditLogEvents.
	PermissionAuditLogEventsGet = "audit.auditlogevents.get"
)

Variables

View Source
var (
	ErrInvalidLengthAudit        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowAudit          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupAudit = fmt.Errorf("proto: unexpected end of group")
)

Functions

func AuditLogArchiveURL

func AuditLogArchiveURL(organizationID, auditLogID, auditLogArchiveID string) string

AuditLogArchiveURL creates a resource URL for the AuditLogArchive with given ID in given context.

func AuditLogAttachmentURL added in v0.50.5

func AuditLogAttachmentURL(organizationID, projectID, auditLogID string) string

AuditLogAttachmentURL creates a resource URL for the AuditLogAttachment with given ID in given context.

func AuditLogURL

func AuditLogURL(organizationID, auditLogID string) string

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

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.

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request arguments for AttachProjectToAuditLog.

func (*AttachProjectToAuditLogRequest) Descriptor

func (*AttachProjectToAuditLogRequest) Descriptor() ([]byte, []int)

func (*AttachProjectToAuditLogRequest) GetAuditlogId

func (m *AttachProjectToAuditLogRequest) GetAuditlogId() string

func (*AttachProjectToAuditLogRequest) GetProjectId

func (m *AttachProjectToAuditLogRequest) GetProjectId() string

func (*AttachProjectToAuditLogRequest) Marshal

func (m *AttachProjectToAuditLogRequest) Marshal() (dAtA []byte, err error)

func (*AttachProjectToAuditLogRequest) MarshalTo

func (m *AttachProjectToAuditLogRequest) MarshalTo(dAtA []byte) (int, error)

func (*AttachProjectToAuditLogRequest) MarshalToSizedBuffer

func (m *AttachProjectToAuditLogRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AttachProjectToAuditLogRequest) ProtoMessage

func (*AttachProjectToAuditLogRequest) ProtoMessage()

func (*AttachProjectToAuditLogRequest) Reset

func (m *AttachProjectToAuditLogRequest) Reset()

func (*AttachProjectToAuditLogRequest) Size

func (m *AttachProjectToAuditLogRequest) Size() (n int)

func (*AttachProjectToAuditLogRequest) String

func (*AttachProjectToAuditLogRequest) Unmarshal

func (m *AttachProjectToAuditLogRequest) Unmarshal(dAtA []byte) error

func (*AttachProjectToAuditLogRequest) XXX_DiscardUnknown

func (m *AttachProjectToAuditLogRequest) XXX_DiscardUnknown()

func (*AttachProjectToAuditLogRequest) XXX_Marshal

func (m *AttachProjectToAuditLogRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AttachProjectToAuditLogRequest) XXX_Merge

func (m *AttachProjectToAuditLogRequest) XXX_Merge(src proto.Message)

func (*AttachProjectToAuditLogRequest) XXX_Size

func (m *AttachProjectToAuditLogRequest) XXX_Size() int

func (*AttachProjectToAuditLogRequest) XXX_Unmarshal

func (m *AttachProjectToAuditLogRequest) XXX_Unmarshal(b []byte) error

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 *types.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 *types.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"`
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     []byte                  `json:"-"`
	XXX_sizecache        int32                   `json:"-"`
}

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

func (*AuditLog) Descriptor() ([]byte, []int)

func (*AuditLog) Equals added in v0.50.10

func (source *AuditLog) Equals(other *AuditLog, includeStatuses bool) bool

Equals returns true when source & other have the same values, the destination statuses are compared depending of the provided bool.

func (*AuditLog) GetCreatedAt

func (m *AuditLog) GetCreatedAt() *types.Timestamp

func (*AuditLog) GetCreatedById

func (m *AuditLog) GetCreatedById() string

func (*AuditLog) GetDeletedAt

func (m *AuditLog) GetDeletedAt() *types.Timestamp

func (*AuditLog) GetDescription

func (m *AuditLog) GetDescription() string

func (*AuditLog) GetDestinations

func (m *AuditLog) GetDestinations() []*AuditLog_Destination

func (*AuditLog) GetId

func (m *AuditLog) GetId() string

func (*AuditLog) GetIsDefault

func (m *AuditLog) GetIsDefault() bool

func (*AuditLog) GetIsDeleted

func (m *AuditLog) GetIsDeleted() bool

func (*AuditLog) GetName

func (m *AuditLog) GetName() string

func (*AuditLog) GetOrganizationId

func (m *AuditLog) GetOrganizationId() string

func (*AuditLog) GetUrl

func (m *AuditLog) GetUrl() string

func (*AuditLog) Marshal

func (m *AuditLog) Marshal() (dAtA []byte, err error)

func (*AuditLog) MarshalTo

func (m *AuditLog) MarshalTo(dAtA []byte) (int, error)

func (*AuditLog) MarshalToSizedBuffer

func (m *AuditLog) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AuditLog) ProtoMessage

func (*AuditLog) ProtoMessage()

func (*AuditLog) Reset

func (m *AuditLog) Reset()

func (*AuditLog) Size

func (m *AuditLog) Size() (n int)

func (*AuditLog) String

func (m *AuditLog) String() string

func (*AuditLog) Unmarshal

func (m *AuditLog) Unmarshal(dAtA []byte) error

func (*AuditLog) XXX_DiscardUnknown

func (m *AuditLog) XXX_DiscardUnknown()

func (*AuditLog) XXX_Marshal

func (m *AuditLog) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AuditLog) XXX_Merge

func (m *AuditLog) XXX_Merge(src proto.Message)

func (*AuditLog) XXX_Size

func (m *AuditLog) XXX_Size() int

func (*AuditLog) XXX_Unmarshal

func (m *AuditLog) XXX_Unmarshal(b []byte) error

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 *types.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 *types.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 *types.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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

AuditLogArchive collects files of audit events in a specific region, usually for a specific deployment.

func (*AuditLogArchive) Descriptor

func (*AuditLogArchive) Descriptor() ([]byte, []int)

func (*AuditLogArchive) GetAuditlogId

func (m *AuditLogArchive) GetAuditlogId() string

func (*AuditLogArchive) GetCanDelete added in v0.63.1

func (m *AuditLogArchive) GetCanDelete() bool

func (*AuditLogArchive) GetCreatedAt

func (m *AuditLogArchive) GetCreatedAt() *types.Timestamp

func (*AuditLogArchive) GetDeletedAt

func (m *AuditLogArchive) GetDeletedAt() *types.Timestamp

func (*AuditLogArchive) GetDeploymentId

func (m *AuditLogArchive) GetDeploymentId() string

func (*AuditLogArchive) GetDeploymentName added in v0.63.1

func (m *AuditLogArchive) GetDeploymentName() string

func (*AuditLogArchive) GetId

func (m *AuditLogArchive) GetId() string

func (*AuditLogArchive) GetIsDeleted

func (m *AuditLogArchive) GetIsDeleted() bool

func (*AuditLogArchive) GetProjectId added in v0.50.13

func (m *AuditLogArchive) GetProjectId() string

func (*AuditLogArchive) GetProjectName added in v0.63.1

func (m *AuditLogArchive) GetProjectName() string

func (*AuditLogArchive) GetSizeInBytes

func (m *AuditLogArchive) GetSizeInBytes() uint64

func (*AuditLogArchive) GetSizeInBytesChangedAt

func (m *AuditLogArchive) GetSizeInBytesChangedAt() *types.Timestamp

func (*AuditLogArchive) GetUrl

func (m *AuditLogArchive) GetUrl() string

func (*AuditLogArchive) Marshal

func (m *AuditLogArchive) Marshal() (dAtA []byte, err error)

func (*AuditLogArchive) MarshalTo

func (m *AuditLogArchive) MarshalTo(dAtA []byte) (int, error)

func (*AuditLogArchive) MarshalToSizedBuffer

func (m *AuditLogArchive) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AuditLogArchive) ProtoMessage

func (*AuditLogArchive) ProtoMessage()

func (*AuditLogArchive) Reset

func (m *AuditLogArchive) Reset()

func (*AuditLogArchive) Size

func (m *AuditLogArchive) Size() (n int)

func (*AuditLogArchive) String

func (m *AuditLogArchive) String() string

func (*AuditLogArchive) Unmarshal

func (m *AuditLogArchive) Unmarshal(dAtA []byte) error

func (*AuditLogArchive) XXX_DiscardUnknown

func (m *AuditLogArchive) XXX_DiscardUnknown()

func (*AuditLogArchive) XXX_Marshal

func (m *AuditLogArchive) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AuditLogArchive) XXX_Merge

func (m *AuditLogArchive) XXX_Merge(src proto.Message)

func (*AuditLogArchive) XXX_Size

func (m *AuditLogArchive) XXX_Size() int

func (*AuditLogArchive) XXX_Unmarshal

func (m *AuditLogArchive) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

List of AuditLogArchive's.

func (*AuditLogArchiveList) Descriptor

func (*AuditLogArchiveList) Descriptor() ([]byte, []int)

func (*AuditLogArchiveList) GetItems

func (m *AuditLogArchiveList) GetItems() []*AuditLogArchive

func (*AuditLogArchiveList) Marshal

func (m *AuditLogArchiveList) Marshal() (dAtA []byte, err error)

func (*AuditLogArchiveList) MarshalTo

func (m *AuditLogArchiveList) MarshalTo(dAtA []byte) (int, error)

func (*AuditLogArchiveList) MarshalToSizedBuffer

func (m *AuditLogArchiveList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AuditLogArchiveList) ProtoMessage

func (*AuditLogArchiveList) ProtoMessage()

func (*AuditLogArchiveList) Reset

func (m *AuditLogArchiveList) Reset()

func (*AuditLogArchiveList) Size

func (m *AuditLogArchiveList) Size() (n int)

func (*AuditLogArchiveList) String

func (m *AuditLogArchiveList) String() string

func (*AuditLogArchiveList) Unmarshal

func (m *AuditLogArchiveList) Unmarshal(dAtA []byte) error

func (*AuditLogArchiveList) XXX_DiscardUnknown

func (m *AuditLogArchiveList) XXX_DiscardUnknown()

func (*AuditLogArchiveList) XXX_Marshal

func (m *AuditLogArchiveList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AuditLogArchiveList) XXX_Merge

func (m *AuditLogArchiveList) XXX_Merge(src proto.Message)

func (*AuditLogArchiveList) XXX_Size

func (m *AuditLogArchiveList) XXX_Size() int

func (*AuditLogArchiveList) XXX_Unmarshal

func (m *AuditLogArchiveList) XXX_Unmarshal(b []byte) error

type AuditLogCallback added in v0.50.4

type AuditLogCallback func(context.Context, *AuditLog) error

AuditLogCallback is a callback for individual audit log.

type AuditLogEvent

type AuditLogEvent struct {
	// When did the event happen
	Timestamp *types.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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Single audit log event

func (*AuditLogEvent) Descriptor

func (*AuditLogEvent) Descriptor() ([]byte, []int)

func (*AuditLogEvent) GetAuditlogarchiveId

func (m *AuditLogEvent) GetAuditlogarchiveId() string

func (*AuditLogEvent) GetAuthentication

func (m *AuditLogEvent) GetAuthentication() string

func (*AuditLogEvent) GetClientIp

func (m *AuditLogEvent) GetClientIp() string

func (*AuditLogEvent) GetDatabase

func (m *AuditLogEvent) GetDatabase() string

func (*AuditLogEvent) GetDeploymentId

func (m *AuditLogEvent) GetDeploymentId() string

func (*AuditLogEvent) GetInstanceId

func (m *AuditLogEvent) GetInstanceId() string

func (*AuditLogEvent) GetMessage

func (m *AuditLogEvent) GetMessage() string

func (*AuditLogEvent) GetProjectId

func (m *AuditLogEvent) GetProjectId() string

func (*AuditLogEvent) GetSequence

func (m *AuditLogEvent) GetSequence() uint64

func (*AuditLogEvent) GetServerId

func (m *AuditLogEvent) GetServerId() string

func (*AuditLogEvent) GetTimestamp

func (m *AuditLogEvent) GetTimestamp() *types.Timestamp

func (*AuditLogEvent) GetTopic

func (m *AuditLogEvent) GetTopic() string

func (*AuditLogEvent) GetUserId

func (m *AuditLogEvent) GetUserId() string

func (*AuditLogEvent) GetVerb added in v0.62.0

func (m *AuditLogEvent) GetVerb() string

func (*AuditLogEvent) Marshal

func (m *AuditLogEvent) Marshal() (dAtA []byte, err error)

func (*AuditLogEvent) MarshalTo

func (m *AuditLogEvent) MarshalTo(dAtA []byte) (int, error)

func (*AuditLogEvent) MarshalToSizedBuffer

func (m *AuditLogEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AuditLogEvent) ProtoMessage

func (*AuditLogEvent) ProtoMessage()

func (*AuditLogEvent) Reset

func (m *AuditLogEvent) Reset()

func (*AuditLogEvent) Size

func (m *AuditLogEvent) Size() (n int)

func (*AuditLogEvent) String

func (m *AuditLogEvent) String() string

func (*AuditLogEvent) Unmarshal

func (m *AuditLogEvent) Unmarshal(dAtA []byte) error

func (*AuditLogEvent) XXX_DiscardUnknown

func (m *AuditLogEvent) XXX_DiscardUnknown()

func (*AuditLogEvent) XXX_Marshal

func (m *AuditLogEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AuditLogEvent) XXX_Merge

func (m *AuditLogEvent) XXX_Merge(src proto.Message)

func (*AuditLogEvent) XXX_Size

func (m *AuditLogEvent) XXX_Size() int

func (*AuditLogEvent) XXX_Unmarshal

func (m *AuditLogEvent) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

List of AuditLogEvent's.

func (*AuditLogEventList) Descriptor

func (*AuditLogEventList) Descriptor() ([]byte, []int)

func (*AuditLogEventList) GetCursor added in v0.63.2

func (m *AuditLogEventList) GetCursor() string

func (*AuditLogEventList) GetItems

func (m *AuditLogEventList) GetItems() []*AuditLogEvent

func (*AuditLogEventList) Marshal

func (m *AuditLogEventList) Marshal() (dAtA []byte, err error)

func (*AuditLogEventList) MarshalTo

func (m *AuditLogEventList) MarshalTo(dAtA []byte) (int, error)

func (*AuditLogEventList) MarshalToSizedBuffer

func (m *AuditLogEventList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AuditLogEventList) ProtoMessage

func (*AuditLogEventList) ProtoMessage()

func (*AuditLogEventList) Reset

func (m *AuditLogEventList) Reset()

func (*AuditLogEventList) Size

func (m *AuditLogEventList) Size() (n int)

func (*AuditLogEventList) String

func (m *AuditLogEventList) String() string

func (*AuditLogEventList) Unmarshal

func (m *AuditLogEventList) Unmarshal(dAtA []byte) error

func (*AuditLogEventList) XXX_DiscardUnknown

func (m *AuditLogEventList) XXX_DiscardUnknown()

func (*AuditLogEventList) XXX_Marshal

func (m *AuditLogEventList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AuditLogEventList) XXX_Merge

func (m *AuditLogEventList) XXX_Merge(src proto.Message)

func (*AuditLogEventList) XXX_Size

func (m *AuditLogEventList) XXX_Size() int

func (*AuditLogEventList) XXX_Unmarshal

func (m *AuditLogEventList) XXX_Unmarshal(b []byte) error

type AuditLogList

type AuditLogList struct {
	Items                []*AuditLog `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

List of AuditLog's.

func (*AuditLogList) Descriptor

func (*AuditLogList) Descriptor() ([]byte, []int)

func (*AuditLogList) GetItems

func (m *AuditLogList) GetItems() []*AuditLog

func (*AuditLogList) Marshal

func (m *AuditLogList) Marshal() (dAtA []byte, err error)

func (*AuditLogList) MarshalTo

func (m *AuditLogList) MarshalTo(dAtA []byte) (int, error)

func (*AuditLogList) MarshalToSizedBuffer

func (m *AuditLogList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AuditLogList) ProtoMessage

func (*AuditLogList) ProtoMessage()

func (*AuditLogList) Reset

func (m *AuditLogList) Reset()

func (*AuditLogList) Size

func (m *AuditLogList) Size() (n int)

func (*AuditLogList) String

func (m *AuditLogList) String() string

func (*AuditLogList) Unmarshal

func (m *AuditLogList) Unmarshal(dAtA []byte) error

func (*AuditLogList) XXX_DiscardUnknown

func (m *AuditLogList) XXX_DiscardUnknown()

func (*AuditLogList) XXX_Marshal

func (m *AuditLogList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AuditLogList) XXX_Merge

func (m *AuditLogList) XXX_Merge(src proto.Message)

func (*AuditLogList) XXX_Size

func (m *AuditLogList) XXX_Size() int

func (*AuditLogList) XXX_Unmarshal

func (m *AuditLogList) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Information about a possible topic of an audit log event.

func (*AuditLogTopic) Descriptor added in v0.62.0

func (*AuditLogTopic) Descriptor() ([]byte, []int)

func (*AuditLogTopic) GetExcludeByDefault added in v0.73.11

func (m *AuditLogTopic) GetExcludeByDefault() bool

func (*AuditLogTopic) GetForDeployment added in v0.62.0

func (m *AuditLogTopic) GetForDeployment() bool

func (*AuditLogTopic) GetForPlatform added in v0.62.0

func (m *AuditLogTopic) GetForPlatform() bool

func (*AuditLogTopic) GetTopic added in v0.62.0

func (m *AuditLogTopic) GetTopic() string

func (*AuditLogTopic) Marshal added in v0.62.0

func (m *AuditLogTopic) Marshal() (dAtA []byte, err error)

func (*AuditLogTopic) MarshalTo added in v0.62.0

func (m *AuditLogTopic) MarshalTo(dAtA []byte) (int, error)

func (*AuditLogTopic) MarshalToSizedBuffer added in v0.62.0

func (m *AuditLogTopic) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AuditLogTopic) ProtoMessage added in v0.62.0

func (*AuditLogTopic) ProtoMessage()

func (*AuditLogTopic) Reset added in v0.62.0

func (m *AuditLogTopic) Reset()

func (*AuditLogTopic) Size added in v0.62.0

func (m *AuditLogTopic) Size() (n int)

func (*AuditLogTopic) String added in v0.62.0

func (m *AuditLogTopic) String() string

func (*AuditLogTopic) Unmarshal added in v0.62.0

func (m *AuditLogTopic) Unmarshal(dAtA []byte) error

func (*AuditLogTopic) XXX_DiscardUnknown added in v0.62.0

func (m *AuditLogTopic) XXX_DiscardUnknown()

func (*AuditLogTopic) XXX_Marshal added in v0.62.0

func (m *AuditLogTopic) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AuditLogTopic) XXX_Merge added in v0.62.0

func (m *AuditLogTopic) XXX_Merge(src proto.Message)

func (*AuditLogTopic) XXX_Size added in v0.62.0

func (m *AuditLogTopic) XXX_Size() int

func (*AuditLogTopic) XXX_Unmarshal added in v0.62.0

func (m *AuditLogTopic) XXX_Unmarshal(b []byte) error

type AuditLogTopicList added in v0.62.0

type AuditLogTopicList struct {
	Items                []*AuditLogTopic `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

List of AuditLogTopic's

func (*AuditLogTopicList) Descriptor added in v0.62.0

func (*AuditLogTopicList) Descriptor() ([]byte, []int)

func (*AuditLogTopicList) GetItems added in v0.62.0

func (m *AuditLogTopicList) GetItems() []*AuditLogTopic

func (*AuditLogTopicList) Marshal added in v0.62.0

func (m *AuditLogTopicList) Marshal() (dAtA []byte, err error)

func (*AuditLogTopicList) MarshalTo added in v0.62.0

func (m *AuditLogTopicList) MarshalTo(dAtA []byte) (int, error)

func (*AuditLogTopicList) MarshalToSizedBuffer added in v0.62.0

func (m *AuditLogTopicList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AuditLogTopicList) ProtoMessage added in v0.62.0

func (*AuditLogTopicList) ProtoMessage()

func (*AuditLogTopicList) Reset added in v0.62.0

func (m *AuditLogTopicList) Reset()

func (*AuditLogTopicList) Size added in v0.62.0

func (m *AuditLogTopicList) Size() (n int)

func (*AuditLogTopicList) String added in v0.62.0

func (m *AuditLogTopicList) String() string

func (*AuditLogTopicList) Unmarshal added in v0.62.0

func (m *AuditLogTopicList) Unmarshal(dAtA []byte) error

func (*AuditLogTopicList) XXX_DiscardUnknown added in v0.62.0

func (m *AuditLogTopicList) XXX_DiscardUnknown()

func (*AuditLogTopicList) XXX_Marshal added in v0.62.0

func (m *AuditLogTopicList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AuditLogTopicList) XXX_Merge added in v0.62.0

func (m *AuditLogTopicList) XXX_Merge(src proto.Message)

func (*AuditLogTopicList) XXX_Size added in v0.62.0

func (m *AuditLogTopicList) XXX_Size() int

func (*AuditLogTopicList) XXX_Unmarshal added in v0.62.0

func (m *AuditLogTopicList) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Specification of a destination for audit events.

func (*AuditLog_Destination) Descriptor

func (*AuditLog_Destination) Descriptor() ([]byte, []int)

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 (m *AuditLog_Destination) GetExcludedTopics() []string

func (*AuditLog_Destination) GetHttpPost

func (*AuditLog_Destination) GetId added in v0.63.6

func (m *AuditLog_Destination) GetId() string

func (*AuditLog_Destination) GetStatuses added in v0.55.0

func (*AuditLog_Destination) GetType

func (m *AuditLog_Destination) GetType() string

func (*AuditLog_Destination) Marshal

func (m *AuditLog_Destination) Marshal() (dAtA []byte, err error)

func (*AuditLog_Destination) MarshalTo

func (m *AuditLog_Destination) MarshalTo(dAtA []byte) (int, error)

func (*AuditLog_Destination) MarshalToSizedBuffer

func (m *AuditLog_Destination) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AuditLog_Destination) ProtoMessage

func (*AuditLog_Destination) ProtoMessage()

func (*AuditLog_Destination) Reset

func (m *AuditLog_Destination) Reset()

func (*AuditLog_Destination) Size

func (m *AuditLog_Destination) Size() (n int)

func (*AuditLog_Destination) String

func (m *AuditLog_Destination) String() string

func (*AuditLog_Destination) Unmarshal

func (m *AuditLog_Destination) Unmarshal(dAtA []byte) error

func (*AuditLog_Destination) XXX_DiscardUnknown

func (m *AuditLog_Destination) XXX_DiscardUnknown()

func (*AuditLog_Destination) XXX_Marshal

func (m *AuditLog_Destination) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AuditLog_Destination) XXX_Merge

func (m *AuditLog_Destination) XXX_Merge(src proto.Message)

func (*AuditLog_Destination) XXX_Size

func (m *AuditLog_Destination) XXX_Size() int

func (*AuditLog_Destination) XXX_Unmarshal

func (m *AuditLog_Destination) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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 added in v0.57.0

func (*AuditLog_DestinationCounters) Descriptor() ([]byte, []int)

func (*AuditLog_DestinationCounters) Equals added in v0.57.0

Equals returns true when source & other have the same values.

func (*AuditLog_DestinationCounters) GetBytesFailed added in v0.57.0

func (m *AuditLog_DestinationCounters) GetBytesFailed() int64

func (*AuditLog_DestinationCounters) GetBytesSucceeded added in v0.57.0

func (m *AuditLog_DestinationCounters) GetBytesSucceeded() int64

func (*AuditLog_DestinationCounters) GetEvents added in v0.57.0

func (m *AuditLog_DestinationCounters) GetEvents() int64

func (*AuditLog_DestinationCounters) GetEventsExcluded added in v0.57.0

func (m *AuditLog_DestinationCounters) GetEventsExcluded() int64

func (*AuditLog_DestinationCounters) GetEventsUndeliverable added in v0.57.0

func (m *AuditLog_DestinationCounters) GetEventsUndeliverable() int64

func (*AuditLog_DestinationCounters) GetHttpsPostsFailed added in v0.57.0

func (m *AuditLog_DestinationCounters) GetHttpsPostsFailed() int64

func (*AuditLog_DestinationCounters) GetHttpsPostsSucceeded added in v0.57.0

func (m *AuditLog_DestinationCounters) GetHttpsPostsSucceeded() int64

func (*AuditLog_DestinationCounters) Marshal added in v0.57.0

func (m *AuditLog_DestinationCounters) Marshal() (dAtA []byte, err error)

func (*AuditLog_DestinationCounters) MarshalTo added in v0.57.0

func (m *AuditLog_DestinationCounters) MarshalTo(dAtA []byte) (int, error)

func (*AuditLog_DestinationCounters) MarshalToSizedBuffer added in v0.57.0

func (m *AuditLog_DestinationCounters) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AuditLog_DestinationCounters) ProtoMessage added in v0.57.0

func (*AuditLog_DestinationCounters) ProtoMessage()

func (*AuditLog_DestinationCounters) Reset added in v0.57.0

func (m *AuditLog_DestinationCounters) Reset()

func (*AuditLog_DestinationCounters) Size added in v0.57.0

func (m *AuditLog_DestinationCounters) Size() (n int)

func (*AuditLog_DestinationCounters) String added in v0.57.0

func (*AuditLog_DestinationCounters) Unmarshal added in v0.57.0

func (m *AuditLog_DestinationCounters) Unmarshal(dAtA []byte) error

func (*AuditLog_DestinationCounters) XXX_DiscardUnknown added in v0.57.0

func (m *AuditLog_DestinationCounters) XXX_DiscardUnknown()

func (*AuditLog_DestinationCounters) XXX_Marshal added in v0.57.0

func (m *AuditLog_DestinationCounters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AuditLog_DestinationCounters) XXX_Merge added in v0.57.0

func (m *AuditLog_DestinationCounters) XXX_Merge(src proto.Message)

func (*AuditLog_DestinationCounters) XXX_Size added in v0.57.0

func (m *AuditLog_DestinationCounters) XXX_Size() int

func (*AuditLog_DestinationCounters) XXX_Unmarshal added in v0.57.0

func (m *AuditLog_DestinationCounters) XXX_Unmarshal(b []byte) error

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 *types.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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The status of a destination for audit events (for a deployment). All fields in this message are read-only values.

func (*AuditLog_DestinationStatus) Descriptor added in v0.55.0

func (*AuditLog_DestinationStatus) Descriptor() ([]byte, []int)

func (*AuditLog_DestinationStatus) Equals added in v0.55.0

Equals returns true when source & other have the same values.

func (*AuditLog_DestinationStatus) GetCountersSinceMidnight added in v0.57.0

func (m *AuditLog_DestinationStatus) GetCountersSinceMidnight() *AuditLog_DestinationCounters

func (*AuditLog_DestinationStatus) GetCountersYesterday added in v0.57.0

func (m *AuditLog_DestinationStatus) GetCountersYesterday() *AuditLog_DestinationCounters

func (*AuditLog_DestinationStatus) GetDeploymentId added in v0.55.0

func (m *AuditLog_DestinationStatus) GetDeploymentId() string

func (*AuditLog_DestinationStatus) GetDeploymentName added in v0.63.5

func (m *AuditLog_DestinationStatus) GetDeploymentName() string

func (*AuditLog_DestinationStatus) GetErrorDetails added in v0.55.0

func (m *AuditLog_DestinationStatus) GetErrorDetails() string

func (*AuditLog_DestinationStatus) GetHasErrors added in v0.55.0

func (m *AuditLog_DestinationStatus) GetHasErrors() bool

func (*AuditLog_DestinationStatus) GetUpdatedAt added in v0.55.0

func (m *AuditLog_DestinationStatus) GetUpdatedAt() *types.Timestamp

func (*AuditLog_DestinationStatus) Marshal added in v0.55.0

func (m *AuditLog_DestinationStatus) Marshal() (dAtA []byte, err error)

func (*AuditLog_DestinationStatus) MarshalTo added in v0.55.0

func (m *AuditLog_DestinationStatus) MarshalTo(dAtA []byte) (int, error)

func (*AuditLog_DestinationStatus) MarshalToSizedBuffer added in v0.55.0

func (m *AuditLog_DestinationStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AuditLog_DestinationStatus) ProtoMessage added in v0.55.0

func (*AuditLog_DestinationStatus) ProtoMessage()

func (*AuditLog_DestinationStatus) Reset added in v0.55.0

func (m *AuditLog_DestinationStatus) Reset()

func (*AuditLog_DestinationStatus) Size added in v0.55.0

func (m *AuditLog_DestinationStatus) Size() (n int)

func (*AuditLog_DestinationStatus) String added in v0.55.0

func (m *AuditLog_DestinationStatus) String() string

func (*AuditLog_DestinationStatus) Unmarshal added in v0.55.0

func (m *AuditLog_DestinationStatus) Unmarshal(dAtA []byte) error

func (*AuditLog_DestinationStatus) XXX_DiscardUnknown added in v0.55.0

func (m *AuditLog_DestinationStatus) XXX_DiscardUnknown()

func (*AuditLog_DestinationStatus) XXX_Marshal added in v0.55.0

func (m *AuditLog_DestinationStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AuditLog_DestinationStatus) XXX_Merge added in v0.55.0

func (m *AuditLog_DestinationStatus) XXX_Merge(src proto.Message)

func (*AuditLog_DestinationStatus) XXX_Size added in v0.55.0

func (m *AuditLog_DestinationStatus) XXX_Size() int

func (*AuditLog_DestinationStatus) XXX_Unmarshal added in v0.55.0

func (m *AuditLog_DestinationStatus) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

HTTP header pair

func (*AuditLog_Header) Descriptor

func (*AuditLog_Header) Descriptor() ([]byte, []int)

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 (m *AuditLog_Header) GetKey() string

func (*AuditLog_Header) GetValue

func (m *AuditLog_Header) GetValue() string

func (*AuditLog_Header) Marshal

func (m *AuditLog_Header) Marshal() (dAtA []byte, err error)

func (*AuditLog_Header) MarshalTo

func (m *AuditLog_Header) MarshalTo(dAtA []byte) (int, error)

func (*AuditLog_Header) MarshalToSizedBuffer

func (m *AuditLog_Header) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AuditLog_Header) ProtoMessage

func (*AuditLog_Header) ProtoMessage()

func (*AuditLog_Header) Reset

func (m *AuditLog_Header) Reset()

func (*AuditLog_Header) Size

func (m *AuditLog_Header) Size() (n int)

func (*AuditLog_Header) String

func (m *AuditLog_Header) String() string

func (*AuditLog_Header) Unmarshal

func (m *AuditLog_Header) Unmarshal(dAtA []byte) error

func (*AuditLog_Header) XXX_DiscardUnknown

func (m *AuditLog_Header) XXX_DiscardUnknown()

func (*AuditLog_Header) XXX_Marshal

func (m *AuditLog_Header) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AuditLog_Header) XXX_Merge

func (m *AuditLog_Header) XXX_Merge(src proto.Message)

func (*AuditLog_Header) XXX_Size

func (m *AuditLog_Header) XXX_Size() int

func (*AuditLog_Header) XXX_Unmarshal

func (m *AuditLog_Header) XXX_Unmarshal(b []byte) error

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          *types.Duration `protobuf:"bytes,200,opt,name=retry_period,json=retryPeriod,proto3" json:"retry_period,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

Settings for a destination of type "https-post"

func (*AuditLog_HttpsPostSettings) Descriptor

func (*AuditLog_HttpsPostSettings) Descriptor() ([]byte, []int)

func (*AuditLog_HttpsPostSettings) Equals added in v0.50.8

Equals returns true when source & other have the same values.

func (*AuditLog_HttpsPostSettings) GetClientCertificatePem

func (m *AuditLog_HttpsPostSettings) GetClientCertificatePem() string

func (*AuditLog_HttpsPostSettings) GetClientKeyPem

func (m *AuditLog_HttpsPostSettings) GetClientKeyPem() string

func (*AuditLog_HttpsPostSettings) GetHeaders

func (m *AuditLog_HttpsPostSettings) GetHeaders() []*AuditLog_Header

func (*AuditLog_HttpsPostSettings) GetRetryPeriod added in v0.51.1

func (m *AuditLog_HttpsPostSettings) GetRetryPeriod() *types.Duration

func (*AuditLog_HttpsPostSettings) GetTrustedServerCaPem

func (m *AuditLog_HttpsPostSettings) GetTrustedServerCaPem() string

func (*AuditLog_HttpsPostSettings) GetUrl

func (m *AuditLog_HttpsPostSettings) GetUrl() string

func (*AuditLog_HttpsPostSettings) Marshal

func (m *AuditLog_HttpsPostSettings) Marshal() (dAtA []byte, err error)

func (*AuditLog_HttpsPostSettings) MarshalTo

func (m *AuditLog_HttpsPostSettings) MarshalTo(dAtA []byte) (int, error)

func (*AuditLog_HttpsPostSettings) MarshalToSizedBuffer

func (m *AuditLog_HttpsPostSettings) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AuditLog_HttpsPostSettings) ProtoMessage

func (*AuditLog_HttpsPostSettings) ProtoMessage()

func (*AuditLog_HttpsPostSettings) Reset

func (m *AuditLog_HttpsPostSettings) Reset()

func (*AuditLog_HttpsPostSettings) Size

func (m *AuditLog_HttpsPostSettings) Size() (n int)

func (*AuditLog_HttpsPostSettings) String

func (m *AuditLog_HttpsPostSettings) String() string

func (*AuditLog_HttpsPostSettings) Unmarshal

func (m *AuditLog_HttpsPostSettings) Unmarshal(dAtA []byte) error

func (*AuditLog_HttpsPostSettings) XXX_DiscardUnknown

func (m *AuditLog_HttpsPostSettings) XXX_DiscardUnknown()

func (*AuditLog_HttpsPostSettings) XXX_Marshal

func (m *AuditLog_HttpsPostSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AuditLog_HttpsPostSettings) XXX_Merge

func (m *AuditLog_HttpsPostSettings) XXX_Merge(src proto.Message)

func (*AuditLog_HttpsPostSettings) XXX_Size

func (m *AuditLog_HttpsPostSettings) XXX_Size() int

func (*AuditLog_HttpsPostSettings) XXX_Unmarshal

func (m *AuditLog_HttpsPostSettings) XXX_Unmarshal(b []byte) error

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.ClientConn) 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                   *types.Timestamp `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

Request arguments for DeleteAuditLogArchiveEvents.

func (*DeleteAuditLogArchiveEventsRequest) Descriptor

func (*DeleteAuditLogArchiveEventsRequest) Descriptor() ([]byte, []int)

func (*DeleteAuditLogArchiveEventsRequest) GetAuditlogarchiveId

func (m *DeleteAuditLogArchiveEventsRequest) GetAuditlogarchiveId() string

func (*DeleteAuditLogArchiveEventsRequest) GetTo

func (*DeleteAuditLogArchiveEventsRequest) Marshal

func (m *DeleteAuditLogArchiveEventsRequest) Marshal() (dAtA []byte, err error)

func (*DeleteAuditLogArchiveEventsRequest) MarshalTo

func (m *DeleteAuditLogArchiveEventsRequest) MarshalTo(dAtA []byte) (int, error)

func (*DeleteAuditLogArchiveEventsRequest) MarshalToSizedBuffer

func (m *DeleteAuditLogArchiveEventsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DeleteAuditLogArchiveEventsRequest) ProtoMessage

func (*DeleteAuditLogArchiveEventsRequest) ProtoMessage()

func (*DeleteAuditLogArchiveEventsRequest) Reset

func (*DeleteAuditLogArchiveEventsRequest) Size

func (*DeleteAuditLogArchiveEventsRequest) String

func (*DeleteAuditLogArchiveEventsRequest) Unmarshal

func (m *DeleteAuditLogArchiveEventsRequest) Unmarshal(dAtA []byte) error

func (*DeleteAuditLogArchiveEventsRequest) XXX_DiscardUnknown

func (m *DeleteAuditLogArchiveEventsRequest) XXX_DiscardUnknown()

func (*DeleteAuditLogArchiveEventsRequest) XXX_Marshal

func (m *DeleteAuditLogArchiveEventsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteAuditLogArchiveEventsRequest) XXX_Merge

func (*DeleteAuditLogArchiveEventsRequest) XXX_Size

func (*DeleteAuditLogArchiveEventsRequest) XXX_Unmarshal

func (m *DeleteAuditLogArchiveEventsRequest) XXX_Unmarshal(b []byte) error

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 *types.Timestamp `protobuf:"bytes,3,opt,name=from,proto3" json:"from,omitempty"`
	// Request events created before this timestamp.
	// This is an optional field.
	To *types.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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request arguments for GetAuditLogEvents.

func (*GetAuditLogEventsRequest) Descriptor added in v0.50.2

func (*GetAuditLogEventsRequest) Descriptor() ([]byte, []int)

func (*GetAuditLogEventsRequest) GetAuditlogId added in v0.50.2

func (m *GetAuditLogEventsRequest) GetAuditlogId() string

func (*GetAuditLogEventsRequest) GetAuditlogarchiveId added in v0.50.2

func (m *GetAuditLogEventsRequest) GetAuditlogarchiveId() string

func (*GetAuditLogEventsRequest) GetCursor added in v0.63.2

func (m *GetAuditLogEventsRequest) GetCursor() string

func (*GetAuditLogEventsRequest) GetExcludedTopics added in v0.50.2

func (m *GetAuditLogEventsRequest) GetExcludedTopics() []string

func (*GetAuditLogEventsRequest) GetFrom added in v0.50.2

func (*GetAuditLogEventsRequest) GetIncludedTopics added in v0.50.2

func (m *GetAuditLogEventsRequest) GetIncludedTopics() []string

func (*GetAuditLogEventsRequest) GetLimit added in v0.50.2

func (m *GetAuditLogEventsRequest) GetLimit() int32

func (*GetAuditLogEventsRequest) GetTo added in v0.50.2

func (*GetAuditLogEventsRequest) Marshal added in v0.50.2

func (m *GetAuditLogEventsRequest) Marshal() (dAtA []byte, err error)

func (*GetAuditLogEventsRequest) MarshalTo added in v0.50.2

func (m *GetAuditLogEventsRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetAuditLogEventsRequest) MarshalToSizedBuffer added in v0.50.2

func (m *GetAuditLogEventsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetAuditLogEventsRequest) ProtoMessage added in v0.50.2

func (*GetAuditLogEventsRequest) ProtoMessage()

func (*GetAuditLogEventsRequest) Reset added in v0.50.2

func (m *GetAuditLogEventsRequest) Reset()

func (*GetAuditLogEventsRequest) Size added in v0.50.2

func (m *GetAuditLogEventsRequest) Size() (n int)

func (*GetAuditLogEventsRequest) String added in v0.50.2

func (m *GetAuditLogEventsRequest) String() string

func (*GetAuditLogEventsRequest) Unmarshal added in v0.50.2

func (m *GetAuditLogEventsRequest) Unmarshal(dAtA []byte) error

func (*GetAuditLogEventsRequest) XXX_DiscardUnknown added in v0.50.2

func (m *GetAuditLogEventsRequest) XXX_DiscardUnknown()

func (*GetAuditLogEventsRequest) XXX_Marshal added in v0.50.2

func (m *GetAuditLogEventsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetAuditLogEventsRequest) XXX_Merge added in v0.50.2

func (m *GetAuditLogEventsRequest) XXX_Merge(src proto.Message)

func (*GetAuditLogEventsRequest) XXX_Size added in v0.50.2

func (m *GetAuditLogEventsRequest) XXX_Size() int

func (*GetAuditLogEventsRequest) XXX_Unmarshal added in v0.50.2

func (m *GetAuditLogEventsRequest) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

Request arguments for ListAuditLogArchives

func (*ListAuditLogArchivesRequest) Descriptor

func (*ListAuditLogArchivesRequest) Descriptor() ([]byte, []int)

func (*ListAuditLogArchivesRequest) GetAuditlogId

func (m *ListAuditLogArchivesRequest) GetAuditlogId() string

func (*ListAuditLogArchivesRequest) GetDeploymentId added in v0.63.4

func (m *ListAuditLogArchivesRequest) GetDeploymentId() string

func (*ListAuditLogArchivesRequest) GetIncludeDeleted

func (m *ListAuditLogArchivesRequest) GetIncludeDeleted() bool

func (*ListAuditLogArchivesRequest) GetOptions

func (m *ListAuditLogArchivesRequest) GetOptions() *v1.ListOptions

func (*ListAuditLogArchivesRequest) GetProjectId added in v0.63.4

func (m *ListAuditLogArchivesRequest) GetProjectId() string

func (*ListAuditLogArchivesRequest) GetWithoutDeployments added in v0.63.4

func (m *ListAuditLogArchivesRequest) GetWithoutDeployments() bool

func (*ListAuditLogArchivesRequest) Marshal

func (m *ListAuditLogArchivesRequest) Marshal() (dAtA []byte, err error)

func (*ListAuditLogArchivesRequest) MarshalTo

func (m *ListAuditLogArchivesRequest) MarshalTo(dAtA []byte) (int, error)

func (*ListAuditLogArchivesRequest) MarshalToSizedBuffer

func (m *ListAuditLogArchivesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListAuditLogArchivesRequest) ProtoMessage

func (*ListAuditLogArchivesRequest) ProtoMessage()

func (*ListAuditLogArchivesRequest) Reset

func (m *ListAuditLogArchivesRequest) Reset()

func (*ListAuditLogArchivesRequest) Size

func (m *ListAuditLogArchivesRequest) Size() (n int)

func (*ListAuditLogArchivesRequest) String

func (m *ListAuditLogArchivesRequest) String() string

func (*ListAuditLogArchivesRequest) Unmarshal

func (m *ListAuditLogArchivesRequest) Unmarshal(dAtA []byte) error

func (*ListAuditLogArchivesRequest) XXX_DiscardUnknown

func (m *ListAuditLogArchivesRequest) XXX_DiscardUnknown()

func (*ListAuditLogArchivesRequest) XXX_Marshal

func (m *ListAuditLogArchivesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListAuditLogArchivesRequest) XXX_Merge

func (m *ListAuditLogArchivesRequest) XXX_Merge(src proto.Message)

func (*ListAuditLogArchivesRequest) XXX_Size

func (m *ListAuditLogArchivesRequest) XXX_Size() int

func (*ListAuditLogArchivesRequest) XXX_Unmarshal

func (m *ListAuditLogArchivesRequest) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request arguments for ListAuditLogTopics.

func (*ListAuditLogTopicsRequest) Descriptor added in v0.62.0

func (*ListAuditLogTopicsRequest) Descriptor() ([]byte, []int)

func (*ListAuditLogTopicsRequest) GetForDeploymentOnly added in v0.62.0

func (m *ListAuditLogTopicsRequest) GetForDeploymentOnly() bool

func (*ListAuditLogTopicsRequest) GetForPlatformOnly added in v0.62.0

func (m *ListAuditLogTopicsRequest) GetForPlatformOnly() bool

func (*ListAuditLogTopicsRequest) GetOptions added in v0.62.0

func (m *ListAuditLogTopicsRequest) GetOptions() *v1.ListOptions

func (*ListAuditLogTopicsRequest) Marshal added in v0.62.0

func (m *ListAuditLogTopicsRequest) Marshal() (dAtA []byte, err error)

func (*ListAuditLogTopicsRequest) MarshalTo added in v0.62.0

func (m *ListAuditLogTopicsRequest) MarshalTo(dAtA []byte) (int, error)

func (*ListAuditLogTopicsRequest) MarshalToSizedBuffer added in v0.62.0

func (m *ListAuditLogTopicsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListAuditLogTopicsRequest) ProtoMessage added in v0.62.0

func (*ListAuditLogTopicsRequest) ProtoMessage()

func (*ListAuditLogTopicsRequest) Reset added in v0.62.0

func (m *ListAuditLogTopicsRequest) Reset()

func (*ListAuditLogTopicsRequest) Size added in v0.62.0

func (m *ListAuditLogTopicsRequest) Size() (n int)

func (*ListAuditLogTopicsRequest) String added in v0.62.0

func (m *ListAuditLogTopicsRequest) String() string

func (*ListAuditLogTopicsRequest) Unmarshal added in v0.62.0

func (m *ListAuditLogTopicsRequest) Unmarshal(dAtA []byte) error

func (*ListAuditLogTopicsRequest) XXX_DiscardUnknown added in v0.62.0

func (m *ListAuditLogTopicsRequest) XXX_DiscardUnknown()

func (*ListAuditLogTopicsRequest) XXX_Marshal added in v0.62.0

func (m *ListAuditLogTopicsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListAuditLogTopicsRequest) XXX_Merge added in v0.62.0

func (m *ListAuditLogTopicsRequest) XXX_Merge(src proto.Message)

func (*ListAuditLogTopicsRequest) XXX_Size added in v0.62.0

func (m *ListAuditLogTopicsRequest) XXX_Size() int

func (*ListAuditLogTopicsRequest) XXX_Unmarshal added in v0.62.0

func (m *ListAuditLogTopicsRequest) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

Request arguments for ListAuditLogs

func (*ListAuditLogsRequest) Descriptor

func (*ListAuditLogsRequest) Descriptor() ([]byte, []int)

func (*ListAuditLogsRequest) GetIncludeDeleted

func (m *ListAuditLogsRequest) GetIncludeDeleted() bool

func (*ListAuditLogsRequest) GetOptions

func (m *ListAuditLogsRequest) GetOptions() *v1.ListOptions

func (*ListAuditLogsRequest) GetOrganizationId

func (m *ListAuditLogsRequest) GetOrganizationId() string

func (*ListAuditLogsRequest) Marshal

func (m *ListAuditLogsRequest) Marshal() (dAtA []byte, err error)

func (*ListAuditLogsRequest) MarshalTo

func (m *ListAuditLogsRequest) MarshalTo(dAtA []byte) (int, error)

func (*ListAuditLogsRequest) MarshalToSizedBuffer

func (m *ListAuditLogsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListAuditLogsRequest) ProtoMessage

func (*ListAuditLogsRequest) ProtoMessage()

func (*ListAuditLogsRequest) Reset

func (m *ListAuditLogsRequest) Reset()

func (*ListAuditLogsRequest) Size

func (m *ListAuditLogsRequest) Size() (n int)

func (*ListAuditLogsRequest) String

func (m *ListAuditLogsRequest) String() string

func (*ListAuditLogsRequest) Unmarshal

func (m *ListAuditLogsRequest) Unmarshal(dAtA []byte) error

func (*ListAuditLogsRequest) XXX_DiscardUnknown

func (m *ListAuditLogsRequest) XXX_DiscardUnknown()

func (*ListAuditLogsRequest) XXX_Marshal

func (m *ListAuditLogsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListAuditLogsRequest) XXX_Merge

func (m *ListAuditLogsRequest) XXX_Merge(src proto.Message)

func (*ListAuditLogsRequest) XXX_Size

func (m *ListAuditLogsRequest) XXX_Size() int

func (*ListAuditLogsRequest) XXX_Unmarshal

func (m *ListAuditLogsRequest) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request arguments for SetDefaultAuditLog.

func (*SetDefaultAuditLogRequest) Descriptor added in v0.63.0

func (*SetDefaultAuditLogRequest) Descriptor() ([]byte, []int)

func (*SetDefaultAuditLogRequest) GetAuditlogId added in v0.63.0

func (m *SetDefaultAuditLogRequest) GetAuditlogId() string

func (*SetDefaultAuditLogRequest) GetOrganizationId added in v0.63.0

func (m *SetDefaultAuditLogRequest) GetOrganizationId() string

func (*SetDefaultAuditLogRequest) Marshal added in v0.63.0

func (m *SetDefaultAuditLogRequest) Marshal() (dAtA []byte, err error)

func (*SetDefaultAuditLogRequest) MarshalTo added in v0.63.0

func (m *SetDefaultAuditLogRequest) MarshalTo(dAtA []byte) (int, error)

func (*SetDefaultAuditLogRequest) MarshalToSizedBuffer added in v0.63.0

func (m *SetDefaultAuditLogRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SetDefaultAuditLogRequest) ProtoMessage added in v0.63.0

func (*SetDefaultAuditLogRequest) ProtoMessage()

func (*SetDefaultAuditLogRequest) Reset added in v0.63.0

func (m *SetDefaultAuditLogRequest) Reset()

func (*SetDefaultAuditLogRequest) Size added in v0.63.0

func (m *SetDefaultAuditLogRequest) Size() (n int)

func (*SetDefaultAuditLogRequest) String added in v0.63.0

func (m *SetDefaultAuditLogRequest) String() string

func (*SetDefaultAuditLogRequest) Unmarshal added in v0.63.0

func (m *SetDefaultAuditLogRequest) Unmarshal(dAtA []byte) error

func (*SetDefaultAuditLogRequest) XXX_DiscardUnknown added in v0.63.0

func (m *SetDefaultAuditLogRequest) XXX_DiscardUnknown()

func (*SetDefaultAuditLogRequest) XXX_Marshal added in v0.63.0

func (m *SetDefaultAuditLogRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SetDefaultAuditLogRequest) XXX_Merge added in v0.63.0

func (m *SetDefaultAuditLogRequest) XXX_Merge(src proto.Message)

func (*SetDefaultAuditLogRequest) XXX_Size added in v0.63.0

func (m *SetDefaultAuditLogRequest) XXX_Size() int

func (*SetDefaultAuditLogRequest) XXX_Unmarshal added in v0.63.0

func (m *SetDefaultAuditLogRequest) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request arguments for TestAuditLogHttpsPostDestination.

func (*TestAuditLogHttpsPostDestinationRequest) Descriptor added in v0.61.2

func (*TestAuditLogHttpsPostDestinationRequest) Descriptor() ([]byte, []int)

func (*TestAuditLogHttpsPostDestinationRequest) GetAuditlogId added in v0.63.11

func (*TestAuditLogHttpsPostDestinationRequest) GetDestinationId added in v0.63.11

func (m *TestAuditLogHttpsPostDestinationRequest) GetDestinationId() string

func (*TestAuditLogHttpsPostDestinationRequest) GetOrganizationId added in v0.61.2

func (m *TestAuditLogHttpsPostDestinationRequest) GetOrganizationId() string

func (*TestAuditLogHttpsPostDestinationRequest) GetSettings added in v0.61.2

func (*TestAuditLogHttpsPostDestinationRequest) Marshal added in v0.61.2

func (m *TestAuditLogHttpsPostDestinationRequest) Marshal() (dAtA []byte, err error)

func (*TestAuditLogHttpsPostDestinationRequest) MarshalTo added in v0.61.2

func (m *TestAuditLogHttpsPostDestinationRequest) MarshalTo(dAtA []byte) (int, error)

func (*TestAuditLogHttpsPostDestinationRequest) MarshalToSizedBuffer added in v0.61.2

func (m *TestAuditLogHttpsPostDestinationRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TestAuditLogHttpsPostDestinationRequest) ProtoMessage added in v0.61.2

func (*TestAuditLogHttpsPostDestinationRequest) Reset added in v0.61.2

func (*TestAuditLogHttpsPostDestinationRequest) Size added in v0.61.2

func (*TestAuditLogHttpsPostDestinationRequest) String added in v0.61.2

func (*TestAuditLogHttpsPostDestinationRequest) Unmarshal added in v0.61.2

func (m *TestAuditLogHttpsPostDestinationRequest) Unmarshal(dAtA []byte) error

func (*TestAuditLogHttpsPostDestinationRequest) XXX_DiscardUnknown added in v0.61.2

func (m *TestAuditLogHttpsPostDestinationRequest) XXX_DiscardUnknown()

func (*TestAuditLogHttpsPostDestinationRequest) XXX_Marshal added in v0.61.2

func (m *TestAuditLogHttpsPostDestinationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TestAuditLogHttpsPostDestinationRequest) XXX_Merge added in v0.61.2

func (*TestAuditLogHttpsPostDestinationRequest) XXX_Size added in v0.61.2

func (*TestAuditLogHttpsPostDestinationRequest) XXX_Unmarshal added in v0.61.2

func (m *TestAuditLogHttpsPostDestinationRequest) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Result arguments for TestAuditLogHttpsPostDestination.

func (*TestAuditLogHttpsPostDestinationResult) Descriptor added in v0.61.2

func (*TestAuditLogHttpsPostDestinationResult) Descriptor() ([]byte, []int)

func (*TestAuditLogHttpsPostDestinationResult) GetErrorDetails added in v0.61.2

func (m *TestAuditLogHttpsPostDestinationResult) GetErrorDetails() string

func (*TestAuditLogHttpsPostDestinationResult) GetHasErrors added in v0.61.2

func (m *TestAuditLogHttpsPostDestinationResult) GetHasErrors() bool

func (*TestAuditLogHttpsPostDestinationResult) Marshal added in v0.61.2

func (m *TestAuditLogHttpsPostDestinationResult) Marshal() (dAtA []byte, err error)

func (*TestAuditLogHttpsPostDestinationResult) MarshalTo added in v0.61.2

func (m *TestAuditLogHttpsPostDestinationResult) MarshalTo(dAtA []byte) (int, error)

func (*TestAuditLogHttpsPostDestinationResult) MarshalToSizedBuffer added in v0.61.2

func (m *TestAuditLogHttpsPostDestinationResult) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TestAuditLogHttpsPostDestinationResult) ProtoMessage added in v0.61.2

func (*TestAuditLogHttpsPostDestinationResult) Reset added in v0.61.2

func (*TestAuditLogHttpsPostDestinationResult) Size added in v0.61.2

func (*TestAuditLogHttpsPostDestinationResult) String added in v0.61.2

func (*TestAuditLogHttpsPostDestinationResult) Unmarshal added in v0.61.2

func (m *TestAuditLogHttpsPostDestinationResult) Unmarshal(dAtA []byte) error

func (*TestAuditLogHttpsPostDestinationResult) XXX_DiscardUnknown added in v0.61.2

func (m *TestAuditLogHttpsPostDestinationResult) XXX_DiscardUnknown()

func (*TestAuditLogHttpsPostDestinationResult) XXX_Marshal added in v0.61.2

func (m *TestAuditLogHttpsPostDestinationResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TestAuditLogHttpsPostDestinationResult) XXX_Merge added in v0.61.2

func (*TestAuditLogHttpsPostDestinationResult) XXX_Size added in v0.61.2

func (*TestAuditLogHttpsPostDestinationResult) XXX_Unmarshal added in v0.61.2

func (m *TestAuditLogHttpsPostDestinationResult) XXX_Unmarshal(b []byte) error

type UnimplementedAuditServiceServer

type UnimplementedAuditServiceServer struct {
}

UnimplementedAuditServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedAuditServiceServer) AttachProjectToAuditLog

func (*UnimplementedAuditServiceServer) CreateAuditLog

func (*UnimplementedAuditServiceServer) CreateAuditLog(ctx context.Context, req *AuditLog) (*AuditLog, error)

func (*UnimplementedAuditServiceServer) DeleteAuditLog

func (*UnimplementedAuditServiceServer) DeleteAuditLog(ctx context.Context, req *v1.IDOptions) (*v1.Empty, error)

func (*UnimplementedAuditServiceServer) DeleteAuditLogArchive

func (*UnimplementedAuditServiceServer) DeleteAuditLogArchive(ctx context.Context, req *v1.IDOptions) (*v1.Empty, error)

func (*UnimplementedAuditServiceServer) DeleteAuditLogArchiveEvents

func (*UnimplementedAuditServiceServer) DetachProjectFromAuditLog

func (*UnimplementedAuditServiceServer) DetachProjectFromAuditLog(ctx context.Context, req *v1.IDOptions) (*v1.Empty, error)

func (*UnimplementedAuditServiceServer) GetAPIVersion

func (*UnimplementedAuditServiceServer) GetAPIVersion(ctx context.Context, req *v1.Empty) (*v1.Version, error)

func (*UnimplementedAuditServiceServer) GetAuditLog

func (*UnimplementedAuditServiceServer) GetAuditLogArchive

func (*UnimplementedAuditServiceServer) GetAuditLogAttachedToProject

func (*UnimplementedAuditServiceServer) GetAuditLogAttachedToProject(ctx context.Context, req *v1.IDOptions) (*AuditLog, error)

func (*UnimplementedAuditServiceServer) GetAuditLogEvents added in v0.50.2

func (*UnimplementedAuditServiceServer) ListAuditLogArchives

func (*UnimplementedAuditServiceServer) ListAuditLogTopics added in v0.62.0

func (*UnimplementedAuditServiceServer) ListAuditLogs

func (*UnimplementedAuditServiceServer) SetDefaultAuditLog added in v0.63.0

func (*UnimplementedAuditServiceServer) TestAuditLogHttpsPostDestination added in v0.61.2

func (*UnimplementedAuditServiceServer) UpdateAuditLog

func (*UnimplementedAuditServiceServer) UpdateAuditLog(ctx context.Context, req *AuditLog) (*AuditLog, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL