reporting

package
v0.0.0-...-f54f16c Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Overview

Package reporting is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var (
	Query_OrderType_name = map[int32]string{
		0: "ASC",
		1: "DESC",
	}
	Query_OrderType_value = map[string]int32{
		"ASC":  0,
		"DESC": 1,
	}
)

Enum value maps for Query_OrderType.

View Source
var File_external_compliance_reporting_reporting_proto protoreflect.FileDescriptor

Functions

func RegisterReportingServiceHandler

func RegisterReportingServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterReportingServiceHandler registers the http handlers for service ReportingService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterReportingServiceHandlerClient

func RegisterReportingServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ReportingServiceClient) error

RegisterReportingServiceHandlerClient registers the http handlers for service ReportingService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ReportingServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ReportingServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ReportingServiceClient" to call the correct interceptors.

func RegisterReportingServiceHandlerFromEndpoint

func RegisterReportingServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterReportingServiceHandlerFromEndpoint is same as RegisterReportingServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterReportingServiceHandlerServer

func RegisterReportingServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ReportingServiceServer) error

RegisterReportingServiceHandlerServer registers the http handlers for service ReportingService to "mux". UnaryRPC :call ReportingServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.

func RegisterReportingServiceServer

func RegisterReportingServiceServer(s *grpc.Server, srv ReportingServiceServer)

Types

type AssetListRequest

type AssetListRequest struct {

	// List of the filters to be applied
	Filters []*ListFilter `protobuf:"bytes,1,rep,name=filters,proto3" json:"filters,omitempty"`
	// Size of the asset list
	Size int32 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
	// The offset for paginating requests. An offset defines a place in the results in order to show the next page of the results.
	From int32 `protobuf:"varint,3,opt,name=from,proto3" json:"from,omitempty"`
	// Sort required from the which field
	Sort string `protobuf:"bytes,4,opt,name=sort,proto3" json:"sort,omitempty"`
	// Asset Type as collected, unreported, unreachable, uncollected
	AssetsType string `protobuf:"bytes,5,opt,name=assets_type,json=assetsType,proto3" json:"assets_type,omitempty"`
	// contains filtered or unexported fields
}

func (*AssetListRequest) Descriptor deprecated

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

Deprecated: Use AssetListRequest.ProtoReflect.Descriptor instead.

func (*AssetListRequest) GetAssetsType

func (x *AssetListRequest) GetAssetsType() string

func (*AssetListRequest) GetFilters

func (x *AssetListRequest) GetFilters() []*ListFilter

func (*AssetListRequest) GetFrom

func (x *AssetListRequest) GetFrom() int32

func (*AssetListRequest) GetSize

func (x *AssetListRequest) GetSize() int32

func (*AssetListRequest) GetSort

func (x *AssetListRequest) GetSort() string

func (*AssetListRequest) ProtoMessage

func (*AssetListRequest) ProtoMessage()

func (*AssetListRequest) ProtoReflect

func (x *AssetListRequest) ProtoReflect() protoreflect.Message

func (*AssetListRequest) Reset

func (x *AssetListRequest) Reset()

func (*AssetListRequest) String

func (x *AssetListRequest) String() string

type AssetListResponse

type AssetListResponse struct {

	// Assets list as per the filters applied
	Assets []*Assets `protobuf:"bytes,1,rep,name=assets,proto3" json:"assets,omitempty"`
	// contains filtered or unexported fields
}

func (*AssetListResponse) Descriptor deprecated

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

Deprecated: Use AssetListResponse.ProtoReflect.Descriptor instead.

func (*AssetListResponse) GetAssets

func (x *AssetListResponse) GetAssets() []*Assets

func (*AssetListResponse) ProtoMessage

func (*AssetListResponse) ProtoMessage()

func (*AssetListResponse) ProtoReflect

func (x *AssetListResponse) ProtoReflect() protoreflect.Message

func (*AssetListResponse) Reset

func (x *AssetListResponse) Reset()

func (*AssetListResponse) String

func (x *AssetListResponse) String() string

type AssetSummary

type AssetSummary struct {

	// Total number of total assets
	TotalAssets int32 `protobuf:"varint,1,opt,name=total_assets,json=totalAssets,proto3" json:"total_assets,omitempty"`
	// Accessing the collected from Collected Message
	Collected *Collected `protobuf:"bytes,2,opt,name=collected,proto3" json:"collected,omitempty"`
	// Total number of not collected assests
	Uncollected *Uncollected `protobuf:"bytes,3,opt,name=uncollected,proto3" json:"uncollected,omitempty"` //Total number of unreported assets
	// contains filtered or unexported fields
}

func (*AssetSummary) Descriptor deprecated

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

Deprecated: Use AssetSummary.ProtoReflect.Descriptor instead.

func (*AssetSummary) GetCollected

func (x *AssetSummary) GetCollected() *Collected

func (*AssetSummary) GetTotalAssets

func (x *AssetSummary) GetTotalAssets() int32

func (*AssetSummary) GetUncollected

func (x *AssetSummary) GetUncollected() *Uncollected

func (*AssetSummary) ProtoMessage

func (*AssetSummary) ProtoMessage()

func (*AssetSummary) ProtoReflect

func (x *AssetSummary) ProtoReflect() protoreflect.Message

func (*AssetSummary) Reset

func (x *AssetSummary) Reset()

func (*AssetSummary) String

func (x *AssetSummary) String() string

type Assets

type Assets struct {

	// Node UUid for the asset
	NodeUuid string `protobuf:"bytes,1,opt,name=node_uuid,json=nodeUuid,proto3" json:"node_uuid,omitempty"`
	// Status of the last run of the asset
	Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	// First Run details of asset
	FirstRun string `protobuf:"bytes,3,opt,name=first_run,json=firstRun,proto3" json:"first_run,omitempty"`
	// Last run details of asset
	LastRun string `protobuf:"bytes,4,opt,name=last_run,json=lastRun,proto3" json:"last_run,omitempty"`
	// contains filtered or unexported fields
}

func (*Assets) Descriptor deprecated

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

Deprecated: Use Assets.ProtoReflect.Descriptor instead.

func (*Assets) GetFirstRun

func (x *Assets) GetFirstRun() string

func (*Assets) GetLastRun

func (x *Assets) GetLastRun() string

func (*Assets) GetNodeUuid

func (x *Assets) GetNodeUuid() string

func (*Assets) GetStatus

func (x *Assets) GetStatus() string

func (*Assets) ProtoMessage

func (*Assets) ProtoMessage()

func (*Assets) ProtoReflect

func (x *Assets) ProtoReflect() protoreflect.Message

func (*Assets) Reset

func (x *Assets) Reset()

func (*Assets) String

func (x *Assets) String() string

type Attribute

type Attribute struct {

	// The name of the attribute.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The options defined for the attribute.
	Options *Option `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"`
	// contains filtered or unexported fields
}

func (*Attribute) Descriptor deprecated

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

Deprecated: Use Attribute.ProtoReflect.Descriptor instead.

func (*Attribute) GetName

func (x *Attribute) GetName() string

func (*Attribute) GetOptions

func (x *Attribute) GetOptions() *Option

func (*Attribute) ProtoMessage

func (*Attribute) ProtoMessage()

func (*Attribute) ProtoReflect

func (x *Attribute) ProtoReflect() protoreflect.Message

func (*Attribute) Reset

func (x *Attribute) Reset()

func (*Attribute) String

func (x *Attribute) String() string

type Collected

type Collected struct {

	// Total collected and passsed in the assets
	Passed int32 `protobuf:"varint,1,opt,name=passed,proto3" json:"passed,omitempty"`
	// Total collected and failed in the assets
	Failed int32 `protobuf:"varint,2,opt,name=failed,proto3" json:"failed,omitempty"`
	// Total collected and skipped in the assets
	Skipped int32 `protobuf:"varint,3,opt,name=skipped,proto3" json:"skipped,omitempty"`
	// Total collected and waived in the assets
	Waived int32 `protobuf:"varint,4,opt,name=waived,proto3" json:"waived,omitempty"`
	// contains filtered or unexported fields
}

func (*Collected) Descriptor deprecated

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

Deprecated: Use Collected.ProtoReflect.Descriptor instead.

func (*Collected) GetFailed

func (x *Collected) GetFailed() int32

func (*Collected) GetPassed

func (x *Collected) GetPassed() int32

func (*Collected) GetSkipped

func (x *Collected) GetSkipped() int32

func (*Collected) GetWaived

func (x *Collected) GetWaived() int32

func (*Collected) ProtoMessage

func (*Collected) ProtoMessage()

func (*Collected) ProtoReflect

func (x *Collected) ProtoReflect() protoreflect.Message

func (*Collected) Reset

func (x *Collected) Reset()

func (*Collected) String

func (x *Collected) String() string

type ComplianceConfigRequest

type ComplianceConfigRequest struct {

	// No of days for the config
	Value int32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

ComplianceConfigRequest to update no of days in the config

func (*ComplianceConfigRequest) Descriptor deprecated

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

Deprecated: Use ComplianceConfigRequest.ProtoReflect.Descriptor instead.

func (*ComplianceConfigRequest) GetValue

func (x *ComplianceConfigRequest) GetValue() int32

func (*ComplianceConfigRequest) ProtoMessage

func (*ComplianceConfigRequest) ProtoMessage()

func (*ComplianceConfigRequest) ProtoReflect

func (x *ComplianceConfigRequest) ProtoReflect() protoreflect.Message

func (*ComplianceConfigRequest) Reset

func (x *ComplianceConfigRequest) Reset()

func (*ComplianceConfigRequest) String

func (x *ComplianceConfigRequest) String() string

type ComplianceConfigResponse

type ComplianceConfigResponse struct {

	// Policy name to get from config
	PolicyName string `protobuf:"bytes,1,opt,name=policy_name,json=policyName,proto3" json:"policy_name,omitempty"`
	// No of days to get for config
	Value int32 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

ComplianceConfigResponse to get the policy name and no of days

func (*ComplianceConfigResponse) Descriptor deprecated

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

Deprecated: Use ComplianceConfigResponse.ProtoReflect.Descriptor instead.

func (*ComplianceConfigResponse) GetPolicyName

func (x *ComplianceConfigResponse) GetPolicyName() string

func (*ComplianceConfigResponse) GetValue

func (x *ComplianceConfigResponse) GetValue() int32

func (*ComplianceConfigResponse) ProtoMessage

func (*ComplianceConfigResponse) ProtoMessage()

func (*ComplianceConfigResponse) ProtoReflect

func (x *ComplianceConfigResponse) ProtoReflect() protoreflect.Message

func (*ComplianceConfigResponse) Reset

func (x *ComplianceConfigResponse) Reset()

func (*ComplianceConfigResponse) String

func (x *ComplianceConfigResponse) String() string

type Control

type Control struct {

	// The unique ID of this control.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The full ruby code of the control defined in the profile.
	Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
	// The full description of the control.
	Desc string `protobuf:"bytes,3,opt,name=desc,proto3" json:"desc,omitempty"`
	// The severity of the control.
	Impact float32 `protobuf:"fixed32,4,opt,name=impact,proto3" json:"impact,omitempty"`
	// The compact description of the control.
	Title string `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty"`
	// Intentionally blank.
	SourceLocation *SourceLocation `protobuf:"bytes,6,opt,name=source_location,json=sourceLocation,proto3" json:"source_location,omitempty"`
	// The results of running all tests defined in the control against the node.
	Results []*Result `protobuf:"bytes,7,rep,name=results,proto3" json:"results,omitempty"`
	// External supporting documents for the control.
	Refs []*Ref `protobuf:"bytes,8,rep,name=refs,proto3" json:"refs,omitempty"`
	// Metadata defined on the control in key-value format.
	Tags string `protobuf:"bytes,9,opt,name=tags,proto3" json:"tags,omitempty"`
	// Indicates if the control has been waived or not
	WaivedStr string `protobuf:"bytes,11,opt,name=waived_str,json=waivedStr,proto3" json:"waived_str,omitempty"`
	// Additional details for waived controls
	WaiverData *OrigWaiverData `protobuf:"bytes,12,opt,name=waiver_data,json=waiverData,proto3" json:"waiver_data,omitempty"`
	// When the control results are removed to reduce the size of the report, this summarize the status of the trimmed results.
	RemovedResultsCounts *RemovedResultsCounts `protobuf:"bytes,13,opt,name=removed_results_counts,json=removedResultsCounts,proto3" json:"removed_results_counts,omitempty"`
	// contains filtered or unexported fields
}

func (*Control) Descriptor deprecated

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

Deprecated: Use Control.ProtoReflect.Descriptor instead.

func (*Control) GetCode

func (x *Control) GetCode() string

func (*Control) GetDesc

func (x *Control) GetDesc() string

func (*Control) GetId

func (x *Control) GetId() string

func (*Control) GetImpact

func (x *Control) GetImpact() float32

func (*Control) GetRefs

func (x *Control) GetRefs() []*Ref

func (*Control) GetRemovedResultsCounts

func (x *Control) GetRemovedResultsCounts() *RemovedResultsCounts

func (*Control) GetResults

func (x *Control) GetResults() []*Result

func (*Control) GetSourceLocation

func (x *Control) GetSourceLocation() *SourceLocation

func (*Control) GetTags

func (x *Control) GetTags() string

func (*Control) GetTitle

func (x *Control) GetTitle() string

func (*Control) GetWaivedStr

func (x *Control) GetWaivedStr() string

func (*Control) GetWaiverData

func (x *Control) GetWaiverData() *OrigWaiverData

func (*Control) ProtoMessage

func (*Control) ProtoMessage()

func (*Control) ProtoReflect

func (x *Control) ProtoReflect() protoreflect.Message

func (*Control) Reset

func (x *Control) Reset()

func (*Control) String

func (x *Control) String() string

type ControlElement

type ControlElement struct {

	// The control's unique ID.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The control's compact description.
	Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	// Profile name.
	Profile string `protobuf:"bytes,3,opt,name=profile,proto3" json:"profile,omitempty"`
	// The severity of the control.
	Impact float32 `protobuf:"fixed32,4,opt,name=impact,proto3" json:"impact,omitempty"`
	// The total number of results.
	Results int32 `protobuf:"varint,5,opt,name=results,proto3" json:"results,omitempty"`
	// The control's status
	Status string `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty"`
	// Profile id
	ProfileId string `protobuf:"bytes,7,opt,name=profile_id,json=profileId,proto3" json:"profile_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ControlElement) Descriptor deprecated

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

Deprecated: Use ControlElement.ProtoReflect.Descriptor instead.

func (*ControlElement) GetId

func (x *ControlElement) GetId() string

func (*ControlElement) GetImpact

func (x *ControlElement) GetImpact() float32

func (*ControlElement) GetProfile

func (x *ControlElement) GetProfile() string

func (*ControlElement) GetProfileId

func (x *ControlElement) GetProfileId() string

func (*ControlElement) GetResults

func (x *ControlElement) GetResults() int32

func (*ControlElement) GetStatus

func (x *ControlElement) GetStatus() string

func (*ControlElement) GetTitle

func (x *ControlElement) GetTitle() string

func (*ControlElement) ProtoMessage

func (*ControlElement) ProtoMessage()

func (*ControlElement) ProtoReflect

func (x *ControlElement) ProtoReflect() protoreflect.Message

func (*ControlElement) Reset

func (x *ControlElement) Reset()

func (*ControlElement) String

func (x *ControlElement) String() string

type ControlElements

type ControlElements struct {

	// List of control elements
	ControlElements []*ControlElement `protobuf:"bytes,1,rep,name=control_elements,json=controlElements,proto3" json:"control_elements,omitempty"`
	// contains filtered or unexported fields
}

func (*ControlElements) Descriptor deprecated

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

Deprecated: Use ControlElements.ProtoReflect.Descriptor instead.

func (*ControlElements) GetControlElements

func (x *ControlElements) GetControlElements() []*ControlElement

func (*ControlElements) ProtoMessage

func (*ControlElements) ProtoMessage()

func (*ControlElements) ProtoReflect

func (x *ControlElements) ProtoReflect() protoreflect.Message

func (*ControlElements) Reset

func (x *ControlElements) Reset()

func (*ControlElements) String

func (x *ControlElements) String() string

type ControlItem

type ControlItem struct {

	// The control's unique ID.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The control's compact description.
	Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	// Intentionally blank.
	Profile *ProfileMin `protobuf:"bytes,3,opt,name=profile,proto3" json:"profile,omitempty"`
	// The severity of the control.
	Impact float32 `protobuf:"fixed32,4,opt,name=impact,proto3" json:"impact,omitempty"`
	// The time the report using the control was submitted at.
	EndTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// Intentionally blank.
	ControlSummary *ControlSummary `protobuf:"bytes,6,opt,name=control_summary,json=controlSummary,proto3" json:"control_summary,omitempty"`
	// A list of waivers for the nodes affected by this control.
	Waivers []*WaiverData `protobuf:"bytes,7,rep,name=waivers,proto3" json:"waivers,omitempty"`
	// contains filtered or unexported fields
}

func (*ControlItem) Descriptor deprecated

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

Deprecated: Use ControlItem.ProtoReflect.Descriptor instead.

func (*ControlItem) GetControlSummary

func (x *ControlItem) GetControlSummary() *ControlSummary

func (*ControlItem) GetEndTime

func (x *ControlItem) GetEndTime() *timestamppb.Timestamp

func (*ControlItem) GetId

func (x *ControlItem) GetId() string

func (*ControlItem) GetImpact

func (x *ControlItem) GetImpact() float32

func (*ControlItem) GetProfile

func (x *ControlItem) GetProfile() *ProfileMin

func (*ControlItem) GetTitle

func (x *ControlItem) GetTitle() string

func (*ControlItem) GetWaivers

func (x *ControlItem) GetWaivers() []*WaiverData

func (*ControlItem) ProtoMessage

func (*ControlItem) ProtoMessage()

func (*ControlItem) ProtoReflect

func (x *ControlItem) ProtoReflect() protoreflect.Message

func (*ControlItem) Reset

func (x *ControlItem) Reset()

func (*ControlItem) String

func (x *ControlItem) String() string

type ControlItemRequest

type ControlItemRequest struct {

	// The term to use to match resources on.
	Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
	// The maximum number of controls to return (Default 100).
	Size int32 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
	// The offset for paginating requests. An offset defines a place in the results in order to show the next page of the results. (Default 1)
	PageNumber int32 `protobuf:"varint,3,opt,name=page_number,json=pageNumber,proto3" json:"page_number,omitempty"`
	// The criteria used to filter the controls returned.
	Filters []*ListFilter `protobuf:"bytes,4,rep,name=filters,proto3" json:"filters,omitempty"`
	// contains filtered or unexported fields
}

func (*ControlItemRequest) Descriptor deprecated

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

Deprecated: Use ControlItemRequest.ProtoReflect.Descriptor instead.

func (*ControlItemRequest) GetFilters

func (x *ControlItemRequest) GetFilters() []*ListFilter

func (*ControlItemRequest) GetPageNumber

func (x *ControlItemRequest) GetPageNumber() int32

func (*ControlItemRequest) GetSize

func (x *ControlItemRequest) GetSize() int32

func (*ControlItemRequest) GetText

func (x *ControlItemRequest) GetText() string

func (*ControlItemRequest) ProtoMessage

func (*ControlItemRequest) ProtoMessage()

func (*ControlItemRequest) ProtoReflect

func (x *ControlItemRequest) ProtoReflect() protoreflect.Message

func (*ControlItemRequest) Reset

func (x *ControlItemRequest) Reset()

func (*ControlItemRequest) String

func (x *ControlItemRequest) String() string

type ControlItems

type ControlItems struct {

	// The paginated results of controls matching the filters.
	ControlItems []*ControlItem `protobuf:"bytes,1,rep,name=control_items,json=controlItems,proto3" json:"control_items,omitempty"`
	// The summary totals for this list of control items
	ControlSummaryTotals *ControlSummary `protobuf:"bytes,2,opt,name=control_summary_totals,json=controlSummaryTotals,proto3" json:"control_summary_totals,omitempty"`
	// contains filtered or unexported fields
}

func (*ControlItems) Descriptor deprecated

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

Deprecated: Use ControlItems.ProtoReflect.Descriptor instead.

func (*ControlItems) GetControlItems

func (x *ControlItems) GetControlItems() []*ControlItem

func (*ControlItems) GetControlSummaryTotals

func (x *ControlItems) GetControlSummaryTotals() *ControlSummary

func (*ControlItems) ProtoMessage

func (*ControlItems) ProtoMessage()

func (*ControlItems) ProtoReflect

func (x *ControlItems) ProtoReflect() protoreflect.Message

func (*ControlItems) Reset

func (x *ControlItems) Reset()

func (*ControlItems) String

func (x *ControlItems) String() string

type ControlSummary

type ControlSummary struct {

	// The total number of controls in the report.
	Total int32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	// Intentionally blank.
	Passed *Total `protobuf:"bytes,2,opt,name=passed,proto3" json:"passed,omitempty"`
	// Intentionally blank.
	Skipped *Total `protobuf:"bytes,3,opt,name=skipped,proto3" json:"skipped,omitempty"`
	// Intentionally blank.
	Failed *Failed `protobuf:"bytes,4,opt,name=failed,proto3" json:"failed,omitempty"`
	// Intentionally blank.
	Waived *Total `protobuf:"bytes,5,opt,name=waived,proto3" json:"waived,omitempty"`
	// contains filtered or unexported fields
}

A minimal representation of the statuses of the controls in the report.

func (*ControlSummary) Descriptor deprecated

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

Deprecated: Use ControlSummary.ProtoReflect.Descriptor instead.

func (*ControlSummary) GetFailed

func (x *ControlSummary) GetFailed() *Failed

func (*ControlSummary) GetPassed

func (x *ControlSummary) GetPassed() *Total

func (*ControlSummary) GetSkipped

func (x *ControlSummary) GetSkipped() *Total

func (*ControlSummary) GetTotal

func (x *ControlSummary) GetTotal() int32

func (*ControlSummary) GetWaived

func (x *ControlSummary) GetWaived() *Total

func (*ControlSummary) ProtoMessage

func (*ControlSummary) ProtoMessage()

func (*ControlSummary) ProtoReflect

func (x *ControlSummary) ProtoReflect() protoreflect.Message

func (*ControlSummary) Reset

func (x *ControlSummary) Reset()

func (*ControlSummary) String

func (x *ControlSummary) String() string

type CustomReportResponse

type CustomReportResponse struct {
	AcknowledgementId string `protobuf:"bytes,1,opt,name=acknowledgement_id,json=acknowledgementId,proto3" json:"acknowledgement_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CustomReportResponse) Descriptor deprecated

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

Deprecated: Use CustomReportResponse.ProtoReflect.Descriptor instead.

func (*CustomReportResponse) GetAcknowledgementId

func (x *CustomReportResponse) GetAcknowledgementId() string

func (*CustomReportResponse) ProtoMessage

func (*CustomReportResponse) ProtoMessage()

func (*CustomReportResponse) ProtoReflect

func (x *CustomReportResponse) ProtoReflect() protoreflect.Message

func (*CustomReportResponse) Reset

func (x *CustomReportResponse) Reset()

func (*CustomReportResponse) String

func (x *CustomReportResponse) String() string

type Dependency

type Dependency struct {

	// The name of the profile.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The URL of the profile accessible over HTTP or HTTPS.
	Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	// The path to the profile on disk.
	Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
	// The git URL of the profile.
	Git string `protobuf:"bytes,4,opt,name=git,proto3" json:"git,omitempty"`
	// The specific git branch of the dependency.
	Branch string `protobuf:"bytes,5,opt,name=branch,proto3" json:"branch,omitempty"`
	// The specific git tag of the dependency.
	Tag string `protobuf:"bytes,6,opt,name=tag,proto3" json:"tag,omitempty"`
	// The specific git commit of the dependency.
	Commit string `protobuf:"bytes,7,opt,name=commit,proto3" json:"commit,omitempty"`
	// The specific git version of the dependency.
	Version string `protobuf:"bytes,8,opt,name=version,proto3" json:"version,omitempty"`
	// The name of the dependency stored in Chef Supermarket.
	Supermarket string `protobuf:"bytes,9,opt,name=supermarket,proto3" json:"supermarket,omitempty"`
	// The short name of the dependency stored on Github.
	Github string `protobuf:"bytes,10,opt,name=github,proto3" json:"github,omitempty"`
	// The short name of the dependency stored on the Chef Automate or Chef Compliance server.
	Compliance string `protobuf:"bytes,11,opt,name=compliance,proto3" json:"compliance,omitempty"`
	// The status of the dependency in the report.
	Status string `protobuf:"bytes,12,opt,name=status,proto3" json:"status,omitempty"`
	// The reason this profile was skipped in the generated report, if any.
	SkipMessage string `protobuf:"bytes,13,opt,name=skip_message,json=skipMessage,proto3" json:"skip_message,omitempty"`
	// contains filtered or unexported fields
}

func (*Dependency) Descriptor deprecated

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

Deprecated: Use Dependency.ProtoReflect.Descriptor instead.

func (*Dependency) GetBranch

func (x *Dependency) GetBranch() string

func (*Dependency) GetCommit

func (x *Dependency) GetCommit() string

func (*Dependency) GetCompliance

func (x *Dependency) GetCompliance() string

func (*Dependency) GetGit

func (x *Dependency) GetGit() string

func (*Dependency) GetGithub

func (x *Dependency) GetGithub() string

func (*Dependency) GetName

func (x *Dependency) GetName() string

func (*Dependency) GetPath

func (x *Dependency) GetPath() string

func (*Dependency) GetSkipMessage

func (x *Dependency) GetSkipMessage() string

func (*Dependency) GetStatus

func (x *Dependency) GetStatus() string

func (*Dependency) GetSupermarket

func (x *Dependency) GetSupermarket() string

func (*Dependency) GetTag

func (x *Dependency) GetTag() string

func (*Dependency) GetUrl

func (x *Dependency) GetUrl() string

func (*Dependency) GetVersion

func (x *Dependency) GetVersion() string

func (*Dependency) ProtoMessage

func (*Dependency) ProtoMessage()

func (*Dependency) ProtoReflect

func (x *Dependency) ProtoReflect() protoreflect.Message

func (*Dependency) Reset

func (x *Dependency) Reset()

func (*Dependency) String

func (x *Dependency) String() string

type Failed

type Failed struct {

	// The total number of failed controls.
	Total int32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	// The number of failed controls with minor severity.
	Minor int32 `protobuf:"varint,2,opt,name=minor,proto3" json:"minor,omitempty"`
	// The number of failed controls with major severity.
	Major int32 `protobuf:"varint,3,opt,name=major,proto3" json:"major,omitempty"`
	// The number of failed controls with critical severity.
	Critical int32 `protobuf:"varint,4,opt,name=critical,proto3" json:"critical,omitempty"`
	// contains filtered or unexported fields
}

Stats of failed controls.

func (*Failed) Descriptor deprecated

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

Deprecated: Use Failed.ProtoReflect.Descriptor instead.

func (*Failed) GetCritical

func (x *Failed) GetCritical() int32

func (*Failed) GetMajor

func (x *Failed) GetMajor() int32

func (*Failed) GetMinor

func (x *Failed) GetMinor() int32

func (*Failed) GetTotal

func (x *Failed) GetTotal() int32

func (*Failed) ProtoMessage

func (*Failed) ProtoMessage()

func (*Failed) ProtoReflect

func (x *Failed) ProtoReflect() protoreflect.Message

func (*Failed) Reset

func (x *Failed) Reset()

func (*Failed) String

func (x *Failed) String() string

type GetAssetConfigRequest

type GetAssetConfigRequest struct {
	// contains filtered or unexported fields
}

GetAssetConfigRequest to perform GET request

func (*GetAssetConfigRequest) Descriptor deprecated

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

Deprecated: Use GetAssetConfigRequest.ProtoReflect.Descriptor instead.

func (*GetAssetConfigRequest) ProtoMessage

func (*GetAssetConfigRequest) ProtoMessage()

func (*GetAssetConfigRequest) ProtoReflect

func (x *GetAssetConfigRequest) ProtoReflect() protoreflect.Message

func (*GetAssetConfigRequest) Reset

func (x *GetAssetConfigRequest) Reset()

func (*GetAssetConfigRequest) String

func (x *GetAssetConfigRequest) String() string

type Group

type Group struct {

	// The name of the file the controls are defined in.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The title of control group.
	Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	// The ids of the controls defined in this file.
	Controls []string `protobuf:"bytes,3,rep,name=controls,proto3" json:"controls,omitempty"`
	// contains filtered or unexported fields
}

func (*Group) Descriptor deprecated

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

Deprecated: Use Group.ProtoReflect.Descriptor instead.

func (*Group) GetControls

func (x *Group) GetControls() []string

func (*Group) GetId

func (x *Group) GetId() string

func (*Group) GetTitle

func (x *Group) GetTitle() string

func (*Group) ProtoMessage

func (*Group) ProtoMessage()

func (*Group) ProtoReflect

func (x *Group) ProtoReflect() protoreflect.Message

func (*Group) Reset

func (x *Group) Reset()

func (*Group) String

func (x *Group) String() string

type Id

type Id struct {

	// Unique identifier.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*Id) Descriptor deprecated

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

Deprecated: Use Id.ProtoReflect.Descriptor instead.

func (*Id) GetId

func (x *Id) GetId() string

func (*Id) ProtoMessage

func (*Id) ProtoMessage()

func (*Id) ProtoReflect

func (x *Id) ProtoReflect() protoreflect.Message

func (*Id) Reset

func (x *Id) Reset()

func (*Id) String

func (x *Id) String() string

type Kv

type Kv struct {

	// The key of the tag.
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// The value of the tag.
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*Kv) Descriptor deprecated

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

Deprecated: Use Kv.ProtoReflect.Descriptor instead.

func (*Kv) GetKey

func (x *Kv) GetKey() string

func (*Kv) GetValue

func (x *Kv) GetValue() string

func (*Kv) ProtoMessage

func (*Kv) ProtoMessage()

func (*Kv) ProtoReflect

func (x *Kv) ProtoReflect() protoreflect.Message

func (*Kv) Reset

func (x *Kv) Reset()

func (*Kv) String

func (x *Kv) String() string

type LatestReportSummary

type LatestReportSummary struct {

	// The latest report ID.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The time the report was submitted at.
	EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// The status of the run the report was made from.
	Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
	// Intentionally blank.
	Controls *ControlSummary `protobuf:"bytes,4,opt,name=controls,proto3" json:"controls,omitempty"`
	// contains filtered or unexported fields
}

A summary of the latest report for this node.

func (*LatestReportSummary) Descriptor deprecated

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

Deprecated: Use LatestReportSummary.ProtoReflect.Descriptor instead.

func (*LatestReportSummary) GetControls

func (x *LatestReportSummary) GetControls() *ControlSummary

func (*LatestReportSummary) GetEndTime

func (x *LatestReportSummary) GetEndTime() *timestamppb.Timestamp

func (*LatestReportSummary) GetId

func (x *LatestReportSummary) GetId() string

func (*LatestReportSummary) GetStatus

func (x *LatestReportSummary) GetStatus() string

func (*LatestReportSummary) ProtoMessage

func (*LatestReportSummary) ProtoMessage()

func (*LatestReportSummary) ProtoReflect

func (x *LatestReportSummary) ProtoReflect() protoreflect.Message

func (*LatestReportSummary) Reset

func (x *LatestReportSummary) Reset()

func (*LatestReportSummary) String

func (x *LatestReportSummary) String() string

type ListFilter

type ListFilter struct {

	// Filters applied to the list.
	Values []string `protobuf:"bytes,20,rep,name=values,proto3" json:"values,omitempty"`
	// The field to filter on.
	Type string `protobuf:"bytes,21,opt,name=type,proto3" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*ListFilter) Descriptor deprecated

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

Deprecated: Use ListFilter.ProtoReflect.Descriptor instead.

func (*ListFilter) GetType

func (x *ListFilter) GetType() string

func (*ListFilter) GetValues

func (x *ListFilter) GetValues() []string

func (*ListFilter) ProtoMessage

func (*ListFilter) ProtoMessage()

func (*ListFilter) ProtoReflect

func (x *ListFilter) ProtoReflect() protoreflect.Message

func (*ListFilter) Reset

func (x *ListFilter) Reset()

func (*ListFilter) String

func (x *ListFilter) String() string

type ListFilters

type ListFilters struct {
	Filters []*ListFilter `protobuf:"bytes,1,rep,name=filters,proto3" json:"filters,omitempty"`
	// contains filtered or unexported fields
}

func (*ListFilters) Descriptor deprecated

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

Deprecated: Use ListFilters.ProtoReflect.Descriptor instead.

func (*ListFilters) GetFilters

func (x *ListFilters) GetFilters() []*ListFilter

func (*ListFilters) ProtoMessage

func (*ListFilters) ProtoMessage()

func (*ListFilters) ProtoReflect

func (x *ListFilters) ProtoReflect() protoreflect.Message

func (*ListFilters) Reset

func (x *ListFilters) Reset()

func (*ListFilters) String

func (x *ListFilters) String() string

type Node

type Node struct {

	// The node ID.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The name assigned to the node.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Intentionally blank.
	Platform *Platform `protobuf:"bytes,3,opt,name=platform,proto3" json:"platform,omitempty"`
	// The environment assigned to the node.
	Environment string `protobuf:"bytes,4,opt,name=environment,proto3" json:"environment,omitempty"`
	// A summary of the information contained in the latest report for this node.
	LatestReport *LatestReportSummary `protobuf:"bytes,8,opt,name=latest_report,json=latestReport,proto3" json:"latest_report,omitempty"`
	// The tags assigned to this node.
	Tags []*Kv `protobuf:"bytes,9,rep,name=tags,proto3" json:"tags,omitempty"`
	// A minimal representation of the compliance profiles run against the node.
	Profiles []*ProfileMeta `protobuf:"bytes,10,rep,name=profiles,proto3" json:"profiles,omitempty"`
	// contains filtered or unexported fields
}

func (*Node) Descriptor deprecated

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

Deprecated: Use Node.ProtoReflect.Descriptor instead.

func (*Node) GetEnvironment

func (x *Node) GetEnvironment() string

func (*Node) GetId

func (x *Node) GetId() string

func (*Node) GetLatestReport

func (x *Node) GetLatestReport() *LatestReportSummary

func (*Node) GetName

func (x *Node) GetName() string

func (*Node) GetPlatform

func (x *Node) GetPlatform() *Platform

func (*Node) GetProfiles

func (x *Node) GetProfiles() []*ProfileMeta

func (*Node) GetTags

func (x *Node) GetTags() []*Kv

func (*Node) ProtoMessage

func (*Node) ProtoMessage()

func (*Node) ProtoReflect

func (x *Node) ProtoReflect() protoreflect.Message

func (*Node) Reset

func (x *Node) Reset()

func (*Node) String

func (x *Node) String() string

type NodeHeaderInfo

type NodeHeaderInfo struct {

	// The reporting node's unique ID.
	NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// The reporting node name.
	NodeName string `protobuf:"bytes,2,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"`
	// The time that the report was completed.
	EndTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// The status of the run the report was made from.
	Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
	// The environment of the node making the report.
	Environment string `protobuf:"bytes,5,opt,name=environment,proto3" json:"environment,omitempty"`
	// The version of the report.
	Version string `protobuf:"bytes,6,opt,name=version,proto3" json:"version,omitempty"`
	// Intentionally blank.
	Platform *Platform `protobuf:"bytes,7,opt,name=platform,proto3" json:"platform,omitempty"`
	// The profiles run as part of this report.
	Profiles []*NodeHeaderProfileInfo `protobuf:"bytes,8,rep,name=profiles,proto3" json:"profiles,omitempty"`
	// The Roles associated with the node.
	Roles []string `protobuf:"bytes,9,rep,name=roles,proto3" json:"roles,omitempty"`
	// The status message of the report.
	StatusMessage string `protobuf:"bytes,10,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"`
	// contains filtered or unexported fields
}

func (*NodeHeaderInfo) Descriptor deprecated

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

Deprecated: Use NodeHeaderInfo.ProtoReflect.Descriptor instead.

func (*NodeHeaderInfo) GetEndTime

func (x *NodeHeaderInfo) GetEndTime() *timestamppb.Timestamp

func (*NodeHeaderInfo) GetEnvironment

func (x *NodeHeaderInfo) GetEnvironment() string

func (*NodeHeaderInfo) GetNodeId

func (x *NodeHeaderInfo) GetNodeId() string

func (*NodeHeaderInfo) GetNodeName

func (x *NodeHeaderInfo) GetNodeName() string

func (*NodeHeaderInfo) GetPlatform

func (x *NodeHeaderInfo) GetPlatform() *Platform

func (*NodeHeaderInfo) GetProfiles

func (x *NodeHeaderInfo) GetProfiles() []*NodeHeaderProfileInfo

func (*NodeHeaderInfo) GetRoles

func (x *NodeHeaderInfo) GetRoles() []string

func (*NodeHeaderInfo) GetStatus

func (x *NodeHeaderInfo) GetStatus() string

func (*NodeHeaderInfo) GetStatusMessage

func (x *NodeHeaderInfo) GetStatusMessage() string

func (*NodeHeaderInfo) GetVersion

func (x *NodeHeaderInfo) GetVersion() string

func (*NodeHeaderInfo) ProtoMessage

func (*NodeHeaderInfo) ProtoMessage()

func (*NodeHeaderInfo) ProtoReflect

func (x *NodeHeaderInfo) ProtoReflect() protoreflect.Message

func (*NodeHeaderInfo) Reset

func (x *NodeHeaderInfo) Reset()

func (*NodeHeaderInfo) String

func (x *NodeHeaderInfo) String() string

type NodeHeaderProfileInfo

type NodeHeaderProfileInfo struct {

	// The name of the profile. Must be unique.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The status of the profile in the generated report.
	Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	// A message to detail the reason why a profile is skipped or failed in the generated report.
	StatusMessage string `protobuf:"bytes,3,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"`
	// contains filtered or unexported fields
}

func (*NodeHeaderProfileInfo) Descriptor deprecated

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

Deprecated: Use NodeHeaderProfileInfo.ProtoReflect.Descriptor instead.

func (*NodeHeaderProfileInfo) GetName

func (x *NodeHeaderProfileInfo) GetName() string

func (*NodeHeaderProfileInfo) GetStatus

func (x *NodeHeaderProfileInfo) GetStatus() string

func (*NodeHeaderProfileInfo) GetStatusMessage

func (x *NodeHeaderProfileInfo) GetStatusMessage() string

func (*NodeHeaderProfileInfo) ProtoMessage

func (*NodeHeaderProfileInfo) ProtoMessage()

func (*NodeHeaderProfileInfo) ProtoReflect

func (x *NodeHeaderProfileInfo) ProtoReflect() protoreflect.Message

func (*NodeHeaderProfileInfo) Reset

func (x *NodeHeaderProfileInfo) Reset()

func (*NodeHeaderProfileInfo) String

func (x *NodeHeaderProfileInfo) String() string

type Nodes

type Nodes struct {

	// The nodes matching the request filters.
	Nodes []*Node `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`
	// The total number of nodes matching the filters.
	Total int32 `protobuf:"varint,20,opt,name=total,proto3" json:"total,omitempty"`
	// The total number of passing nodes matching the filters.
	TotalPassed int32 `protobuf:"varint,21,opt,name=total_passed,json=totalPassed,proto3" json:"total_passed,omitempty"`
	// The total number of failed nodes matching the filters.
	TotalFailed int32 `protobuf:"varint,22,opt,name=total_failed,json=totalFailed,proto3" json:"total_failed,omitempty"`
	// The total number of skipped nodes matching the filters.
	TotalSkipped int32 `protobuf:"varint,23,opt,name=total_skipped,json=totalSkipped,proto3" json:"total_skipped,omitempty"`
	// The total number of waived nodes matching the filters.
	TotalWaived int32 `protobuf:"varint,24,opt,name=total_waived,json=totalWaived,proto3" json:"total_waived,omitempty"`
	// contains filtered or unexported fields
}

func (*Nodes) Descriptor deprecated

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

Deprecated: Use Nodes.ProtoReflect.Descriptor instead.

func (*Nodes) GetNodes

func (x *Nodes) GetNodes() []*Node

func (*Nodes) GetTotal

func (x *Nodes) GetTotal() int32

func (*Nodes) GetTotalFailed

func (x *Nodes) GetTotalFailed() int32

func (*Nodes) GetTotalPassed

func (x *Nodes) GetTotalPassed() int32

func (*Nodes) GetTotalSkipped

func (x *Nodes) GetTotalSkipped() int32

func (*Nodes) GetTotalWaived

func (x *Nodes) GetTotalWaived() int32

func (*Nodes) ProtoMessage

func (*Nodes) ProtoMessage()

func (*Nodes) ProtoReflect

func (x *Nodes) ProtoReflect() protoreflect.Message

func (*Nodes) Reset

func (x *Nodes) Reset()

func (*Nodes) String

func (x *Nodes) String() string

type Option

type Option struct {

	// The description of the attribute.
	Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
	// The default value of the attribute.
	Default string `protobuf:"bytes,2,opt,name=default,proto3" json:"default,omitempty"`
	// contains filtered or unexported fields
}

func (*Option) Descriptor deprecated

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

Deprecated: Use Option.ProtoReflect.Descriptor instead.

func (*Option) GetDefault

func (x *Option) GetDefault() string

func (*Option) GetDescription

func (x *Option) GetDescription() string

func (*Option) ProtoMessage

func (*Option) ProtoMessage()

func (*Option) ProtoReflect

func (x *Option) ProtoReflect() protoreflect.Message

func (*Option) Reset

func (x *Option) Reset()

func (*Option) String

func (x *Option) String() string

type OrigWaiverData

type OrigWaiverData struct {
	ExpirationDate     string `protobuf:"bytes,1,opt,name=expiration_date,json=expirationDate,proto3" json:"expiration_date,omitempty"`
	Justification      string `protobuf:"bytes,2,opt,name=justification,proto3" json:"justification,omitempty"`
	Run                bool   `protobuf:"varint,3,opt,name=run,proto3" json:"run,omitempty"`
	SkippedDueToWaiver bool   `protobuf:"varint,4,opt,name=skipped_due_to_waiver,json=skippedDueToWaiver,proto3" json:"skipped_due_to_waiver,omitempty"`
	Message            string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

OrigWaiverData as it originally came from the InSpec report Will supplement this with waived_str to make consumption easier

func (*OrigWaiverData) Descriptor deprecated

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

Deprecated: Use OrigWaiverData.ProtoReflect.Descriptor instead.

func (*OrigWaiverData) GetExpirationDate

func (x *OrigWaiverData) GetExpirationDate() string

func (*OrigWaiverData) GetJustification

func (x *OrigWaiverData) GetJustification() string

func (*OrigWaiverData) GetMessage

func (x *OrigWaiverData) GetMessage() string

func (*OrigWaiverData) GetRun

func (x *OrigWaiverData) GetRun() bool

func (*OrigWaiverData) GetSkippedDueToWaiver

func (x *OrigWaiverData) GetSkippedDueToWaiver() bool

func (*OrigWaiverData) ProtoMessage

func (*OrigWaiverData) ProtoMessage()

func (*OrigWaiverData) ProtoReflect

func (x *OrigWaiverData) ProtoReflect() protoreflect.Message

func (*OrigWaiverData) Reset

func (x *OrigWaiverData) Reset()

func (*OrigWaiverData) String

func (x *OrigWaiverData) String() string

type Platform

type Platform struct {

	// The name of the node's operating system.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The version of the node's operating system.
	Release string `protobuf:"bytes,2,opt,name=release,proto3" json:"release,omitempty"`
	// The combined name and version of the node's operating system.
	Full string `protobuf:"bytes,3,opt,name=full,proto3" json:"full,omitempty"`
	// contains filtered or unexported fields
}

The name and version of the node's operating system.

func (*Platform) Descriptor deprecated

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

Deprecated: Use Platform.ProtoReflect.Descriptor instead.

func (*Platform) GetFull

func (x *Platform) GetFull() string

func (*Platform) GetName

func (x *Platform) GetName() string

func (*Platform) GetRelease

func (x *Platform) GetRelease() string

func (*Platform) ProtoMessage

func (*Platform) ProtoMessage()

func (*Platform) ProtoReflect

func (x *Platform) ProtoReflect() protoreflect.Message

func (*Platform) Reset

func (x *Platform) Reset()

func (*Platform) String

func (x *Platform) String() string

type Profile

type Profile struct {

	// The name of the profile. Must be unique.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The profile title.
	Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	// The maintainer listed in the profile metadata.
	Maintainer string `protobuf:"bytes,3,opt,name=maintainer,proto3" json:"maintainer,omitempty"`
	// The name of the copyright holder.
	Copyright string `protobuf:"bytes,4,opt,name=copyright,proto3" json:"copyright,omitempty"`
	// The contact information for the copyright holder.
	CopyrightEmail string `protobuf:"bytes,5,opt,name=copyright_email,json=copyrightEmail,proto3" json:"copyright_email,omitempty"`
	// The license the profile is released under.
	License string `protobuf:"bytes,6,opt,name=license,proto3" json:"license,omitempty"`
	// A short description of the profile.
	Summary string `protobuf:"bytes,7,opt,name=summary,proto3" json:"summary,omitempty"`
	// The version of the profile.
	Version string `protobuf:"bytes,8,opt,name=version,proto3" json:"version,omitempty"`
	// The name of the account that uploaded the profile to Automate.
	Owner string `protobuf:"bytes,9,opt,name=owner,proto3" json:"owner,omitempty"`
	// The combined name and version of the profile.
	Full string `protobuf:"bytes,10,opt,name=full,proto3" json:"full,omitempty"`
	// The supported platform targets.
	Supports []*Support `protobuf:"bytes,16,rep,name=supports,proto3" json:"supports,omitempty"`
	// Other profiles that this profile depends on.
	Depends []*Dependency `protobuf:"bytes,17,rep,name=depends,proto3" json:"depends,omitempty"`
	// A unique value generated from the profile used to identify it.
	Sha256 string `protobuf:"bytes,18,opt,name=sha256,proto3" json:"sha256,omitempty"`
	// The groups of controls defined in the profile.
	Groups []*Group `protobuf:"bytes,19,rep,name=groups,proto3" json:"groups,omitempty"`
	// The controls defined on the profile.
	Controls []*Control `protobuf:"bytes,20,rep,name=controls,proto3" json:"controls,omitempty"`
	// The attributes defined on the profile.
	Attributes []*Attribute `protobuf:"bytes,21,rep,name=attributes,proto3" json:"attributes,omitempty"`
	// The highest version number of the profile stored in Automate.
	LatestVersion string `protobuf:"bytes,22,opt,name=latest_version,json=latestVersion,proto3" json:"latest_version,omitempty"`
	// The status of the profile in the generated report.
	Status string `protobuf:"bytes,23,opt,name=status,proto3" json:"status,omitempty"`
	// The reason this profile was skipped in the generated report, if any.
	SkipMessage string `protobuf:"bytes,24,opt,name=skip_message,json=skipMessage,proto3" json:"skip_message,omitempty"`
	// A message to detail the reason why a profile is skipped or failed in the generated report.
	StatusMessage string `protobuf:"bytes,25,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"`
	// contains filtered or unexported fields
}

func (*Profile) Descriptor deprecated

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

Deprecated: Use Profile.ProtoReflect.Descriptor instead.

func (*Profile) GetAttributes

func (x *Profile) GetAttributes() []*Attribute

func (*Profile) GetControls

func (x *Profile) GetControls() []*Control

func (*Profile) GetCopyright

func (x *Profile) GetCopyright() string

func (*Profile) GetCopyrightEmail

func (x *Profile) GetCopyrightEmail() string

func (*Profile) GetDepends

func (x *Profile) GetDepends() []*Dependency

func (*Profile) GetFull

func (x *Profile) GetFull() string

func (*Profile) GetGroups

func (x *Profile) GetGroups() []*Group

func (*Profile) GetLatestVersion

func (x *Profile) GetLatestVersion() string

func (*Profile) GetLicense

func (x *Profile) GetLicense() string

func (*Profile) GetMaintainer

func (x *Profile) GetMaintainer() string

func (*Profile) GetName

func (x *Profile) GetName() string

func (*Profile) GetOwner

func (x *Profile) GetOwner() string

func (*Profile) GetSha256

func (x *Profile) GetSha256() string

func (*Profile) GetSkipMessage

func (x *Profile) GetSkipMessage() string

func (*Profile) GetStatus

func (x *Profile) GetStatus() string

func (*Profile) GetStatusMessage

func (x *Profile) GetStatusMessage() string

func (*Profile) GetSummary

func (x *Profile) GetSummary() string

func (*Profile) GetSupports

func (x *Profile) GetSupports() []*Support

func (*Profile) GetTitle

func (x *Profile) GetTitle() string

func (*Profile) GetVersion

func (x *Profile) GetVersion() string

func (*Profile) ProtoMessage

func (*Profile) ProtoMessage()

func (*Profile) ProtoReflect

func (x *Profile) ProtoReflect() protoreflect.Message

func (*Profile) Reset

func (x *Profile) Reset()

func (*Profile) String

func (x *Profile) String() string

type ProfileCounts

type ProfileCounts struct {

	// The total number of nodes matching the filters.
	Total int32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	// The total number of failed nodes matching the filters.
	Failed int32 `protobuf:"varint,2,opt,name=failed,proto3" json:"failed,omitempty"`
	// The total number of skipped nodes matching the filters.
	Skipped int32 `protobuf:"varint,3,opt,name=skipped,proto3" json:"skipped,omitempty"`
	// The total number of passing nodes matching the filters.
	Passed int32 `protobuf:"varint,4,opt,name=passed,proto3" json:"passed,omitempty"`
	// The total number of waived nodes matching the filters.
	Waived int32 `protobuf:"varint,5,opt,name=waived,proto3" json:"waived,omitempty"`
	// contains filtered or unexported fields
}

Stats on the statuses of nodes matching the filters.

func (*ProfileCounts) Descriptor deprecated

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

Deprecated: Use ProfileCounts.ProtoReflect.Descriptor instead.

func (*ProfileCounts) GetFailed

func (x *ProfileCounts) GetFailed() int32

func (*ProfileCounts) GetPassed

func (x *ProfileCounts) GetPassed() int32

func (*ProfileCounts) GetSkipped

func (x *ProfileCounts) GetSkipped() int32

func (*ProfileCounts) GetTotal

func (x *ProfileCounts) GetTotal() int32

func (*ProfileCounts) GetWaived

func (x *ProfileCounts) GetWaived() int32

func (*ProfileCounts) ProtoMessage

func (*ProfileCounts) ProtoMessage()

func (*ProfileCounts) ProtoReflect

func (x *ProfileCounts) ProtoReflect() protoreflect.Message

func (*ProfileCounts) Reset

func (x *ProfileCounts) Reset()

func (*ProfileCounts) String

func (x *ProfileCounts) String() string

type ProfileMeta

type ProfileMeta struct {

	// The name of the profile.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The profile version.
	Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	// The profile unique ID.
	Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
	// The status of the profile run against the node.
	Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
	// The combined name and version of the profile.
	Full string `protobuf:"bytes,5,opt,name=full,proto3" json:"full,omitempty"`
	// contains filtered or unexported fields
}

func (*ProfileMeta) Descriptor deprecated

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

Deprecated: Use ProfileMeta.ProtoReflect.Descriptor instead.

func (*ProfileMeta) GetFull

func (x *ProfileMeta) GetFull() string

func (*ProfileMeta) GetId

func (x *ProfileMeta) GetId() string

func (*ProfileMeta) GetName

func (x *ProfileMeta) GetName() string

func (*ProfileMeta) GetStatus

func (x *ProfileMeta) GetStatus() string

func (*ProfileMeta) GetVersion

func (x *ProfileMeta) GetVersion() string

func (*ProfileMeta) ProtoMessage

func (*ProfileMeta) ProtoMessage()

func (*ProfileMeta) ProtoReflect

func (x *ProfileMeta) ProtoReflect() protoreflect.Message

func (*ProfileMeta) Reset

func (x *ProfileMeta) Reset()

func (*ProfileMeta) String

func (x *ProfileMeta) String() string

type ProfileMin

type ProfileMin struct {

	// The name of the profile.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The profile title.
	Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	// The profile ID.
	Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
	// The profile version.
	Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
	// The aggregated status of the profile across the nodes it has been run on.
	Status string `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

Minimal representation of a profile.

func (*ProfileMin) Descriptor deprecated

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

Deprecated: Use ProfileMin.ProtoReflect.Descriptor instead.

func (*ProfileMin) GetId

func (x *ProfileMin) GetId() string

func (*ProfileMin) GetName

func (x *ProfileMin) GetName() string

func (*ProfileMin) GetStatus

func (x *ProfileMin) GetStatus() string

func (*ProfileMin) GetTitle

func (x *ProfileMin) GetTitle() string

func (*ProfileMin) GetVersion

func (x *ProfileMin) GetVersion() string

func (*ProfileMin) ProtoMessage

func (*ProfileMin) ProtoMessage()

func (*ProfileMin) ProtoReflect

func (x *ProfileMin) ProtoReflect() protoreflect.Message

func (*ProfileMin) Reset

func (x *ProfileMin) Reset()

func (*ProfileMin) String

func (x *ProfileMin) String() string

type ProfileMins

type ProfileMins struct {

	// Minimal representations of the profiles matching the filters.
	Profiles []*ProfileMin `protobuf:"bytes,1,rep,name=profiles,proto3" json:"profiles,omitempty"`
	// Intentionally blank.
	Counts *ProfileCounts `protobuf:"bytes,2,opt,name=counts,proto3" json:"counts,omitempty"`
	// contains filtered or unexported fields
}

func (*ProfileMins) Descriptor deprecated

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

Deprecated: Use ProfileMins.ProtoReflect.Descriptor instead.

func (*ProfileMins) GetCounts

func (x *ProfileMins) GetCounts() *ProfileCounts

func (*ProfileMins) GetProfiles

func (x *ProfileMins) GetProfiles() []*ProfileMin

func (*ProfileMins) ProtoMessage

func (*ProfileMins) ProtoMessage()

func (*ProfileMins) ProtoReflect

func (x *ProfileMins) ProtoReflect() protoreflect.Message

func (*ProfileMins) Reset

func (x *ProfileMins) Reset()

func (*ProfileMins) String

func (x *ProfileMins) String() string

type Query

type Query struct {

	// Unique identifier.
	Id string `protobuf:"bytes,18,opt,name=id,proto3" json:"id,omitempty"`
	// File type, either JSON or CSV.
	Type string `protobuf:"bytes,19,opt,name=type,proto3" json:"type,omitempty"`
	// Filters applied to the report results.
	Filters []*ListFilter   `protobuf:"bytes,20,rep,name=filters,proto3" json:"filters,omitempty"`
	Order   Query_OrderType `` /* 128-byte string literal not displayed */
	// Sort the list of results by a field.
	Sort string `protobuf:"bytes,22,opt,name=sort,proto3" json:"sort,omitempty"`
	// The offset for paginating requests. An offset defines a place in the results in order to show the next page of the results.
	Page int32 `protobuf:"varint,23,opt,name=page,proto3" json:"page,omitempty"`
	// The number of results on each paginated request page.
	PerPage int32 `protobuf:"varint,24,opt,name=per_page,json=perPage,proto3" json:"per_page,omitempty"`
	// contains filtered or unexported fields
}

func (*Query) Descriptor deprecated

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

Deprecated: Use Query.ProtoReflect.Descriptor instead.

func (*Query) GetFilters

func (x *Query) GetFilters() []*ListFilter

func (*Query) GetId

func (x *Query) GetId() string

func (*Query) GetOrder

func (x *Query) GetOrder() Query_OrderType

func (*Query) GetPage

func (x *Query) GetPage() int32

func (*Query) GetPerPage

func (x *Query) GetPerPage() int32

func (*Query) GetSort

func (x *Query) GetSort() string

func (*Query) GetType

func (x *Query) GetType() string

func (*Query) ProtoMessage

func (*Query) ProtoMessage()

func (*Query) ProtoReflect

func (x *Query) ProtoReflect() protoreflect.Message

func (*Query) Reset

func (x *Query) Reset()

func (*Query) String

func (x *Query) String() string

type Query_OrderType

type Query_OrderType int32

Sort the results in ascending or descending order.

const (
	Query_ASC  Query_OrderType = 0
	Query_DESC Query_OrderType = 1
)

func (Query_OrderType) Descriptor

func (Query_OrderType) Enum

func (x Query_OrderType) Enum() *Query_OrderType

func (Query_OrderType) EnumDescriptor deprecated

func (Query_OrderType) EnumDescriptor() ([]byte, []int)

Deprecated: Use Query_OrderType.Descriptor instead.

func (Query_OrderType) Number

func (Query_OrderType) String

func (x Query_OrderType) String() string

func (Query_OrderType) Type

type Ref

type Ref struct {

	// The external document URL.
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// A description of the external document.
	Ref string `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"`
	// contains filtered or unexported fields
}

func (*Ref) Descriptor deprecated

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

Deprecated: Use Ref.ProtoReflect.Descriptor instead.

func (*Ref) GetRef

func (x *Ref) GetRef() string

func (*Ref) GetUrl

func (x *Ref) GetUrl() string

func (*Ref) ProtoMessage

func (*Ref) ProtoMessage()

func (*Ref) ProtoReflect

func (x *Ref) ProtoReflect() protoreflect.Message

func (*Ref) Reset

func (x *Ref) Reset()

func (*Ref) String

func (x *Ref) String() string

type RemovedResultsCounts

type RemovedResultsCounts struct {

	// The number of results with status of `failed` that have been trimmed (removed) from a control
	Failed int32 `protobuf:"varint,1,opt,name=failed,proto3" json:"failed,omitempty"`
	// The number of results with status of `skipped` that have been trimmed (removed) from a control
	Skipped int32 `protobuf:"varint,2,opt,name=skipped,proto3" json:"skipped,omitempty"`
	// The number of results with status of `passed` that have been trimmed (removed) from a control
	Passed int32 `protobuf:"varint,3,opt,name=passed,proto3" json:"passed,omitempty"`
	// contains filtered or unexported fields
}

func (*RemovedResultsCounts) Descriptor deprecated

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

Deprecated: Use RemovedResultsCounts.ProtoReflect.Descriptor instead.

func (*RemovedResultsCounts) GetFailed

func (x *RemovedResultsCounts) GetFailed() int32

func (*RemovedResultsCounts) GetPassed

func (x *RemovedResultsCounts) GetPassed() int32

func (*RemovedResultsCounts) GetSkipped

func (x *RemovedResultsCounts) GetSkipped() int32

func (*RemovedResultsCounts) ProtoMessage

func (*RemovedResultsCounts) ProtoMessage()

func (*RemovedResultsCounts) ProtoReflect

func (x *RemovedResultsCounts) ProtoReflect() protoreflect.Message

func (*RemovedResultsCounts) Reset

func (x *RemovedResultsCounts) Reset()

func (*RemovedResultsCounts) String

func (x *RemovedResultsCounts) String() string

type Report

type Report struct {

	// A unique report identifier.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The reporting node's unique ID.
	NodeId string `protobuf:"bytes,2,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// The reporting node name.
	NodeName string `protobuf:"bytes,3,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"`
	// The time that the report was completed.
	EndTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// The status of the run the report was made from.
	Status string `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"`
	// Intentionally blank.
	Controls *ControlSummary `protobuf:"bytes,6,opt,name=controls,proto3" json:"controls,omitempty"`
	// The environment of the node making the report.
	Environment string `protobuf:"bytes,7,opt,name=environment,proto3" json:"environment,omitempty"`
	// The version of the report.
	Version string `protobuf:"bytes,8,opt,name=version,proto3" json:"version,omitempty"`
	// Intentionally blank.
	Platform *Platform `protobuf:"bytes,9,opt,name=platform,proto3" json:"platform,omitempty"`
	// Intentionally blank.
	Statistics *Statistics `protobuf:"bytes,10,opt,name=statistics,proto3" json:"statistics,omitempty"`
	// The profiles run as part of this report.
	Profiles []*Profile `protobuf:"bytes,11,rep,name=profiles,proto3" json:"profiles,omitempty"`
	// The compliance scan job ID associated with the report.
	JobId string `protobuf:"bytes,12,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"`
	// The reporting node IP address.
	Ipaddress string `protobuf:"bytes,13,opt,name=ipaddress,proto3" json:"ipaddress,omitempty"`
	// The FQDN (fully qualified domain name) of the node making the report.
	Fqdn string `protobuf:"bytes,14,opt,name=fqdn,proto3" json:"fqdn,omitempty"`
	// The Chef Infra Server that manages the node making the report.
	ChefServer string `protobuf:"bytes,15,opt,name=chef_server,json=chefServer,proto3" json:"chef_server,omitempty"`
	// The Organization the node belongs to.
	ChefOrganization string `protobuf:"bytes,16,opt,name=chef_organization,json=chefOrganization,proto3" json:"chef_organization,omitempty"`
	// The Roles associated with the node.
	Roles []string `protobuf:"bytes,17,rep,name=roles,proto3" json:"roles,omitempty"`
	// The Chef Tags associated with the node.
	ChefTags []string `protobuf:"bytes,18,rep,name=chef_tags,json=chefTags,proto3" json:"chef_tags,omitempty"`
	// The projects the node is assigned to.
	Projects []string `protobuf:"bytes,20,rep,name=projects,proto3" json:"projects,omitempty"`
	// The status message of the report.
	StatusMessage string `protobuf:"bytes,21,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"`
	// contains filtered or unexported fields
}

func (*Report) Descriptor deprecated

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

Deprecated: Use Report.ProtoReflect.Descriptor instead.

func (*Report) GetChefOrganization

func (x *Report) GetChefOrganization() string

func (*Report) GetChefServer

func (x *Report) GetChefServer() string

func (*Report) GetChefTags

func (x *Report) GetChefTags() []string

func (*Report) GetControls

func (x *Report) GetControls() *ControlSummary

func (*Report) GetEndTime

func (x *Report) GetEndTime() *timestamppb.Timestamp

func (*Report) GetEnvironment

func (x *Report) GetEnvironment() string

func (*Report) GetFqdn

func (x *Report) GetFqdn() string

func (*Report) GetId

func (x *Report) GetId() string

func (*Report) GetIpaddress

func (x *Report) GetIpaddress() string

func (*Report) GetJobId

func (x *Report) GetJobId() string

func (*Report) GetNodeId

func (x *Report) GetNodeId() string

func (*Report) GetNodeName

func (x *Report) GetNodeName() string

func (*Report) GetPlatform

func (x *Report) GetPlatform() *Platform

func (*Report) GetProfiles

func (x *Report) GetProfiles() []*Profile

func (*Report) GetProjects

func (x *Report) GetProjects() []string

func (*Report) GetRoles

func (x *Report) GetRoles() []string

func (*Report) GetStatistics

func (x *Report) GetStatistics() *Statistics

func (*Report) GetStatus

func (x *Report) GetStatus() string

func (*Report) GetStatusMessage

func (x *Report) GetStatusMessage() string

func (*Report) GetVersion

func (x *Report) GetVersion() string

func (*Report) ProtoMessage

func (*Report) ProtoMessage()

func (*Report) ProtoReflect

func (x *Report) ProtoReflect() protoreflect.Message

func (*Report) Reset

func (x *Report) Reset()

func (*Report) String

func (x *Report) String() string

type ReportData

type ReportData struct {

	// The report run_uuid
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The time in UTC that the scan was completed
	EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// contains filtered or unexported fields
}

func (*ReportData) Descriptor deprecated

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

Deprecated: Use ReportData.ProtoReflect.Descriptor instead.

func (*ReportData) GetEndTime

func (x *ReportData) GetEndTime() *timestamppb.Timestamp

func (*ReportData) GetId

func (x *ReportData) GetId() string

func (*ReportData) ProtoMessage

func (*ReportData) ProtoMessage()

func (*ReportData) ProtoReflect

func (x *ReportData) ProtoReflect() protoreflect.Message

func (*ReportData) Reset

func (x *ReportData) Reset()

func (*ReportData) String

func (x *ReportData) String() string

type ReportIds

type ReportIds struct {

	// The list of unique report identifiers found matching the query.
	Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"`
	// The list of unique report identifiers with their respective end_time, found matching the query.
	ReportData []*ReportData `protobuf:"bytes,2,rep,name=report_data,json=reportData,proto3" json:"report_data,omitempty"`
	// contains filtered or unexported fields
}

func (*ReportIds) Descriptor deprecated

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

Deprecated: Use ReportIds.ProtoReflect.Descriptor instead.

func (*ReportIds) GetIds

func (x *ReportIds) GetIds() []string

func (*ReportIds) GetReportData

func (x *ReportIds) GetReportData() []*ReportData

func (*ReportIds) ProtoMessage

func (*ReportIds) ProtoMessage()

func (*ReportIds) ProtoReflect

func (x *ReportIds) ProtoReflect() protoreflect.Message

func (*ReportIds) Reset

func (x *ReportIds) Reset()

func (*ReportIds) String

func (x *ReportIds) String() string

type ReportSummaryLevelOne

type ReportSummaryLevelOne struct {

	// A unique report identifier.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The reporting node's unique ID.
	NodeId string `protobuf:"bytes,2,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// The reporting node name.
	NodeName string `protobuf:"bytes,3,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"`
	// The time that the report was completed.
	EndTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// The status of the run the report was made from.
	Status string `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"`
	// Intentionally blank.
	Controls *ControlSummary `protobuf:"bytes,6,opt,name=controls,proto3" json:"controls,omitempty"`
	// The reporting node IP address.
	Ipaddress string `protobuf:"bytes,7,opt,name=ipaddress,proto3" json:"ipaddress,omitempty"`
	// contains filtered or unexported fields
}

func (*ReportSummaryLevelOne) Descriptor deprecated

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

Deprecated: Use ReportSummaryLevelOne.ProtoReflect.Descriptor instead.

func (*ReportSummaryLevelOne) GetControls

func (x *ReportSummaryLevelOne) GetControls() *ControlSummary

func (*ReportSummaryLevelOne) GetEndTime

func (x *ReportSummaryLevelOne) GetEndTime() *timestamppb.Timestamp

func (*ReportSummaryLevelOne) GetId

func (x *ReportSummaryLevelOne) GetId() string

func (*ReportSummaryLevelOne) GetIpaddress

func (x *ReportSummaryLevelOne) GetIpaddress() string

func (*ReportSummaryLevelOne) GetNodeId

func (x *ReportSummaryLevelOne) GetNodeId() string

func (*ReportSummaryLevelOne) GetNodeName

func (x *ReportSummaryLevelOne) GetNodeName() string

func (*ReportSummaryLevelOne) GetStatus

func (x *ReportSummaryLevelOne) GetStatus() string

func (*ReportSummaryLevelOne) ProtoMessage

func (*ReportSummaryLevelOne) ProtoMessage()

func (*ReportSummaryLevelOne) ProtoReflect

func (x *ReportSummaryLevelOne) ProtoReflect() protoreflect.Message

func (*ReportSummaryLevelOne) Reset

func (x *ReportSummaryLevelOne) Reset()

func (*ReportSummaryLevelOne) String

func (x *ReportSummaryLevelOne) String() string

type ReportingServiceClient

type ReportingServiceClient interface {
	// List Reports
	//
	// Makes a list of reports. Adding a filter makes a list of all node reports that meet the filter criteria.
	// Supports pagination, filtering, and sorting.
	// Max return payload size is 4MB, use pagination to fetch remaining data.
	//
	// Valid sort fields: latest_report.controls.failed.critical, latest_report.controls.failed.total, latest_report.end_time, latest_report.status, node_name
	//
	// Example:
	// “`
	// {"filters":
	// [
	// {"type":"start_time","values":["2019-09-09T00:00:00Z"]},
	// {"type":"end_time","values":["2019-09-11T23:59:59Z"]}
	// ],
	// "page":1, "per_page": 3,
	// "sort": "latest_report.status", "order": "ASC"
	// }
	// “`
	//
	// Authorization Action:
	// “`
	// “`
	//
	//compliance:reports:list
	ListReports(ctx context.Context, in *Query, opts ...grpc.CallOption) (*ReportsSummaryLevelOne, error)
	// List Report IDs
	//
	// List all IDs for the latest report for each node, with optional filtering.
	// Supports filtering, but not pagination or sorting.
	// Including more than one value for `profile_id`, or `profile_name` is not allowed.
	// Including values for both `profile_id` and `profile_name` in one request is not allowed.
	// Max return payload size is 4MB.
	//
	// Authorization Action:
	// “`
	// “`
	//
	//compliance:reportids:list
	ListReportIds(ctx context.Context, in *Query, opts ...grpc.CallOption) (*ReportIds, error)
	// List Controls
	//
	// Lists controls from the last run, with optional filtering.
	// Supports filtering,pagination but not sorting.
	// Limited to 100 results by default.
	//
	// Authorization Action:
	// “`
	// “`
	//
	//compliance:controlItems:list
	ListControlItems(ctx context.Context, in *ControlItemRequest, opts ...grpc.CallOption) (*ControlItems, error)
	// List Control Info
	//
	// Lists controls from the last run, with optional filtering.
	// Supports filtering and pagination. Maximum 100 search can be
	// made when specifying the pagination from and size. Sum of from+size
	// should be less that 100. By default 10 results will be returned.
	// Authorization Action:
	// “`
	// compliance:ControlElements:list
	// “`
	ListControlInfo(ctx context.Context, in *Query, opts ...grpc.CallOption) (*ControlElements, error)
	// Show Report by ID
	//
	// Show a specific report by ID. Supports filtering, but not pagination or sorting.
	// Including more than one value for `profile_id`, or `profile_name` is not allowed.
	// Including values for both `profile_id` and `profile_name` in one request is not allowed.
	//
	// Authorization Action:
	// “`
	// “`
	//
	//compliance:reports:get
	ReadReport(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Report, error)
	// Show Node Header Info From Report ID
	//
	// Show specific details about node, report and metadate provided the report ID.
	// Supports filtering, but not pagination or sorting.
	//
	// Authorization Action:
	// “`
	// “`
	//
	//compliance:nodeheader:get
	ReadNodeHeader(ctx context.Context, in *Query, opts ...grpc.CallOption) (*NodeHeaderInfo, error)
	// List Reporting Suggestions
	//
	// Get suggestions for compliance reporting resources based on matching text substrings.
	// Supports filtering, but not pagination or sorting.
	// `type` parameter is required. It must be one of the parameters from the following table.
	//
	// | Suggestion type parameter | Suggestion type value |
	// | --- | --- |
	// | chef_server | source_fqdn |
	// | chef_tags | chef_tags |
	// | control | profiles.controls.title |
	// | control_tag_key | profiles.controls.string_tags.key |
	// | control_tag_value | profiles.controls.string_tags.values |
	// | environment | environment |
	// | inspec_version | version |
	// | node | node_name |
	// | organization | organization_name |
	// | platform | platform.name |
	// | platform_with_version | platform.full |
	// | policy_group | policy_group |
	// | policy_name | policy_name |
	// | profile | profiles.title |
	// | profile_with_version | profiles.full |
	// | recipe | recipes |
	// | role | roles |
	//
	// Example:
	// “`
	// {
	// "type":"environment",
	// "text":"aws*",
	// "filters":[
	// {"type":"start_time","values":["2019-10-26T00:00:00Z"]},
	// {"type":"end_time","values":["2019-11-05T23:59:59Z"]}
	// ]
	// }
	// “`
	//
	// Authorization Action:
	// “`
	// “`
	//
	//compliance:reportSuggestions:list
	ListSuggestions(ctx context.Context, in *SuggestionRequest, opts ...grpc.CallOption) (*Suggestions, error)
	// List Profiles
	//
	// List all profiles in use, with optional filtering.
	// Supports pagination, filtering, and sorting.
	// Valid sort fields: name, title
	//
	// The API supports date range filters when `end_time` is the current time
	// and `start_time` is any time in last 90 days. In case, the `end_time` is any
	// date other than the current date, the API would return data only for the `end_time`.
	//
	// Example:
	// “`
	// {"filters":
	// [
	// {"type":"start_time","values":["2019-09-09T00:00:00Z"]},
	// {"type":"end_time","values":["2019-09-11T23:59:59Z"]}
	// ],
	// "page":1, "per_page": 3,
	// }
	// “`
	// Authorization Action:
	// “`
	// “`
	//
	//compliance:reportProfiles:list
	ListProfiles(ctx context.Context, in *Query, opts ...grpc.CallOption) (*ProfileMins, error)
	Export(ctx context.Context, in *Query, opts ...grpc.CallOption) (ReportingService_ExportClient, error)
	ExportNode(ctx context.Context, in *Query, opts ...grpc.CallOption) (ReportingService_ExportNodeClient, error)
	// Export reports
	//
	// Export multiple reports.
	// Supports filtering by profile or control. API returns an acknowledgement ID.
	//
	// Authorization Action:
	// “`
	// “`
	//
	//compliance:reports:list
	ExportReportManager(ctx context.Context, in *Query, opts ...grpc.CallOption) (*CustomReportResponse, error)
	// Show Node by ID
	//
	// Show a specific node by ID.
	// Supports filtering by profile or control.
	// Does not support pagination or sorting.
	//
	// Authorization Action:
	// “`
	// “`
	//
	//compliance:reportNodes:get
	ReadNode(ctx context.Context, in *Id, opts ...grpc.CallOption) (*Node, error)
	// List Nodes
	//
	// List all nodes, with optional filtering, pagination, and sorting.
	// Max return payload size is 4MB, use pagination to fetch remaining data.
	// | Sort parameter | Sort value |
	// | --- | --- |
	// | environment | environment.lower |
	// | latest_report.controls.failed.critical | controls_sums.failed.critical |
	// | latest_report.controls.failed.total | controls_sums.failed.total |
	// | latest_report.end_time (default) | end_time |
	// | latest_report.status | status |
	// | name | node_name.lower |
	// | platform | platform.full |
	// | status | status |
	//
	// The API supports date range filters when `end_time` is the current time
	// and `start_time` is any time in last 90 days. In case, the `end_time` is any
	// date other than the current date, the API would return data only for the `end_time`.
	//
	// Example:
	// “`
	// {
	// "filters":[
	// {"type":"environment","values":["dev*"]},
	// {"type":"start_time","values":["2019-10-26T00:00:00Z"]},
	// {"type":"end_time","values":["2019-11-05T23:59:59Z"]}
	// ],
	// "page":1,"per_page":100,
	// "sort":"environment","order":"ASC"
	// }
	// “`
	//
	// Authorization Action:
	// “`
	// “`
	//
	//compliance:reportNodes:list
	ListNodes(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Nodes, error)
	GetVersion(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*version.VersionInfo, error)
	LicenseUsageNodes(ctx context.Context, in *TimeQuery, opts ...grpc.CallOption) (*Reports, error)
	// Assets Count
	//
	// Count the compliance assets based on different filter options.
	// The API returns the response based on reported and unreported assets
	//
	// Authorization Action:
	// “`
	// “`
	//
	//compliance:reports:list
	AssetCount(ctx context.Context, in *ListFilters, opts ...grpc.CallOption) (*AssetSummary, error)
	// List Assets
	//
	// Lists the compliance assets based on different filter options.
	// The API works with filtering assets based on collected, uncollected, unreported and unreachable assets
	//
	// Authorization Action:
	// “`
	// “`
	//
	//compliance:reports:list
	ListAsset(ctx context.Context, in *AssetListRequest, opts ...grpc.CallOption) (*AssetListResponse, error)
	// Set Unreachable Assets Config
	//
	// SetAssetConfig sets the compliance config with the parameters of no of days
	// And API returns the policy name and no of the days which will set in the compliance data base
	//
	// Authorization Action:
	// “`
	// “`
	//
	//compliance:reports:update
	SetAssetConfig(ctx context.Context, in *ComplianceConfigRequest, opts ...grpc.CallOption) (*ComplianceConfigResponse, error)
	// Get Assets Config
	//
	// GetAssetConfig gets the config details from the compliance data base
	// and API return the policy name and no of days
	// Authorization Action:
	// “`
	// “`
	//
	//compliance:reports:get
	GetAssetConfig(ctx context.Context, in *GetAssetConfigRequest, opts ...grpc.CallOption) (*ComplianceConfigResponse, error)
	// List Controls Search
	//
	// Lists controls from the last run, with optional filtering.
	// Supports filtering,pagination but not sorting.
	// Limited to 100 results by default.
	// Gets the summary of each control.
	//
	// The API supports date range filters when `end_time` is the current time
	// and `start_time` is any time in last 90 days. In case, the `end_time` is any
	// date other than the current date, the API would return data only for the `end_time`.
	//
	// Example:
	// “`
	// {"filters":
	// [
	// {"type":"start_time","values":["2019-09-09T00:00:00Z"]},
	// {"type":"end_time","values":["2019-09-11T23:59:59Z"]}
	// ],
	// "page_number":1, "size": 3,
	// }
	// “`
	//
	// Authorization Action:
	// “`
	// “`
	//
	//compliance:controlItems:list
	ListControlItemsRange(ctx context.Context, in *ControlItemRequest, opts ...grpc.CallOption) (*ControlItems, error)
}

ReportingServiceClient is the client API for ReportingService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type ReportingServiceServer

type ReportingServiceServer interface {
	// List Reports
	//
	// Makes a list of reports. Adding a filter makes a list of all node reports that meet the filter criteria.
	// Supports pagination, filtering, and sorting.
	// Max return payload size is 4MB, use pagination to fetch remaining data.
	//
	// Valid sort fields: latest_report.controls.failed.critical, latest_report.controls.failed.total, latest_report.end_time, latest_report.status, node_name
	//
	// Example:
	// “`
	// {"filters":
	// [
	// {"type":"start_time","values":["2019-09-09T00:00:00Z"]},
	// {"type":"end_time","values":["2019-09-11T23:59:59Z"]}
	// ],
	// "page":1, "per_page": 3,
	// "sort": "latest_report.status", "order": "ASC"
	// }
	// “`
	//
	// Authorization Action:
	// “`
	// “`
	//
	//compliance:reports:list
	ListReports(context.Context, *Query) (*ReportsSummaryLevelOne, error)
	// List Report IDs
	//
	// List all IDs for the latest report for each node, with optional filtering.
	// Supports filtering, but not pagination or sorting.
	// Including more than one value for `profile_id`, or `profile_name` is not allowed.
	// Including values for both `profile_id` and `profile_name` in one request is not allowed.
	// Max return payload size is 4MB.
	//
	// Authorization Action:
	// “`
	// “`
	//
	//compliance:reportids:list
	ListReportIds(context.Context, *Query) (*ReportIds, error)
	// List Controls
	//
	// Lists controls from the last run, with optional filtering.
	// Supports filtering,pagination but not sorting.
	// Limited to 100 results by default.
	//
	// Authorization Action:
	// “`
	// “`
	//
	//compliance:controlItems:list
	ListControlItems(context.Context, *ControlItemRequest) (*ControlItems, error)
	// List Control Info
	//
	// Lists controls from the last run, with optional filtering.
	// Supports filtering and pagination. Maximum 100 search can be
	// made when specifying the pagination from and size. Sum of from+size
	// should be less that 100. By default 10 results will be returned.
	// Authorization Action:
	// “`
	// compliance:ControlElements:list
	// “`
	ListControlInfo(context.Context, *Query) (*ControlElements, error)
	// Show Report by ID
	//
	// Show a specific report by ID. Supports filtering, but not pagination or sorting.
	// Including more than one value for `profile_id`, or `profile_name` is not allowed.
	// Including values for both `profile_id` and `profile_name` in one request is not allowed.
	//
	// Authorization Action:
	// “`
	// “`
	//
	//compliance:reports:get
	ReadReport(context.Context, *Query) (*Report, error)
	// Show Node Header Info From Report ID
	//
	// Show specific details about node, report and metadate provided the report ID.
	// Supports filtering, but not pagination or sorting.
	//
	// Authorization Action:
	// “`
	// “`
	//
	//compliance:nodeheader:get
	ReadNodeHeader(context.Context, *Query) (*NodeHeaderInfo, error)
	// List Reporting Suggestions
	//
	// Get suggestions for compliance reporting resources based on matching text substrings.
	// Supports filtering, but not pagination or sorting.
	// `type` parameter is required. It must be one of the parameters from the following table.
	//
	// | Suggestion type parameter | Suggestion type value |
	// | --- | --- |
	// | chef_server | source_fqdn |
	// | chef_tags | chef_tags |
	// | control | profiles.controls.title |
	// | control_tag_key | profiles.controls.string_tags.key |
	// | control_tag_value | profiles.controls.string_tags.values |
	// | environment | environment |
	// | inspec_version | version |
	// | node | node_name |
	// | organization | organization_name |
	// | platform | platform.name |
	// | platform_with_version | platform.full |
	// | policy_group | policy_group |
	// | policy_name | policy_name |
	// | profile | profiles.title |
	// | profile_with_version | profiles.full |
	// | recipe | recipes |
	// | role | roles |
	//
	// Example:
	// “`
	// {
	// "type":"environment",
	// "text":"aws*",
	// "filters":[
	// {"type":"start_time","values":["2019-10-26T00:00:00Z"]},
	// {"type":"end_time","values":["2019-11-05T23:59:59Z"]}
	// ]
	// }
	// “`
	//
	// Authorization Action:
	// “`
	// “`
	//
	//compliance:reportSuggestions:list
	ListSuggestions(context.Context, *SuggestionRequest) (*Suggestions, error)
	// List Profiles
	//
	// List all profiles in use, with optional filtering.
	// Supports pagination, filtering, and sorting.
	// Valid sort fields: name, title
	//
	// The API supports date range filters when `end_time` is the current time
	// and `start_time` is any time in last 90 days. In case, the `end_time` is any
	// date other than the current date, the API would return data only for the `end_time`.
	//
	// Example:
	// “`
	// {"filters":
	// [
	// {"type":"start_time","values":["2019-09-09T00:00:00Z"]},
	// {"type":"end_time","values":["2019-09-11T23:59:59Z"]}
	// ],
	// "page":1, "per_page": 3,
	// }
	// “`
	// Authorization Action:
	// “`
	// “`
	//
	//compliance:reportProfiles:list
	ListProfiles(context.Context, *Query) (*ProfileMins, error)
	Export(*Query, ReportingService_ExportServer) error
	ExportNode(*Query, ReportingService_ExportNodeServer) error
	// Export reports
	//
	// Export multiple reports.
	// Supports filtering by profile or control. API returns an acknowledgement ID.
	//
	// Authorization Action:
	// “`
	// “`
	//
	//compliance:reports:list
	ExportReportManager(context.Context, *Query) (*CustomReportResponse, error)
	// Show Node by ID
	//
	// Show a specific node by ID.
	// Supports filtering by profile or control.
	// Does not support pagination or sorting.
	//
	// Authorization Action:
	// “`
	// “`
	//
	//compliance:reportNodes:get
	ReadNode(context.Context, *Id) (*Node, error)
	// List Nodes
	//
	// List all nodes, with optional filtering, pagination, and sorting.
	// Max return payload size is 4MB, use pagination to fetch remaining data.
	// | Sort parameter | Sort value |
	// | --- | --- |
	// | environment | environment.lower |
	// | latest_report.controls.failed.critical | controls_sums.failed.critical |
	// | latest_report.controls.failed.total | controls_sums.failed.total |
	// | latest_report.end_time (default) | end_time |
	// | latest_report.status | status |
	// | name | node_name.lower |
	// | platform | platform.full |
	// | status | status |
	//
	// The API supports date range filters when `end_time` is the current time
	// and `start_time` is any time in last 90 days. In case, the `end_time` is any
	// date other than the current date, the API would return data only for the `end_time`.
	//
	// Example:
	// “`
	// {
	// "filters":[
	// {"type":"environment","values":["dev*"]},
	// {"type":"start_time","values":["2019-10-26T00:00:00Z"]},
	// {"type":"end_time","values":["2019-11-05T23:59:59Z"]}
	// ],
	// "page":1,"per_page":100,
	// "sort":"environment","order":"ASC"
	// }
	// “`
	//
	// Authorization Action:
	// “`
	// “`
	//
	//compliance:reportNodes:list
	ListNodes(context.Context, *Query) (*Nodes, error)
	GetVersion(context.Context, *emptypb.Empty) (*version.VersionInfo, error)
	LicenseUsageNodes(context.Context, *TimeQuery) (*Reports, error)
	// Assets Count
	//
	// Count the compliance assets based on different filter options.
	// The API returns the response based on reported and unreported assets
	//
	// Authorization Action:
	// “`
	// “`
	//
	//compliance:reports:list
	AssetCount(context.Context, *ListFilters) (*AssetSummary, error)
	// List Assets
	//
	// Lists the compliance assets based on different filter options.
	// The API works with filtering assets based on collected, uncollected, unreported and unreachable assets
	//
	// Authorization Action:
	// “`
	// “`
	//
	//compliance:reports:list
	ListAsset(context.Context, *AssetListRequest) (*AssetListResponse, error)
	// Set Unreachable Assets Config
	//
	// SetAssetConfig sets the compliance config with the parameters of no of days
	// And API returns the policy name and no of the days which will set in the compliance data base
	//
	// Authorization Action:
	// “`
	// “`
	//
	//compliance:reports:update
	SetAssetConfig(context.Context, *ComplianceConfigRequest) (*ComplianceConfigResponse, error)
	// Get Assets Config
	//
	// GetAssetConfig gets the config details from the compliance data base
	// and API return the policy name and no of days
	// Authorization Action:
	// “`
	// “`
	//
	//compliance:reports:get
	GetAssetConfig(context.Context, *GetAssetConfigRequest) (*ComplianceConfigResponse, error)
	// List Controls Search
	//
	// Lists controls from the last run, with optional filtering.
	// Supports filtering,pagination but not sorting.
	// Limited to 100 results by default.
	// Gets the summary of each control.
	//
	// The API supports date range filters when `end_time` is the current time
	// and `start_time` is any time in last 90 days. In case, the `end_time` is any
	// date other than the current date, the API would return data only for the `end_time`.
	//
	// Example:
	// “`
	// {"filters":
	// [
	// {"type":"start_time","values":["2019-09-09T00:00:00Z"]},
	// {"type":"end_time","values":["2019-09-11T23:59:59Z"]}
	// ],
	// "page_number":1, "size": 3,
	// }
	// “`
	//
	// Authorization Action:
	// “`
	// “`
	//
	//compliance:controlItems:list
	ListControlItemsRange(context.Context, *ControlItemRequest) (*ControlItems, error)
}

ReportingServiceServer is the server API for ReportingService service.

type ReportingService_ExportClient

type ReportingService_ExportClient interface {
	Recv() (*common.ExportData, error)
	grpc.ClientStream
}

type ReportingService_ExportNodeClient

type ReportingService_ExportNodeClient interface {
	Recv() (*common.ExportData, error)
	grpc.ClientStream
}

type ReportingService_ExportNodeServer

type ReportingService_ExportNodeServer interface {
	Send(*common.ExportData) error
	grpc.ServerStream
}

type ReportingService_ExportServer

type ReportingService_ExportServer interface {
	Send(*common.ExportData) error
	grpc.ServerStream
}

type Reports

type Reports struct {

	// Paginated results of reports matching the filters.
	Reports []*Report `protobuf:"bytes,1,rep,name=reports,proto3" json:"reports,omitempty"`
	// Total number of reports matching the filters.
	Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
	// contains filtered or unexported fields
}

func (*Reports) Descriptor deprecated

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

Deprecated: Use Reports.ProtoReflect.Descriptor instead.

func (*Reports) GetReports

func (x *Reports) GetReports() []*Report

func (*Reports) GetTotal

func (x *Reports) GetTotal() int32

func (*Reports) ProtoMessage

func (*Reports) ProtoMessage()

func (*Reports) ProtoReflect

func (x *Reports) ProtoReflect() protoreflect.Message

func (*Reports) Reset

func (x *Reports) Reset()

func (*Reports) String

func (x *Reports) String() string

type ReportsSummaryLevelOne

type ReportsSummaryLevelOne struct {

	// Paginated results of summary level reports matching the filters.
	Reports []*ReportSummaryLevelOne `protobuf:"bytes,1,rep,name=reports,proto3" json:"reports,omitempty"`
	// Total number of reports matching the filters.
	Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
	// contains filtered or unexported fields
}

ReportsSummaryLevelOne used for ListReports call

func (*ReportsSummaryLevelOne) Descriptor deprecated

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

Deprecated: Use ReportsSummaryLevelOne.ProtoReflect.Descriptor instead.

func (*ReportsSummaryLevelOne) GetReports

func (x *ReportsSummaryLevelOne) GetReports() []*ReportSummaryLevelOne

func (*ReportsSummaryLevelOne) GetTotal

func (x *ReportsSummaryLevelOne) GetTotal() int32

func (*ReportsSummaryLevelOne) ProtoMessage

func (*ReportsSummaryLevelOne) ProtoMessage()

func (*ReportsSummaryLevelOne) ProtoReflect

func (x *ReportsSummaryLevelOne) ProtoReflect() protoreflect.Message

func (*ReportsSummaryLevelOne) Reset

func (x *ReportsSummaryLevelOne) Reset()

func (*ReportsSummaryLevelOne) String

func (x *ReportsSummaryLevelOne) String() string

type Result

type Result struct {

	// The status of the test.
	Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// The description of the test.
	CodeDesc string `protobuf:"bytes,2,opt,name=code_desc,json=codeDesc,proto3" json:"code_desc,omitempty"`
	// The time taken to run the test.
	RunTime float32 `protobuf:"fixed32,3,opt,name=run_time,json=runTime,proto3" json:"run_time,omitempty"`
	// The timestamp of when this individual test was run.
	StartTime string `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// The reason the test failed, if any.
	Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"`
	// The reason the test was skipped, if any.
	SkipMessage string `protobuf:"bytes,6,opt,name=skip_message,json=skipMessage,proto3" json:"skip_message,omitempty"`
	// contains filtered or unexported fields
}

func (*Result) Descriptor deprecated

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

Deprecated: Use Result.ProtoReflect.Descriptor instead.

func (*Result) GetCodeDesc

func (x *Result) GetCodeDesc() string

func (*Result) GetMessage

func (x *Result) GetMessage() string

func (*Result) GetRunTime

func (x *Result) GetRunTime() float32

func (*Result) GetSkipMessage

func (x *Result) GetSkipMessage() string

func (*Result) GetStartTime

func (x *Result) GetStartTime() string

func (*Result) GetStatus

func (x *Result) GetStatus() string

func (*Result) ProtoMessage

func (*Result) ProtoMessage()

func (*Result) ProtoReflect

func (x *Result) ProtoReflect() protoreflect.Message

func (*Result) Reset

func (x *Result) Reset()

func (*Result) String

func (x *Result) String() string

type SourceLocation

type SourceLocation struct {

	// The source code file the control is defined in.
	Ref string `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"`
	// The line number the control is defined on.
	Line int32 `protobuf:"varint,2,opt,name=line,proto3" json:"line,omitempty"`
	// contains filtered or unexported fields
}

func (*SourceLocation) Descriptor deprecated

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

Deprecated: Use SourceLocation.ProtoReflect.Descriptor instead.

func (*SourceLocation) GetLine

func (x *SourceLocation) GetLine() int32

func (*SourceLocation) GetRef

func (x *SourceLocation) GetRef() string

func (*SourceLocation) ProtoMessage

func (*SourceLocation) ProtoMessage()

func (*SourceLocation) ProtoReflect

func (x *SourceLocation) ProtoReflect() protoreflect.Message

func (*SourceLocation) Reset

func (x *SourceLocation) Reset()

func (*SourceLocation) String

func (x *SourceLocation) String() string

type Statistics

type Statistics struct {

	// The duration of the report's generation time.
	Duration float32 `protobuf:"fixed32,1,opt,name=duration,proto3" json:"duration,omitempty"`
	// contains filtered or unexported fields
}

Statistics of the report's run.

func (*Statistics) Descriptor deprecated

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

Deprecated: Use Statistics.ProtoReflect.Descriptor instead.

func (*Statistics) GetDuration

func (x *Statistics) GetDuration() float32

func (*Statistics) ProtoMessage

func (*Statistics) ProtoMessage()

func (*Statistics) ProtoReflect

func (x *Statistics) ProtoReflect() protoreflect.Message

func (*Statistics) Reset

func (x *Statistics) Reset()

func (*Statistics) String

func (x *Statistics) String() string

type Suggestion

type Suggestion struct {

	// The content that matched the search term.
	Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
	// The ID of the resource that was suggested.
	Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// The confidence in the match quality.
	Score float32 `protobuf:"fixed32,3,opt,name=score,proto3" json:"score,omitempty"`
	// The version of the suggestion.
	Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*Suggestion) Descriptor deprecated

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

Deprecated: Use Suggestion.ProtoReflect.Descriptor instead.

func (*Suggestion) GetId

func (x *Suggestion) GetId() string

func (*Suggestion) GetScore

func (x *Suggestion) GetScore() float32

func (*Suggestion) GetText

func (x *Suggestion) GetText() string

func (*Suggestion) GetVersion

func (x *Suggestion) GetVersion() string

func (*Suggestion) ProtoMessage

func (*Suggestion) ProtoMessage()

func (*Suggestion) ProtoReflect

func (x *Suggestion) ProtoReflect() protoreflect.Message

func (*Suggestion) Reset

func (x *Suggestion) Reset()

func (*Suggestion) String

func (x *Suggestion) String() string

type SuggestionRequest

type SuggestionRequest struct {

	// The type of resource to get suggestions for.
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	// The term to use to match resources on.
	Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
	// The maximum number of suggestions to return.
	Size int32 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"`
	// The criteria used to filter the suggestions returned.
	Filters []*ListFilter `protobuf:"bytes,4,rep,name=filters,proto3" json:"filters,omitempty"`
	// The key (e.g. control_tag_key) to use for the type search.
	TypeKey string `protobuf:"bytes,5,opt,name=type_key,json=typeKey,proto3" json:"type_key,omitempty"`
	// contains filtered or unexported fields
}

func (*SuggestionRequest) Descriptor deprecated

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

Deprecated: Use SuggestionRequest.ProtoReflect.Descriptor instead.

func (*SuggestionRequest) GetFilters

func (x *SuggestionRequest) GetFilters() []*ListFilter

func (*SuggestionRequest) GetSize

func (x *SuggestionRequest) GetSize() int32

func (*SuggestionRequest) GetText

func (x *SuggestionRequest) GetText() string

func (*SuggestionRequest) GetType

func (x *SuggestionRequest) GetType() string

func (*SuggestionRequest) GetTypeKey

func (x *SuggestionRequest) GetTypeKey() string

func (*SuggestionRequest) ProtoMessage

func (*SuggestionRequest) ProtoMessage()

func (*SuggestionRequest) ProtoReflect

func (x *SuggestionRequest) ProtoReflect() protoreflect.Message

func (*SuggestionRequest) Reset

func (x *SuggestionRequest) Reset()

func (*SuggestionRequest) String

func (x *SuggestionRequest) String() string

type Suggestions

type Suggestions struct {

	// The list of returned suggestions.
	Suggestions []*Suggestion `protobuf:"bytes,1,rep,name=suggestions,proto3" json:"suggestions,omitempty"`
	// contains filtered or unexported fields
}

func (*Suggestions) Descriptor deprecated

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

Deprecated: Use Suggestions.ProtoReflect.Descriptor instead.

func (*Suggestions) GetSuggestions

func (x *Suggestions) GetSuggestions() []*Suggestion

func (*Suggestions) ProtoMessage

func (*Suggestions) ProtoMessage()

func (*Suggestions) ProtoReflect

func (x *Suggestions) ProtoReflect() protoreflect.Message

func (*Suggestions) Reset

func (x *Suggestions) Reset()

func (*Suggestions) String

func (x *Suggestions) String() string

type Support

type Support struct {

	// The name of the supported operating system.
	OsName string `protobuf:"bytes,1,opt,name=os_name,json=osName,proto3" json:"os_name,omitempty"`
	// The wider category of supported platform (e.g., linux, windows).
	OsFamily string `protobuf:"bytes,2,opt,name=os_family,json=osFamily,proto3" json:"os_family,omitempty"`
	// The specific operating system release number this profile supports.
	Release string `protobuf:"bytes,3,opt,name=release,proto3" json:"release,omitempty"`
	// The supported inspec version for this profile.
	InspecVersion string `protobuf:"bytes,4,opt,name=inspec_version,json=inspecVersion,proto3" json:"inspec_version,omitempty"`
	// The platform name and version combined.
	Platform string `protobuf:"bytes,5,opt,name=platform,proto3" json:"platform,omitempty"`
	// contains filtered or unexported fields
}

func (*Support) Descriptor deprecated

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

Deprecated: Use Support.ProtoReflect.Descriptor instead.

func (*Support) GetInspecVersion

func (x *Support) GetInspecVersion() string

func (*Support) GetOsFamily

func (x *Support) GetOsFamily() string

func (*Support) GetOsName

func (x *Support) GetOsName() string

func (*Support) GetPlatform

func (x *Support) GetPlatform() string

func (*Support) GetRelease

func (x *Support) GetRelease() string

func (*Support) ProtoMessage

func (*Support) ProtoMessage()

func (*Support) ProtoReflect

func (x *Support) ProtoReflect() protoreflect.Message

func (*Support) Reset

func (x *Support) Reset()

func (*Support) String

func (x *Support) String() string

type TimeQuery

type TimeQuery struct {
	StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// contains filtered or unexported fields
}

func (*TimeQuery) Descriptor deprecated

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

Deprecated: Use TimeQuery.ProtoReflect.Descriptor instead.

func (*TimeQuery) GetStartTime

func (x *TimeQuery) GetStartTime() *timestamppb.Timestamp

func (*TimeQuery) ProtoMessage

func (*TimeQuery) ProtoMessage()

func (*TimeQuery) ProtoReflect

func (x *TimeQuery) ProtoReflect() protoreflect.Message

func (*TimeQuery) Reset

func (x *TimeQuery) Reset()

func (*TimeQuery) String

func (x *TimeQuery) String() string

type Total

type Total struct {

	// The total number of controls.
	Total int32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	// contains filtered or unexported fields
}

A subtotal of controls.

func (*Total) Descriptor deprecated

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

Deprecated: Use Total.ProtoReflect.Descriptor instead.

func (*Total) GetTotal

func (x *Total) GetTotal() int32

func (*Total) ProtoMessage

func (*Total) ProtoMessage()

func (*Total) ProtoReflect

func (x *Total) ProtoReflect() protoreflect.Message

func (*Total) Reset

func (x *Total) Reset()

func (*Total) String

func (x *Total) String() string

type Uncollected

type Uncollected struct {

	// Total count of unreachable assets
	Unreachable int32 `protobuf:"varint,1,opt,name=unreachable,proto3" json:"unreachable,omitempty"`
	// Total count of unreported assets
	Unreported int32 `protobuf:"varint,2,opt,name=unreported,proto3" json:"unreported,omitempty"`
	// contains filtered or unexported fields
}

func (*Uncollected) Descriptor deprecated

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

Deprecated: Use Uncollected.ProtoReflect.Descriptor instead.

func (*Uncollected) GetUnreachable

func (x *Uncollected) GetUnreachable() int32

func (*Uncollected) GetUnreported

func (x *Uncollected) GetUnreported() int32

func (*Uncollected) ProtoMessage

func (*Uncollected) ProtoMessage()

func (*Uncollected) ProtoReflect

func (x *Uncollected) ProtoReflect() protoreflect.Message

func (*Uncollected) Reset

func (x *Uncollected) Reset()

func (*Uncollected) String

func (x *Uncollected) String() string

type UnimplementedReportingServiceServer

type UnimplementedReportingServiceServer struct {
}

UnimplementedReportingServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedReportingServiceServer) AssetCount

func (*UnimplementedReportingServiceServer) Export

func (*UnimplementedReportingServiceServer) ExportNode

func (*UnimplementedReportingServiceServer) ExportReportManager

func (*UnimplementedReportingServiceServer) GetAssetConfig

func (*UnimplementedReportingServiceServer) GetVersion

func (*UnimplementedReportingServiceServer) LicenseUsageNodes

func (*UnimplementedReportingServiceServer) ListAsset

func (*UnimplementedReportingServiceServer) ListControlInfo

func (*UnimplementedReportingServiceServer) ListControlItems

func (*UnimplementedReportingServiceServer) ListControlItemsRange

func (*UnimplementedReportingServiceServer) ListNodes

func (*UnimplementedReportingServiceServer) ListProfiles

func (*UnimplementedReportingServiceServer) ListReportIds

func (*UnimplementedReportingServiceServer) ListReports

func (*UnimplementedReportingServiceServer) ListSuggestions

func (*UnimplementedReportingServiceServer) ReadNode

func (*UnimplementedReportingServiceServer) ReadNodeHeader

func (*UnimplementedReportingServiceServer) ReadReport

func (*UnimplementedReportingServiceServer) SetAssetConfig

type WaiverData

type WaiverData struct {

	// The waived state of the control item. Possible values: `yes`, `yes_run`, `no`, `no_expired`.
	WaivedStr string `protobuf:"bytes,1,opt,name=waived_str,json=waivedStr,proto3" json:"waived_str,omitempty"`
	// The expiration date for the waiver. After this date, the control is no longer waived.
	ExpirationDate string `protobuf:"bytes,2,opt,name=expiration_date,json=expirationDate,proto3" json:"expiration_date,omitempty"`
	// The reason for the waiver.
	Justification string `protobuf:"bytes,3,opt,name=justification,proto3" json:"justification,omitempty"`
	// Intentionally blank.
	WaiverSummary *ControlSummary `protobuf:"bytes,4,opt,name=waiver_summary,json=waiverSummary,proto3" json:"waiver_summary,omitempty"`
	// contains filtered or unexported fields
}

func (*WaiverData) Descriptor deprecated

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

Deprecated: Use WaiverData.ProtoReflect.Descriptor instead.

func (*WaiverData) GetExpirationDate

func (x *WaiverData) GetExpirationDate() string

func (*WaiverData) GetJustification

func (x *WaiverData) GetJustification() string

func (*WaiverData) GetWaivedStr

func (x *WaiverData) GetWaivedStr() string

func (*WaiverData) GetWaiverSummary

func (x *WaiverData) GetWaiverSummary() *ControlSummary

func (*WaiverData) ProtoMessage

func (*WaiverData) ProtoMessage()

func (*WaiverData) ProtoReflect

func (x *WaiverData) ProtoReflect() protoreflect.Message

func (*WaiverData) Reset

func (x *WaiverData) Reset()

func (*WaiverData) String

func (x *WaiverData) String() string

Directories

Path Synopsis
Package stats is a reverse proxy.
Package stats is a reverse proxy.

Jump to

Keyboard shortcuts

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