Documentation ¶
Overview ¶
Package securityandcompliancecenterapiv3 : Operations and models for the SecurityAndComplianceCenterApiV3 service
Index ¶
- Constants
- func ConstructServiceURL(providedUrlVariables map[string]string) (string, error)
- func GetServiceURLForRegion(region string) (string, error)
- func UnmarshalAccount(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalAdditionalProperty(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalAdditionalTargetAttribute(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalAssessment(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalAttachment(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalAttachmentCollection(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalAttachmentItem(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalAttachmentParameterPrototype(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalAttachmentPrototype(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalAttachmentScope(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalAttachmentsNotificationsPrototype(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalAttachmentsPrototype(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalComplianceScore(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalComplianceStats(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalControlDocs(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalControlLibrary(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalControlLibraryCollection(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalControlLibraryDelete(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalControlLibraryItem(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalControlSpecificationWithStats(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalControlSpecifications(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalControlWithStats(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalControlsInControlLib(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalDefaultParametersPrototype(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalEvalDetails(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalEvalStats(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalEvaluation(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalEvaluationPage(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalEventNotifications(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalFailedControls(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalImplementation(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalImport(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalLabelType(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalLastScan(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalMultiCloudScope(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalObjectStorage(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalPageHRef(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalPageHRefFirst(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalPageHRefNext(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalPaginatedCollectionFirst(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalPaginatedCollectionNext(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalParameter(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalParameterInfo(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalProfile(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalProfileCollection(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalProfileControls(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalProfileControlsPrototype(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalProfileInfo(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalProfileItem(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalProperty(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalPropertyItem(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalProviderTypeInstanceItem(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalProviderTypeInstancesResponse(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalProviderTypeItem(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalProviderTypesCollection(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalProviderTypesInstancesResponse(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalReport(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalReportControls(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalReportLatest(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalReportPage(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalReportSummary(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalReportTags(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalReportViolationDataPoint(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalReportViolationsDrift(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalRequiredConfig(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalRequiredConfigItems(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalRequiredConfigItemsRequiredConfigAnd(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalRequiredConfigItemsRequiredConfigBase(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalRequiredConfigItemsRequiredConfigOr(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalRequiredConfigRequiredConfigAnd(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalRequiredConfigRequiredConfigBase(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalRequiredConfigRequiredConfigOr(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalResource(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalResourcePage(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalResourceSummary(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalResourceSummaryItem(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalRule(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalRuleInfo(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalRulesPageBase(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalScan(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalScopeProperty(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalSettings(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalTags(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalTarget(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalTargetInfo(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalTestEvent(m map[string]json.RawMessage, result interface{}) (err error)
- type Account
- type AdditionalProperty
- type AdditionalTargetAttribute
- type Assessment
- type Attachment
- type AttachmentCollection
- type AttachmentItem
- type AttachmentParameterPrototype
- type AttachmentPrototype
- type AttachmentScope
- type AttachmentsAccountPager
- func (pager *AttachmentsAccountPager) GetAll() (allItems []AttachmentItem, err error)
- func (pager *AttachmentsAccountPager) GetAllWithContext(ctx context.Context) (allItems []AttachmentItem, err error)
- func (pager *AttachmentsAccountPager) GetNext() (page []AttachmentItem, err error)
- func (pager *AttachmentsAccountPager) GetNextWithContext(ctx context.Context) (page []AttachmentItem, err error)
- func (pager *AttachmentsAccountPager) HasNext() bool
- type AttachmentsNotificationsPrototype
- type AttachmentsPager
- func (pager *AttachmentsPager) GetAll() (allItems []AttachmentItem, err error)
- func (pager *AttachmentsPager) GetAllWithContext(ctx context.Context) (allItems []AttachmentItem, err error)
- func (pager *AttachmentsPager) GetNext() (page []AttachmentItem, err error)
- func (pager *AttachmentsPager) GetNextWithContext(ctx context.Context) (page []AttachmentItem, err error)
- func (pager *AttachmentsPager) HasNext() bool
- type AttachmentsPrototype
- type ComplianceScore
- type ComplianceStats
- type ControlDocs
- type ControlLibrariesPager
- func (pager *ControlLibrariesPager) GetAll() (allItems []ControlLibraryItem, err error)
- func (pager *ControlLibrariesPager) GetAllWithContext(ctx context.Context) (allItems []ControlLibraryItem, err error)
- func (pager *ControlLibrariesPager) GetNext() (page []ControlLibraryItem, err error)
- func (pager *ControlLibrariesPager) GetNextWithContext(ctx context.Context) (page []ControlLibraryItem, err error)
- func (pager *ControlLibrariesPager) HasNext() bool
- type ControlLibrary
- type ControlLibraryCollection
- type ControlLibraryDelete
- type ControlLibraryItem
- type ControlSpecificationWithStats
- type ControlSpecifications
- type ControlWithStats
- type ControlsInControlLib
- type CreateAttachmentOptions
- func (_options *CreateAttachmentOptions) SetAttachments(attachments []AttachmentsPrototype) *CreateAttachmentOptions
- func (options *CreateAttachmentOptions) SetHeaders(param map[string]string) *CreateAttachmentOptions
- func (_options *CreateAttachmentOptions) SetInstanceID(instanceID string) *CreateAttachmentOptions
- func (_options *CreateAttachmentOptions) SetProfileID(profileID string) *CreateAttachmentOptions
- func (_options *CreateAttachmentOptions) SetXCorrelationID(xCorrelationID string) *CreateAttachmentOptions
- func (_options *CreateAttachmentOptions) SetXRequestID(xRequestID string) *CreateAttachmentOptions
- type CreateCustomControlLibraryOptions
- func (_options *CreateCustomControlLibraryOptions) SetControlLibraryDescription(controlLibraryDescription string) *CreateCustomControlLibraryOptions
- func (_options *CreateCustomControlLibraryOptions) SetControlLibraryName(controlLibraryName string) *CreateCustomControlLibraryOptions
- func (_options *CreateCustomControlLibraryOptions) SetControlLibraryType(controlLibraryType string) *CreateCustomControlLibraryOptions
- func (_options *CreateCustomControlLibraryOptions) SetControlLibraryVersion(controlLibraryVersion string) *CreateCustomControlLibraryOptions
- func (_options *CreateCustomControlLibraryOptions) SetControls(controls []ControlsInControlLib) *CreateCustomControlLibraryOptions
- func (_options *CreateCustomControlLibraryOptions) SetControlsCount(controlsCount int64) *CreateCustomControlLibraryOptions
- func (options *CreateCustomControlLibraryOptions) SetHeaders(param map[string]string) *CreateCustomControlLibraryOptions
- func (_options *CreateCustomControlLibraryOptions) SetInstanceID(instanceID string) *CreateCustomControlLibraryOptions
- func (_options *CreateCustomControlLibraryOptions) SetLatest(latest bool) *CreateCustomControlLibraryOptions
- func (_options *CreateCustomControlLibraryOptions) SetVersionGroupLabel(versionGroupLabel string) *CreateCustomControlLibraryOptions
- func (_options *CreateCustomControlLibraryOptions) SetXCorrelationID(xCorrelationID string) *CreateCustomControlLibraryOptions
- func (_options *CreateCustomControlLibraryOptions) SetXRequestID(xRequestID string) *CreateCustomControlLibraryOptions
- type CreateProfileOptions
- func (_options *CreateProfileOptions) SetControls(controls []ProfileControlsPrototype) *CreateProfileOptions
- func (_options *CreateProfileOptions) SetDefaultParameters(defaultParameters []DefaultParametersPrototype) *CreateProfileOptions
- func (options *CreateProfileOptions) SetHeaders(param map[string]string) *CreateProfileOptions
- func (_options *CreateProfileOptions) SetInstanceID(instanceID string) *CreateProfileOptions
- func (_options *CreateProfileOptions) SetProfileDescription(profileDescription string) *CreateProfileOptions
- func (_options *CreateProfileOptions) SetProfileName(profileName string) *CreateProfileOptions
- func (_options *CreateProfileOptions) SetProfileType(profileType string) *CreateProfileOptions
- func (_options *CreateProfileOptions) SetProfileVersion(profileVersion string) *CreateProfileOptions
- func (_options *CreateProfileOptions) SetXCorrelationID(xCorrelationID string) *CreateProfileOptions
- func (_options *CreateProfileOptions) SetXRequestID(xRequestID string) *CreateProfileOptions
- type CreateProviderTypeInstanceOptions
- func (_options *CreateProviderTypeInstanceOptions) SetAttributes(attributes map[string]interface{}) *CreateProviderTypeInstanceOptions
- func (options *CreateProviderTypeInstanceOptions) SetHeaders(param map[string]string) *CreateProviderTypeInstanceOptions
- func (_options *CreateProviderTypeInstanceOptions) SetInstanceID(instanceID string) *CreateProviderTypeInstanceOptions
- func (_options *CreateProviderTypeInstanceOptions) SetName(name string) *CreateProviderTypeInstanceOptions
- func (_options *CreateProviderTypeInstanceOptions) SetProviderTypeID(providerTypeID string) *CreateProviderTypeInstanceOptions
- func (_options *CreateProviderTypeInstanceOptions) SetXCorrelationID(xCorrelationID string) *CreateProviderTypeInstanceOptions
- func (_options *CreateProviderTypeInstanceOptions) SetXRequestID(xRequestID string) *CreateProviderTypeInstanceOptions
- type CreateRuleOptions
- func (_options *CreateRuleOptions) SetDescription(description string) *CreateRuleOptions
- func (options *CreateRuleOptions) SetHeaders(param map[string]string) *CreateRuleOptions
- func (_options *CreateRuleOptions) SetImport(importVar *Import) *CreateRuleOptions
- func (_options *CreateRuleOptions) SetInstanceID(instanceID string) *CreateRuleOptions
- func (_options *CreateRuleOptions) SetLabels(labels []string) *CreateRuleOptions
- func (_options *CreateRuleOptions) SetRequiredConfig(requiredConfig RequiredConfigIntf) *CreateRuleOptions
- func (_options *CreateRuleOptions) SetTarget(target *Target) *CreateRuleOptions
- func (_options *CreateRuleOptions) SetType(typeVar string) *CreateRuleOptions
- func (_options *CreateRuleOptions) SetVersion(version string) *CreateRuleOptions
- func (_options *CreateRuleOptions) SetXCorrelationID(xCorrelationID string) *CreateRuleOptions
- func (_options *CreateRuleOptions) SetXRequestID(xRequestID string) *CreateRuleOptions
- type CreateScanOptions
- func (_options *CreateScanOptions) SetAttachmentID(attachmentID string) *CreateScanOptions
- func (options *CreateScanOptions) SetHeaders(param map[string]string) *CreateScanOptions
- func (_options *CreateScanOptions) SetInstanceID(instanceID string) *CreateScanOptions
- func (_options *CreateScanOptions) SetXCorrelationID(xCorrelationID string) *CreateScanOptions
- func (_options *CreateScanOptions) SetXRequestID(xRequestID string) *CreateScanOptions
- type DefaultParametersPrototype
- type DeleteCustomControlLibraryOptions
- func (_options *DeleteCustomControlLibraryOptions) SetControlLibrariesID(controlLibrariesID string) *DeleteCustomControlLibraryOptions
- func (options *DeleteCustomControlLibraryOptions) SetHeaders(param map[string]string) *DeleteCustomControlLibraryOptions
- func (_options *DeleteCustomControlLibraryOptions) SetInstanceID(instanceID string) *DeleteCustomControlLibraryOptions
- func (_options *DeleteCustomControlLibraryOptions) SetXCorrelationID(xCorrelationID string) *DeleteCustomControlLibraryOptions
- func (_options *DeleteCustomControlLibraryOptions) SetXRequestID(xRequestID string) *DeleteCustomControlLibraryOptions
- type DeleteCustomProfileOptions
- func (options *DeleteCustomProfileOptions) SetHeaders(param map[string]string) *DeleteCustomProfileOptions
- func (_options *DeleteCustomProfileOptions) SetInstanceID(instanceID string) *DeleteCustomProfileOptions
- func (_options *DeleteCustomProfileOptions) SetProfileID(profileID string) *DeleteCustomProfileOptions
- func (_options *DeleteCustomProfileOptions) SetXCorrelationID(xCorrelationID string) *DeleteCustomProfileOptions
- func (_options *DeleteCustomProfileOptions) SetXRequestID(xRequestID string) *DeleteCustomProfileOptions
- type DeleteProfileAttachmentOptions
- func (_options *DeleteProfileAttachmentOptions) SetAttachmentID(attachmentID string) *DeleteProfileAttachmentOptions
- func (options *DeleteProfileAttachmentOptions) SetHeaders(param map[string]string) *DeleteProfileAttachmentOptions
- func (_options *DeleteProfileAttachmentOptions) SetInstanceID(instanceID string) *DeleteProfileAttachmentOptions
- func (_options *DeleteProfileAttachmentOptions) SetProfileID(profileID string) *DeleteProfileAttachmentOptions
- func (_options *DeleteProfileAttachmentOptions) SetXCorrelationID(xCorrelationID string) *DeleteProfileAttachmentOptions
- func (_options *DeleteProfileAttachmentOptions) SetXRequestID(xRequestID string) *DeleteProfileAttachmentOptions
- type DeleteProviderTypeInstanceOptions
- func (options *DeleteProviderTypeInstanceOptions) SetHeaders(param map[string]string) *DeleteProviderTypeInstanceOptions
- func (_options *DeleteProviderTypeInstanceOptions) SetInstanceID(instanceID string) *DeleteProviderTypeInstanceOptions
- func (_options *DeleteProviderTypeInstanceOptions) SetProviderTypeID(providerTypeID string) *DeleteProviderTypeInstanceOptions
- func (_options *DeleteProviderTypeInstanceOptions) SetProviderTypeInstanceID(providerTypeInstanceID string) *DeleteProviderTypeInstanceOptions
- func (_options *DeleteProviderTypeInstanceOptions) SetXCorrelationID(xCorrelationID string) *DeleteProviderTypeInstanceOptions
- func (_options *DeleteProviderTypeInstanceOptions) SetXRequestID(xRequestID string) *DeleteProviderTypeInstanceOptions
- type DeleteRuleOptions
- func (options *DeleteRuleOptions) SetHeaders(param map[string]string) *DeleteRuleOptions
- func (_options *DeleteRuleOptions) SetInstanceID(instanceID string) *DeleteRuleOptions
- func (_options *DeleteRuleOptions) SetRuleID(ruleID string) *DeleteRuleOptions
- func (_options *DeleteRuleOptions) SetXCorrelationID(xCorrelationID string) *DeleteRuleOptions
- func (_options *DeleteRuleOptions) SetXRequestID(xRequestID string) *DeleteRuleOptions
- type EvalDetails
- type EvalStats
- type Evaluation
- type EvaluationPage
- type EventNotifications
- type FailedControls
- type GetControlLibraryOptions
- func (_options *GetControlLibraryOptions) SetControlLibrariesID(controlLibrariesID string) *GetControlLibraryOptions
- func (options *GetControlLibraryOptions) SetHeaders(param map[string]string) *GetControlLibraryOptions
- func (_options *GetControlLibraryOptions) SetInstanceID(instanceID string) *GetControlLibraryOptions
- func (_options *GetControlLibraryOptions) SetXCorrelationID(xCorrelationID string) *GetControlLibraryOptions
- func (_options *GetControlLibraryOptions) SetXRequestID(xRequestID string) *GetControlLibraryOptions
- type GetLatestReportsOptions
- func (options *GetLatestReportsOptions) SetHeaders(param map[string]string) *GetLatestReportsOptions
- func (_options *GetLatestReportsOptions) SetInstanceID(instanceID string) *GetLatestReportsOptions
- func (_options *GetLatestReportsOptions) SetSort(sort string) *GetLatestReportsOptions
- func (_options *GetLatestReportsOptions) SetXCorrelationID(xCorrelationID string) *GetLatestReportsOptions
- func (_options *GetLatestReportsOptions) SetXRequestID(xRequestID string) *GetLatestReportsOptions
- type GetProfileAttachmentOptions
- func (_options *GetProfileAttachmentOptions) SetAttachmentID(attachmentID string) *GetProfileAttachmentOptions
- func (options *GetProfileAttachmentOptions) SetHeaders(param map[string]string) *GetProfileAttachmentOptions
- func (_options *GetProfileAttachmentOptions) SetInstanceID(instanceID string) *GetProfileAttachmentOptions
- func (_options *GetProfileAttachmentOptions) SetProfileID(profileID string) *GetProfileAttachmentOptions
- func (_options *GetProfileAttachmentOptions) SetXCorrelationID(xCorrelationID string) *GetProfileAttachmentOptions
- func (_options *GetProfileAttachmentOptions) SetXRequestID(xRequestID string) *GetProfileAttachmentOptions
- type GetProfileOptions
- func (options *GetProfileOptions) SetHeaders(param map[string]string) *GetProfileOptions
- func (_options *GetProfileOptions) SetInstanceID(instanceID string) *GetProfileOptions
- func (_options *GetProfileOptions) SetProfileID(profileID string) *GetProfileOptions
- func (_options *GetProfileOptions) SetXCorrelationID(xCorrelationID string) *GetProfileOptions
- func (_options *GetProfileOptions) SetXRequestID(xRequestID string) *GetProfileOptions
- type GetProviderTypeByIdOptions
- func (options *GetProviderTypeByIdOptions) SetHeaders(param map[string]string) *GetProviderTypeByIdOptions
- func (_options *GetProviderTypeByIdOptions) SetInstanceID(instanceID string) *GetProviderTypeByIdOptions
- func (_options *GetProviderTypeByIdOptions) SetProviderTypeID(providerTypeID string) *GetProviderTypeByIdOptions
- func (_options *GetProviderTypeByIdOptions) SetXCorrelationID(xCorrelationID string) *GetProviderTypeByIdOptions
- func (_options *GetProviderTypeByIdOptions) SetXRequestID(xRequestID string) *GetProviderTypeByIdOptions
- type GetProviderTypeInstanceOptions
- func (options *GetProviderTypeInstanceOptions) SetHeaders(param map[string]string) *GetProviderTypeInstanceOptions
- func (_options *GetProviderTypeInstanceOptions) SetInstanceID(instanceID string) *GetProviderTypeInstanceOptions
- func (_options *GetProviderTypeInstanceOptions) SetProviderTypeID(providerTypeID string) *GetProviderTypeInstanceOptions
- func (_options *GetProviderTypeInstanceOptions) SetProviderTypeInstanceID(providerTypeInstanceID string) *GetProviderTypeInstanceOptions
- func (_options *GetProviderTypeInstanceOptions) SetXCorrelationID(xCorrelationID string) *GetProviderTypeInstanceOptions
- func (_options *GetProviderTypeInstanceOptions) SetXRequestID(xRequestID string) *GetProviderTypeInstanceOptions
- type GetProviderTypesInstancesOptions
- func (options *GetProviderTypesInstancesOptions) SetHeaders(param map[string]string) *GetProviderTypesInstancesOptions
- func (_options *GetProviderTypesInstancesOptions) SetInstanceID(instanceID string) *GetProviderTypesInstancesOptions
- func (_options *GetProviderTypesInstancesOptions) SetXCorrelationID(xCorrelationID string) *GetProviderTypesInstancesOptions
- func (_options *GetProviderTypesInstancesOptions) SetXRequestID(xRequestID string) *GetProviderTypesInstancesOptions
- type GetReportControlsOptions
- func (_options *GetReportControlsOptions) SetControlCategory(controlCategory string) *GetReportControlsOptions
- func (_options *GetReportControlsOptions) SetControlDescription(controlDescription string) *GetReportControlsOptions
- func (_options *GetReportControlsOptions) SetControlID(controlID string) *GetReportControlsOptions
- func (_options *GetReportControlsOptions) SetControlName(controlName string) *GetReportControlsOptions
- func (options *GetReportControlsOptions) SetHeaders(param map[string]string) *GetReportControlsOptions
- func (_options *GetReportControlsOptions) SetInstanceID(instanceID string) *GetReportControlsOptions
- func (_options *GetReportControlsOptions) SetReportID(reportID string) *GetReportControlsOptions
- func (_options *GetReportControlsOptions) SetSort(sort string) *GetReportControlsOptions
- func (_options *GetReportControlsOptions) SetStatus(status string) *GetReportControlsOptions
- func (_options *GetReportControlsOptions) SetXCorrelationID(xCorrelationID string) *GetReportControlsOptions
- func (_options *GetReportControlsOptions) SetXRequestID(xRequestID string) *GetReportControlsOptions
- type GetReportEvaluationOptions
- func (_options *GetReportEvaluationOptions) SetExcludeSummary(excludeSummary bool) *GetReportEvaluationOptions
- func (options *GetReportEvaluationOptions) SetHeaders(param map[string]string) *GetReportEvaluationOptions
- func (_options *GetReportEvaluationOptions) SetInstanceID(instanceID string) *GetReportEvaluationOptions
- func (_options *GetReportEvaluationOptions) SetReportID(reportID string) *GetReportEvaluationOptions
- func (_options *GetReportEvaluationOptions) SetXCorrelationID(xCorrelationID string) *GetReportEvaluationOptions
- func (_options *GetReportEvaluationOptions) SetXRequestID(xRequestID string) *GetReportEvaluationOptions
- type GetReportOptions
- func (options *GetReportOptions) SetHeaders(param map[string]string) *GetReportOptions
- func (_options *GetReportOptions) SetInstanceID(instanceID string) *GetReportOptions
- func (_options *GetReportOptions) SetReportID(reportID string) *GetReportOptions
- func (_options *GetReportOptions) SetXCorrelationID(xCorrelationID string) *GetReportOptions
- func (_options *GetReportOptions) SetXRequestID(xRequestID string) *GetReportOptions
- type GetReportRuleOptions
- func (options *GetReportRuleOptions) SetHeaders(param map[string]string) *GetReportRuleOptions
- func (_options *GetReportRuleOptions) SetInstanceID(instanceID string) *GetReportRuleOptions
- func (_options *GetReportRuleOptions) SetReportID(reportID string) *GetReportRuleOptions
- func (_options *GetReportRuleOptions) SetRuleID(ruleID string) *GetReportRuleOptions
- func (_options *GetReportRuleOptions) SetXCorrelationID(xCorrelationID string) *GetReportRuleOptions
- func (_options *GetReportRuleOptions) SetXRequestID(xRequestID string) *GetReportRuleOptions
- type GetReportSummaryOptions
- func (options *GetReportSummaryOptions) SetHeaders(param map[string]string) *GetReportSummaryOptions
- func (_options *GetReportSummaryOptions) SetInstanceID(instanceID string) *GetReportSummaryOptions
- func (_options *GetReportSummaryOptions) SetReportID(reportID string) *GetReportSummaryOptions
- func (_options *GetReportSummaryOptions) SetXCorrelationID(xCorrelationID string) *GetReportSummaryOptions
- func (_options *GetReportSummaryOptions) SetXRequestID(xRequestID string) *GetReportSummaryOptions
- type GetReportTagsOptions
- func (options *GetReportTagsOptions) SetHeaders(param map[string]string) *GetReportTagsOptions
- func (_options *GetReportTagsOptions) SetInstanceID(instanceID string) *GetReportTagsOptions
- func (_options *GetReportTagsOptions) SetReportID(reportID string) *GetReportTagsOptions
- func (_options *GetReportTagsOptions) SetXCorrelationID(xCorrelationID string) *GetReportTagsOptions
- func (_options *GetReportTagsOptions) SetXRequestID(xRequestID string) *GetReportTagsOptions
- type GetReportViolationsDriftOptions
- func (options *GetReportViolationsDriftOptions) SetHeaders(param map[string]string) *GetReportViolationsDriftOptions
- func (_options *GetReportViolationsDriftOptions) SetInstanceID(instanceID string) *GetReportViolationsDriftOptions
- func (_options *GetReportViolationsDriftOptions) SetReportID(reportID string) *GetReportViolationsDriftOptions
- func (_options *GetReportViolationsDriftOptions) SetScanTimeDuration(scanTimeDuration int64) *GetReportViolationsDriftOptions
- func (_options *GetReportViolationsDriftOptions) SetXCorrelationID(xCorrelationID string) *GetReportViolationsDriftOptions
- func (_options *GetReportViolationsDriftOptions) SetXRequestID(xRequestID string) *GetReportViolationsDriftOptions
- type GetRuleOptions
- func (options *GetRuleOptions) SetHeaders(param map[string]string) *GetRuleOptions
- func (_options *GetRuleOptions) SetInstanceID(instanceID string) *GetRuleOptions
- func (_options *GetRuleOptions) SetRuleID(ruleID string) *GetRuleOptions
- func (_options *GetRuleOptions) SetXCorrelationID(xCorrelationID string) *GetRuleOptions
- func (_options *GetRuleOptions) SetXRequestID(xRequestID string) *GetRuleOptions
- type GetSettingsOptions
- func (options *GetSettingsOptions) SetHeaders(param map[string]string) *GetSettingsOptions
- func (_options *GetSettingsOptions) SetInstanceID(instanceID string) *GetSettingsOptions
- func (_options *GetSettingsOptions) SetXCorrelationID(xCorrelationID string) *GetSettingsOptions
- func (_options *GetSettingsOptions) SetXRequestID(xRequestID string) *GetSettingsOptions
- type Implementation
- type Import
- type LabelType
- type LastScan
- type ListAttachmentsAccountOptions
- func (options *ListAttachmentsAccountOptions) SetHeaders(param map[string]string) *ListAttachmentsAccountOptions
- func (_options *ListAttachmentsAccountOptions) SetLimit(limit int64) *ListAttachmentsAccountOptions
- func (_options *ListAttachmentsAccountOptions) SetStart(start string) *ListAttachmentsAccountOptions
- func (_options *ListAttachmentsAccountOptions) SetXCorrelationID(xCorrelationID string) *ListAttachmentsAccountOptions
- func (_options *ListAttachmentsAccountOptions) SetXRequestID(xRequestID string) *ListAttachmentsAccountOptions
- type ListAttachmentsOptions
- func (options *ListAttachmentsOptions) SetHeaders(param map[string]string) *ListAttachmentsOptions
- func (_options *ListAttachmentsOptions) SetInstanceID(instanceID string) *ListAttachmentsOptions
- func (_options *ListAttachmentsOptions) SetLimit(limit int64) *ListAttachmentsOptions
- func (_options *ListAttachmentsOptions) SetProfileID(profileID string) *ListAttachmentsOptions
- func (_options *ListAttachmentsOptions) SetStart(start string) *ListAttachmentsOptions
- func (_options *ListAttachmentsOptions) SetXCorrelationID(xCorrelationID string) *ListAttachmentsOptions
- func (_options *ListAttachmentsOptions) SetXRequestID(xRequestID string) *ListAttachmentsOptions
- type ListControlLibrariesOptions
- func (_options *ListControlLibrariesOptions) SetControlLibraryType(controlLibraryType string) *ListControlLibrariesOptions
- func (options *ListControlLibrariesOptions) SetHeaders(param map[string]string) *ListControlLibrariesOptions
- func (_options *ListControlLibrariesOptions) SetInstanceID(instanceID string) *ListControlLibrariesOptions
- func (_options *ListControlLibrariesOptions) SetLimit(limit int64) *ListControlLibrariesOptions
- func (_options *ListControlLibrariesOptions) SetStart(start string) *ListControlLibrariesOptions
- func (_options *ListControlLibrariesOptions) SetXCorrelationID(xCorrelationID string) *ListControlLibrariesOptions
- func (_options *ListControlLibrariesOptions) SetXRequestID(xRequestID string) *ListControlLibrariesOptions
- type ListProfilesOptions
- func (options *ListProfilesOptions) SetHeaders(param map[string]string) *ListProfilesOptions
- func (_options *ListProfilesOptions) SetInstanceID(instanceID string) *ListProfilesOptions
- func (_options *ListProfilesOptions) SetLimit(limit int64) *ListProfilesOptions
- func (_options *ListProfilesOptions) SetProfileType(profileType string) *ListProfilesOptions
- func (_options *ListProfilesOptions) SetStart(start string) *ListProfilesOptions
- func (_options *ListProfilesOptions) SetXCorrelationID(xCorrelationID string) *ListProfilesOptions
- func (_options *ListProfilesOptions) SetXRequestID(xRequestID string) *ListProfilesOptions
- type ListProviderTypeInstancesOptions
- func (options *ListProviderTypeInstancesOptions) SetHeaders(param map[string]string) *ListProviderTypeInstancesOptions
- func (_options *ListProviderTypeInstancesOptions) SetProviderTypeID(providerTypeID string) *ListProviderTypeInstancesOptions
- func (_options *ListProviderTypeInstancesOptions) SetXCorrelationID(xCorrelationID string) *ListProviderTypeInstancesOptions
- func (_options *ListProviderTypeInstancesOptions) SetXRequestID(xRequestID string) *ListProviderTypeInstancesOptions
- type ListProviderTypesOptions
- func (options *ListProviderTypesOptions) SetHeaders(param map[string]string) *ListProviderTypesOptions
- func (_options *ListProviderTypesOptions) SetInstanceID(instanceID string) *ListProviderTypesOptions
- func (_options *ListProviderTypesOptions) SetXCorrelationID(xCorrelationID string) *ListProviderTypesOptions
- func (_options *ListProviderTypesOptions) SetXRequestID(xRequestID string) *ListProviderTypesOptions
- type ListReportEvaluationsOptions
- func (_options *ListReportEvaluationsOptions) SetAssessmentID(assessmentID string) *ListReportEvaluationsOptions
- func (_options *ListReportEvaluationsOptions) SetComponentID(componentID string) *ListReportEvaluationsOptions
- func (options *ListReportEvaluationsOptions) SetHeaders(param map[string]string) *ListReportEvaluationsOptions
- func (_options *ListReportEvaluationsOptions) SetInstanceID(instanceID string) *ListReportEvaluationsOptions
- func (_options *ListReportEvaluationsOptions) SetLimit(limit int64) *ListReportEvaluationsOptions
- func (_options *ListReportEvaluationsOptions) SetReportID(reportID string) *ListReportEvaluationsOptions
- func (_options *ListReportEvaluationsOptions) SetStart(start string) *ListReportEvaluationsOptions
- func (_options *ListReportEvaluationsOptions) SetStatus(status string) *ListReportEvaluationsOptions
- func (_options *ListReportEvaluationsOptions) SetTargetID(targetID string) *ListReportEvaluationsOptions
- func (_options *ListReportEvaluationsOptions) SetTargetName(targetName string) *ListReportEvaluationsOptions
- func (_options *ListReportEvaluationsOptions) SetXCorrelationID(xCorrelationID string) *ListReportEvaluationsOptions
- func (_options *ListReportEvaluationsOptions) SetXRequestID(xRequestID string) *ListReportEvaluationsOptions
- type ListReportResourcesOptions
- func (_options *ListReportResourcesOptions) SetAccountID(accountID string) *ListReportResourcesOptions
- func (_options *ListReportResourcesOptions) SetComponentID(componentID string) *ListReportResourcesOptions
- func (options *ListReportResourcesOptions) SetHeaders(param map[string]string) *ListReportResourcesOptions
- func (_options *ListReportResourcesOptions) SetID(id string) *ListReportResourcesOptions
- func (_options *ListReportResourcesOptions) SetInstanceID(instanceID string) *ListReportResourcesOptions
- func (_options *ListReportResourcesOptions) SetLimit(limit int64) *ListReportResourcesOptions
- func (_options *ListReportResourcesOptions) SetReportID(reportID string) *ListReportResourcesOptions
- func (_options *ListReportResourcesOptions) SetResourceName(resourceName string) *ListReportResourcesOptions
- func (_options *ListReportResourcesOptions) SetSort(sort string) *ListReportResourcesOptions
- func (_options *ListReportResourcesOptions) SetStart(start string) *ListReportResourcesOptions
- func (_options *ListReportResourcesOptions) SetStatus(status string) *ListReportResourcesOptions
- func (_options *ListReportResourcesOptions) SetXCorrelationID(xCorrelationID string) *ListReportResourcesOptions
- func (_options *ListReportResourcesOptions) SetXRequestID(xRequestID string) *ListReportResourcesOptions
- type ListReportsOptions
- func (_options *ListReportsOptions) SetAttachmentID(attachmentID string) *ListReportsOptions
- func (_options *ListReportsOptions) SetGroupID(groupID string) *ListReportsOptions
- func (options *ListReportsOptions) SetHeaders(param map[string]string) *ListReportsOptions
- func (_options *ListReportsOptions) SetInstanceID(instanceID string) *ListReportsOptions
- func (_options *ListReportsOptions) SetLimit(limit int64) *ListReportsOptions
- func (_options *ListReportsOptions) SetProfileID(profileID string) *ListReportsOptions
- func (_options *ListReportsOptions) SetSort(sort string) *ListReportsOptions
- func (_options *ListReportsOptions) SetStart(start string) *ListReportsOptions
- func (_options *ListReportsOptions) SetType(typeVar string) *ListReportsOptions
- func (_options *ListReportsOptions) SetXCorrelationID(xCorrelationID string) *ListReportsOptions
- func (_options *ListReportsOptions) SetXRequestID(xRequestID string) *ListReportsOptions
- type ListRulesOptions
- func (options *ListRulesOptions) SetHeaders(param map[string]string) *ListRulesOptions
- func (_options *ListRulesOptions) SetInstanceID(instanceID string) *ListRulesOptions
- func (_options *ListRulesOptions) SetSearch(search string) *ListRulesOptions
- func (_options *ListRulesOptions) SetServiceName(serviceName string) *ListRulesOptions
- func (_options *ListRulesOptions) SetType(typeVar string) *ListRulesOptions
- func (_options *ListRulesOptions) SetXCorrelationID(xCorrelationID string) *ListRulesOptions
- func (_options *ListRulesOptions) SetXRequestID(xRequestID string) *ListRulesOptions
- type MultiCloudScope
- type ObjectStorage
- type PageHRef
- type PageHRefFirst
- type PageHRefNext
- type PaginatedCollectionFirst
- type PaginatedCollectionNext
- type Parameter
- type ParameterInfo
- type PostTestEventOptions
- func (options *PostTestEventOptions) SetHeaders(param map[string]string) *PostTestEventOptions
- func (_options *PostTestEventOptions) SetInstanceID(instanceID string) *PostTestEventOptions
- func (_options *PostTestEventOptions) SetXCorrelationID(xCorrelationID string) *PostTestEventOptions
- func (_options *PostTestEventOptions) SetXRequestID(xRequestID string) *PostTestEventOptions
- type Profile
- type ProfileCollection
- type ProfileControls
- type ProfileControlsPrototype
- type ProfileInfo
- type ProfileItem
- type ProfilesPager
- func (pager *ProfilesPager) GetAll() (allItems []ProfileItem, err error)
- func (pager *ProfilesPager) GetAllWithContext(ctx context.Context) (allItems []ProfileItem, err error)
- func (pager *ProfilesPager) GetNext() (page []ProfileItem, err error)
- func (pager *ProfilesPager) GetNextWithContext(ctx context.Context) (page []ProfileItem, err error)
- func (pager *ProfilesPager) HasNext() bool
- type Property
- type PropertyItem
- type ProviderTypeInstanceItem
- type ProviderTypeInstancesResponse
- type ProviderTypeItem
- type ProviderTypesCollection
- type ProviderTypesInstancesResponse
- type ReplaceCustomControlLibraryOptions
- func (_options *ReplaceCustomControlLibraryOptions) SetAccountID(accountID string) *ReplaceCustomControlLibraryOptions
- func (_options *ReplaceCustomControlLibraryOptions) SetControlLibrariesID(controlLibrariesID string) *ReplaceCustomControlLibraryOptions
- func (_options *ReplaceCustomControlLibraryOptions) SetControlLibraryDescription(controlLibraryDescription string) *ReplaceCustomControlLibraryOptions
- func (_options *ReplaceCustomControlLibraryOptions) SetControlLibraryName(controlLibraryName string) *ReplaceCustomControlLibraryOptions
- func (_options *ReplaceCustomControlLibraryOptions) SetControlLibraryType(controlLibraryType string) *ReplaceCustomControlLibraryOptions
- func (_options *ReplaceCustomControlLibraryOptions) SetControlLibraryVersion(controlLibraryVersion string) *ReplaceCustomControlLibraryOptions
- func (_options *ReplaceCustomControlLibraryOptions) SetControlParentsCount(controlParentsCount int64) *ReplaceCustomControlLibraryOptions
- func (_options *ReplaceCustomControlLibraryOptions) SetControls(controls []ControlsInControlLib) *ReplaceCustomControlLibraryOptions
- func (_options *ReplaceCustomControlLibraryOptions) SetControlsCount(controlsCount int64) *ReplaceCustomControlLibraryOptions
- func (_options *ReplaceCustomControlLibraryOptions) SetCreatedBy(createdBy string) *ReplaceCustomControlLibraryOptions
- func (_options *ReplaceCustomControlLibraryOptions) SetCreatedOn(createdOn *strfmt.DateTime) *ReplaceCustomControlLibraryOptions
- func (options *ReplaceCustomControlLibraryOptions) SetHeaders(param map[string]string) *ReplaceCustomControlLibraryOptions
- func (_options *ReplaceCustomControlLibraryOptions) SetHierarchyEnabled(hierarchyEnabled bool) *ReplaceCustomControlLibraryOptions
- func (_options *ReplaceCustomControlLibraryOptions) SetID(id string) *ReplaceCustomControlLibraryOptions
- func (_options *ReplaceCustomControlLibraryOptions) SetInstanceID(instanceID string) *ReplaceCustomControlLibraryOptions
- func (_options *ReplaceCustomControlLibraryOptions) SetLatest(latest bool) *ReplaceCustomControlLibraryOptions
- func (_options *ReplaceCustomControlLibraryOptions) SetUpdatedBy(updatedBy string) *ReplaceCustomControlLibraryOptions
- func (_options *ReplaceCustomControlLibraryOptions) SetUpdatedOn(updatedOn *strfmt.DateTime) *ReplaceCustomControlLibraryOptions
- func (_options *ReplaceCustomControlLibraryOptions) SetVersionGroupLabel(versionGroupLabel string) *ReplaceCustomControlLibraryOptions
- func (_options *ReplaceCustomControlLibraryOptions) SetXCorrelationID(xCorrelationID string) *ReplaceCustomControlLibraryOptions
- func (_options *ReplaceCustomControlLibraryOptions) SetXRequestID(xRequestID string) *ReplaceCustomControlLibraryOptions
- type ReplaceProfileAttachmentOptions
- func (_options *ReplaceProfileAttachmentOptions) SetAccountID(accountID string) *ReplaceProfileAttachmentOptions
- func (_options *ReplaceProfileAttachmentOptions) SetAttachmentID(attachmentID string) *ReplaceProfileAttachmentOptions
- func (_options *ReplaceProfileAttachmentOptions) SetAttachmentParameters(attachmentParameters []AttachmentParameterPrototype) *ReplaceProfileAttachmentOptions
- func (_options *ReplaceProfileAttachmentOptions) SetCreatedBy(createdBy string) *ReplaceProfileAttachmentOptions
- func (_options *ReplaceProfileAttachmentOptions) SetCreatedOn(createdOn *strfmt.DateTime) *ReplaceProfileAttachmentOptions
- func (_options *ReplaceProfileAttachmentOptions) SetDescription(description string) *ReplaceProfileAttachmentOptions
- func (options *ReplaceProfileAttachmentOptions) SetHeaders(param map[string]string) *ReplaceProfileAttachmentOptions
- func (_options *ReplaceProfileAttachmentOptions) SetID(id string) *ReplaceProfileAttachmentOptions
- func (_options *ReplaceProfileAttachmentOptions) SetInstanceID(instanceID string) *ReplaceProfileAttachmentOptions
- func (_options *ReplaceProfileAttachmentOptions) SetLastScan(lastScan *LastScan) *ReplaceProfileAttachmentOptions
- func (_options *ReplaceProfileAttachmentOptions) SetName(name string) *ReplaceProfileAttachmentOptions
- func (_options *ReplaceProfileAttachmentOptions) SetNextScanTime(nextScanTime *strfmt.DateTime) *ReplaceProfileAttachmentOptions
- func (_options *ReplaceProfileAttachmentOptions) SetNotifications(notifications *AttachmentsNotificationsPrototype) *ReplaceProfileAttachmentOptions
- func (_options *ReplaceProfileAttachmentOptions) SetProfileID(profileID string) *ReplaceProfileAttachmentOptions
- func (_options *ReplaceProfileAttachmentOptions) SetSchedule(schedule string) *ReplaceProfileAttachmentOptions
- func (_options *ReplaceProfileAttachmentOptions) SetScope(scope []MultiCloudScope) *ReplaceProfileAttachmentOptions
- func (_options *ReplaceProfileAttachmentOptions) SetStatus(status string) *ReplaceProfileAttachmentOptions
- func (_options *ReplaceProfileAttachmentOptions) SetUpdatedBy(updatedBy string) *ReplaceProfileAttachmentOptions
- func (_options *ReplaceProfileAttachmentOptions) SetUpdatedOn(updatedOn *strfmt.DateTime) *ReplaceProfileAttachmentOptions
- func (_options *ReplaceProfileAttachmentOptions) SetXCorrelationID(xCorrelationID string) *ReplaceProfileAttachmentOptions
- func (_options *ReplaceProfileAttachmentOptions) SetXRequestID(xRequestID string) *ReplaceProfileAttachmentOptions
- type ReplaceProfileOptions
- func (_options *ReplaceProfileOptions) SetControls(controls []ProfileControlsPrototype) *ReplaceProfileOptions
- func (_options *ReplaceProfileOptions) SetDefaultParameters(defaultParameters []DefaultParametersPrototype) *ReplaceProfileOptions
- func (options *ReplaceProfileOptions) SetHeaders(param map[string]string) *ReplaceProfileOptions
- func (_options *ReplaceProfileOptions) SetInstanceID(instanceID string) *ReplaceProfileOptions
- func (_options *ReplaceProfileOptions) SetProfileDescription(profileDescription string) *ReplaceProfileOptions
- func (_options *ReplaceProfileOptions) SetProfileID(profileID string) *ReplaceProfileOptions
- func (_options *ReplaceProfileOptions) SetProfileName(profileName string) *ReplaceProfileOptions
- func (_options *ReplaceProfileOptions) SetProfileType(profileType string) *ReplaceProfileOptions
- func (_options *ReplaceProfileOptions) SetProfileVersion(profileVersion string) *ReplaceProfileOptions
- func (_options *ReplaceProfileOptions) SetXCorrelationID(xCorrelationID string) *ReplaceProfileOptions
- func (_options *ReplaceProfileOptions) SetXRequestID(xRequestID string) *ReplaceProfileOptions
- type ReplaceRuleOptions
- func (_options *ReplaceRuleOptions) SetDescription(description string) *ReplaceRuleOptions
- func (options *ReplaceRuleOptions) SetHeaders(param map[string]string) *ReplaceRuleOptions
- func (_options *ReplaceRuleOptions) SetIfMatch(ifMatch string) *ReplaceRuleOptions
- func (_options *ReplaceRuleOptions) SetImport(importVar *Import) *ReplaceRuleOptions
- func (_options *ReplaceRuleOptions) SetInstanceID(instanceID string) *ReplaceRuleOptions
- func (_options *ReplaceRuleOptions) SetLabels(labels []string) *ReplaceRuleOptions
- func (_options *ReplaceRuleOptions) SetRequiredConfig(requiredConfig RequiredConfigIntf) *ReplaceRuleOptions
- func (_options *ReplaceRuleOptions) SetRuleID(ruleID string) *ReplaceRuleOptions
- func (_options *ReplaceRuleOptions) SetTarget(target *Target) *ReplaceRuleOptions
- func (_options *ReplaceRuleOptions) SetType(typeVar string) *ReplaceRuleOptions
- func (_options *ReplaceRuleOptions) SetVersion(version string) *ReplaceRuleOptions
- func (_options *ReplaceRuleOptions) SetXCorrelationID(xCorrelationID string) *ReplaceRuleOptions
- func (_options *ReplaceRuleOptions) SetXRequestID(xRequestID string) *ReplaceRuleOptions
- type Report
- type ReportControls
- type ReportEvaluationsPager
- func (pager *ReportEvaluationsPager) GetAll() (allItems []Evaluation, err error)
- func (pager *ReportEvaluationsPager) GetAllWithContext(ctx context.Context) (allItems []Evaluation, err error)
- func (pager *ReportEvaluationsPager) GetNext() (page []Evaluation, err error)
- func (pager *ReportEvaluationsPager) GetNextWithContext(ctx context.Context) (page []Evaluation, err error)
- func (pager *ReportEvaluationsPager) HasNext() bool
- type ReportLatest
- type ReportPage
- type ReportResourcesPager
- func (pager *ReportResourcesPager) GetAll() (allItems []Resource, err error)
- func (pager *ReportResourcesPager) GetAllWithContext(ctx context.Context) (allItems []Resource, err error)
- func (pager *ReportResourcesPager) GetNext() (page []Resource, err error)
- func (pager *ReportResourcesPager) GetNextWithContext(ctx context.Context) (page []Resource, err error)
- func (pager *ReportResourcesPager) HasNext() bool
- type ReportSummary
- type ReportTags
- type ReportViolationDataPoint
- type ReportViolationsDrift
- type ReportsPager
- func (pager *ReportsPager) GetAll() (allItems []Report, err error)
- func (pager *ReportsPager) GetAllWithContext(ctx context.Context) (allItems []Report, err error)
- func (pager *ReportsPager) GetNext() (page []Report, err error)
- func (pager *ReportsPager) GetNextWithContext(ctx context.Context) (page []Report, err error)
- func (pager *ReportsPager) HasNext() bool
- type RequiredConfig
- type RequiredConfigIntf
- type RequiredConfigItems
- type RequiredConfigItemsIntf
- type RequiredConfigItemsRequiredConfigAnd
- type RequiredConfigItemsRequiredConfigBase
- type RequiredConfigItemsRequiredConfigOr
- type RequiredConfigRequiredConfigAnd
- type RequiredConfigRequiredConfigBase
- type RequiredConfigRequiredConfigOr
- type Resource
- type ResourcePage
- type ResourceSummary
- type ResourceSummaryItem
- type Rule
- type RuleInfo
- type RulesPageBase
- type Scan
- type ScopeProperty
- type SecurityAndComplianceCenterApiV3
- func NewSecurityAndComplianceCenterApiV3(options *SecurityAndComplianceCenterApiV3Options) (service *SecurityAndComplianceCenterApiV3, err error)
- func NewSecurityAndComplianceCenterApiV3UsingExternalConfig(options *SecurityAndComplianceCenterApiV3Options) (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) Clone() *SecurityAndComplianceCenterApiV3
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) CreateAttachment(createAttachmentOptions *CreateAttachmentOptions) (result *AttachmentPrototype, response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) CreateAttachmentWithContext(ctx context.Context, createAttachmentOptions *CreateAttachmentOptions) (result *AttachmentPrototype, response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) CreateCustomControlLibrary(createCustomControlLibraryOptions *CreateCustomControlLibraryOptions) (result *ControlLibrary, response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) CreateCustomControlLibraryWithContext(ctx context.Context, ...) (result *ControlLibrary, response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) CreateProfile(createProfileOptions *CreateProfileOptions) (result *Profile, response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) CreateProfileWithContext(ctx context.Context, createProfileOptions *CreateProfileOptions) (result *Profile, response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) CreateProviderTypeInstance(createProviderTypeInstanceOptions *CreateProviderTypeInstanceOptions) (result *ProviderTypeInstanceItem, response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) CreateProviderTypeInstanceWithContext(ctx context.Context, ...) (result *ProviderTypeInstanceItem, response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) CreateRule(createRuleOptions *CreateRuleOptions) (result *Rule, response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) CreateRuleWithContext(ctx context.Context, createRuleOptions *CreateRuleOptions) (result *Rule, response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) CreateScan(createScanOptions *CreateScanOptions) (result *Scan, response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) CreateScanWithContext(ctx context.Context, createScanOptions *CreateScanOptions) (result *Scan, response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) DeleteCustomControlLibrary(deleteCustomControlLibraryOptions *DeleteCustomControlLibraryOptions) (result *ControlLibraryDelete, response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) DeleteCustomControlLibraryWithContext(ctx context.Context, ...) (result *ControlLibraryDelete, response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) DeleteCustomProfile(deleteCustomProfileOptions *DeleteCustomProfileOptions) (result *Profile, response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) DeleteCustomProfileWithContext(ctx context.Context, deleteCustomProfileOptions *DeleteCustomProfileOptions) (result *Profile, response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) DeleteProfileAttachment(deleteProfileAttachmentOptions *DeleteProfileAttachmentOptions) (result *AttachmentItem, response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) DeleteProfileAttachmentWithContext(ctx context.Context, ...) (result *AttachmentItem, response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) DeleteProviderTypeInstance(deleteProviderTypeInstanceOptions *DeleteProviderTypeInstanceOptions) (response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) DeleteProviderTypeInstanceWithContext(ctx context.Context, ...) (response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) DeleteRule(deleteRuleOptions *DeleteRuleOptions) (response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) DeleteRuleWithContext(ctx context.Context, deleteRuleOptions *DeleteRuleOptions) (response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) DisableRetries()
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) EnableRetries(maxRetries int, maxRetryInterval time.Duration)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) GetControlLibrary(getControlLibraryOptions *GetControlLibraryOptions) (result *ControlLibrary, response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) GetControlLibraryWithContext(ctx context.Context, getControlLibraryOptions *GetControlLibraryOptions) (result *ControlLibrary, response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) GetEnableGzipCompression() bool
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) GetLatestReports(getLatestReportsOptions *GetLatestReportsOptions) (result *ReportLatest, response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) GetLatestReportsWithContext(ctx context.Context, getLatestReportsOptions *GetLatestReportsOptions) (result *ReportLatest, response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) GetProfile(getProfileOptions *GetProfileOptions) (result *Profile, response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) GetProfileAttachment(getProfileAttachmentOptions *GetProfileAttachmentOptions) (result *AttachmentItem, response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) GetProfileAttachmentWithContext(ctx context.Context, getProfileAttachmentOptions *GetProfileAttachmentOptions) (result *AttachmentItem, response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) GetProfileWithContext(ctx context.Context, getProfileOptions *GetProfileOptions) (result *Profile, response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) GetProviderTypeByID(getProviderTypeByIdOptions *GetProviderTypeByIdOptions) (result *ProviderTypeItem, response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) GetProviderTypeByIDWithContext(ctx context.Context, getProviderTypeByIdOptions *GetProviderTypeByIdOptions) (result *ProviderTypeItem, response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) GetProviderTypeInstance(getProviderTypeInstanceOptions *GetProviderTypeInstanceOptions) (result *ProviderTypeInstanceItem, response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) GetProviderTypeInstanceWithContext(ctx context.Context, ...) (result *ProviderTypeInstanceItem, response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) GetProviderTypesInstances(getProviderTypesInstancesOptions *GetProviderTypesInstancesOptions) (result *ProviderTypesInstancesResponse, response *core.DetailedResponse, ...)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) GetProviderTypesInstancesWithContext(ctx context.Context, ...) (result *ProviderTypesInstancesResponse, response *core.DetailedResponse, ...)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) GetReport(getReportOptions *GetReportOptions) (result *Report, response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) GetReportControls(getReportControlsOptions *GetReportControlsOptions) (result *ReportControls, response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) GetReportControlsWithContext(ctx context.Context, getReportControlsOptions *GetReportControlsOptions) (result *ReportControls, response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) GetReportEvaluation(getReportEvaluationOptions *GetReportEvaluationOptions) (result io.ReadCloser, response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) GetReportEvaluationWithContext(ctx context.Context, getReportEvaluationOptions *GetReportEvaluationOptions) (result io.ReadCloser, response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) GetReportRule(getReportRuleOptions *GetReportRuleOptions) (result *RuleInfo, response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) GetReportRuleWithContext(ctx context.Context, getReportRuleOptions *GetReportRuleOptions) (result *RuleInfo, response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) GetReportSummary(getReportSummaryOptions *GetReportSummaryOptions) (result *ReportSummary, response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) GetReportSummaryWithContext(ctx context.Context, getReportSummaryOptions *GetReportSummaryOptions) (result *ReportSummary, response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) GetReportTags(getReportTagsOptions *GetReportTagsOptions) (result *ReportTags, response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) GetReportTagsWithContext(ctx context.Context, getReportTagsOptions *GetReportTagsOptions) (result *ReportTags, response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) GetReportViolationsDrift(getReportViolationsDriftOptions *GetReportViolationsDriftOptions) (result *ReportViolationsDrift, response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) GetReportViolationsDriftWithContext(ctx context.Context, ...) (result *ReportViolationsDrift, response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) GetReportWithContext(ctx context.Context, getReportOptions *GetReportOptions) (result *Report, response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) GetRule(getRuleOptions *GetRuleOptions) (result *Rule, response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) GetRuleWithContext(ctx context.Context, getRuleOptions *GetRuleOptions) (result *Rule, response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) GetServiceURL() string
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) GetSettings(getSettingsOptions *GetSettingsOptions) (result *Settings, response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) GetSettingsWithContext(ctx context.Context, getSettingsOptions *GetSettingsOptions) (result *Settings, response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) ListAttachments(listAttachmentsOptions *ListAttachmentsOptions) (result *AttachmentCollection, response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) ListAttachmentsAccount(listAttachmentsAccountOptions *ListAttachmentsAccountOptions) (result *AttachmentCollection, response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) ListAttachmentsAccountWithContext(ctx context.Context, ...) (result *AttachmentCollection, response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) ListAttachmentsWithContext(ctx context.Context, listAttachmentsOptions *ListAttachmentsOptions) (result *AttachmentCollection, response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) ListControlLibraries(listControlLibrariesOptions *ListControlLibrariesOptions) (result *ControlLibraryCollection, response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) ListControlLibrariesWithContext(ctx context.Context, listControlLibrariesOptions *ListControlLibrariesOptions) (result *ControlLibraryCollection, response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) ListProfiles(listProfilesOptions *ListProfilesOptions) (result *ProfileCollection, response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) ListProfilesWithContext(ctx context.Context, listProfilesOptions *ListProfilesOptions) (result *ProfileCollection, response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) ListProviderTypeInstances(listProviderTypeInstancesOptions *ListProviderTypeInstancesOptions) (result *ProviderTypeInstancesResponse, response *core.DetailedResponse, ...)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) ListProviderTypeInstancesWithContext(ctx context.Context, ...) (result *ProviderTypeInstancesResponse, response *core.DetailedResponse, ...)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) ListProviderTypes(listProviderTypesOptions *ListProviderTypesOptions) (result *ProviderTypesCollection, response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) ListProviderTypesWithContext(ctx context.Context, listProviderTypesOptions *ListProviderTypesOptions) (result *ProviderTypesCollection, response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) ListReportEvaluations(listReportEvaluationsOptions *ListReportEvaluationsOptions) (result *EvaluationPage, response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) ListReportEvaluationsWithContext(ctx context.Context, ...) (result *EvaluationPage, response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) ListReportResources(listReportResourcesOptions *ListReportResourcesOptions) (result *ResourcePage, response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) ListReportResourcesWithContext(ctx context.Context, listReportResourcesOptions *ListReportResourcesOptions) (result *ResourcePage, response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) ListReports(listReportsOptions *ListReportsOptions) (result *ReportPage, response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) ListReportsWithContext(ctx context.Context, listReportsOptions *ListReportsOptions) (result *ReportPage, response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) ListRules(listRulesOptions *ListRulesOptions) (result *RulesPageBase, response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) ListRulesWithContext(ctx context.Context, listRulesOptions *ListRulesOptions) (result *RulesPageBase, response *core.DetailedResponse, err error)
- func (*SecurityAndComplianceCenterApiV3) NewAttachmentPrototype(attachments []AttachmentsPrototype) (_model *AttachmentPrototype, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) NewAttachmentsAccountPager(options *ListAttachmentsAccountOptions) (pager *AttachmentsAccountPager, err error)
- func (*SecurityAndComplianceCenterApiV3) NewAttachmentsNotificationsPrototype(enabled bool, controls *FailedControls) (_model *AttachmentsNotificationsPrototype, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) NewAttachmentsPager(options *ListAttachmentsOptions) (pager *AttachmentsPager, err error)
- func (*SecurityAndComplianceCenterApiV3) NewAttachmentsPrototype(name string, scope []MultiCloudScope, status string, schedule string, ...) (_model *AttachmentsPrototype, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) NewControlLibrariesPager(options *ListControlLibrariesOptions) (pager *ControlLibrariesPager, err error)
- func (*SecurityAndComplianceCenterApiV3) NewCreateAttachmentOptions(instanceID string, profileID string, attachments []AttachmentsPrototype) *CreateAttachmentOptions
- func (*SecurityAndComplianceCenterApiV3) NewCreateCustomControlLibraryOptions(instanceID string, controlLibraryName string, controlLibraryDescription string, ...) *CreateCustomControlLibraryOptions
- func (*SecurityAndComplianceCenterApiV3) NewCreateProfileOptions(instanceID string, profileName string, profileDescription string, ...) *CreateProfileOptions
- func (*SecurityAndComplianceCenterApiV3) NewCreateProviderTypeInstanceOptions(instanceID string, providerTypeID string) *CreateProviderTypeInstanceOptions
- func (*SecurityAndComplianceCenterApiV3) NewCreateRuleOptions(instanceID string, description string, target *Target, ...) *CreateRuleOptions
- func (*SecurityAndComplianceCenterApiV3) NewCreateScanOptions(instanceID string, attachmentID string) *CreateScanOptions
- func (*SecurityAndComplianceCenterApiV3) NewDeleteCustomControlLibraryOptions(instanceID string, controlLibrariesID string) *DeleteCustomControlLibraryOptions
- func (*SecurityAndComplianceCenterApiV3) NewDeleteCustomProfileOptions(instanceID string, profileID string) *DeleteCustomProfileOptions
- func (*SecurityAndComplianceCenterApiV3) NewDeleteProfileAttachmentOptions(instanceID string, attachmentID string, profileID string) *DeleteProfileAttachmentOptions
- func (*SecurityAndComplianceCenterApiV3) NewDeleteProviderTypeInstanceOptions(instanceID string, providerTypeID string, providerTypeInstanceID string) *DeleteProviderTypeInstanceOptions
- func (*SecurityAndComplianceCenterApiV3) NewDeleteRuleOptions(instanceID string, ruleID string) *DeleteRuleOptions
- func (*SecurityAndComplianceCenterApiV3) NewGetControlLibraryOptions(instanceID string, controlLibrariesID string) *GetControlLibraryOptions
- func (*SecurityAndComplianceCenterApiV3) NewGetLatestReportsOptions(instanceID string) *GetLatestReportsOptions
- func (*SecurityAndComplianceCenterApiV3) NewGetProfileAttachmentOptions(instanceID string, attachmentID string, profileID string) *GetProfileAttachmentOptions
- func (*SecurityAndComplianceCenterApiV3) NewGetProfileOptions(instanceID string, profileID string) *GetProfileOptions
- func (*SecurityAndComplianceCenterApiV3) NewGetProviderTypeByIdOptions(instanceID, providerTypeID string) *GetProviderTypeByIdOptions
- func (*SecurityAndComplianceCenterApiV3) NewGetProviderTypeInstanceOptions(instanceID string, providerTypeID string, providerTypeInstanceID string) *GetProviderTypeInstanceOptions
- func (*SecurityAndComplianceCenterApiV3) NewGetProviderTypesInstancesOptions(instanceID string) *GetProviderTypesInstancesOptions
- func (*SecurityAndComplianceCenterApiV3) NewGetReportControlsOptions(instanceID string, reportID string) *GetReportControlsOptions
- func (*SecurityAndComplianceCenterApiV3) NewGetReportEvaluationOptions(instanceID string, reportID string) *GetReportEvaluationOptions
- func (*SecurityAndComplianceCenterApiV3) NewGetReportOptions(instanceID string, reportID string) *GetReportOptions
- func (*SecurityAndComplianceCenterApiV3) NewGetReportRuleOptions(instanceID string, reportID string, ruleID string) *GetReportRuleOptions
- func (*SecurityAndComplianceCenterApiV3) NewGetReportSummaryOptions(instanceID string, reportID string) *GetReportSummaryOptions
- func (*SecurityAndComplianceCenterApiV3) NewGetReportTagsOptions(instanceID string, reportID string) *GetReportTagsOptions
- func (*SecurityAndComplianceCenterApiV3) NewGetReportViolationsDriftOptions(instanceID string, reportID string) *GetReportViolationsDriftOptions
- func (*SecurityAndComplianceCenterApiV3) NewGetRuleOptions(instanceID string, ruleID string) *GetRuleOptions
- func (*SecurityAndComplianceCenterApiV3) NewGetSettingsOptions(instanceID string) *GetSettingsOptions
- func (*SecurityAndComplianceCenterApiV3) NewListAttachmentsAccountOptions(instanceID string) *ListAttachmentsAccountOptions
- func (*SecurityAndComplianceCenterApiV3) NewListAttachmentsOptions(instanceID string, profileID string) *ListAttachmentsOptions
- func (*SecurityAndComplianceCenterApiV3) NewListControlLibrariesOptions(instanceID string) *ListControlLibrariesOptions
- func (*SecurityAndComplianceCenterApiV3) NewListProfilesOptions(instanceID string) *ListProfilesOptions
- func (*SecurityAndComplianceCenterApiV3) NewListProviderTypeInstancesOptions(instanceID string, providerTypeID string) *ListProviderTypeInstancesOptions
- func (*SecurityAndComplianceCenterApiV3) NewListProviderTypesOptions() *ListProviderTypesOptions
- func (*SecurityAndComplianceCenterApiV3) NewListReportEvaluationsOptions(instanceID string, reportID string) *ListReportEvaluationsOptions
- func (*SecurityAndComplianceCenterApiV3) NewListReportResourcesOptions(instanceID string, reportID string) *ListReportResourcesOptions
- func (*SecurityAndComplianceCenterApiV3) NewListReportsOptions(instanceID string) *ListReportsOptions
- func (*SecurityAndComplianceCenterApiV3) NewListRulesOptions(instanceID string) *ListRulesOptions
- func (*SecurityAndComplianceCenterApiV3) NewMultiCloudScope(environment string, properties []PropertyItem) (_model *MultiCloudScope, err error)
- func (*SecurityAndComplianceCenterApiV3) NewPostTestEventOptions(instanceID string) *PostTestEventOptions
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) NewProfilesPager(options *ListProfilesOptions) (pager *ProfilesPager, err error)
- func (*SecurityAndComplianceCenterApiV3) NewReplaceCustomControlLibraryOptions(instanceID string, controlLibrariesID string) *ReplaceCustomControlLibraryOptions
- func (*SecurityAndComplianceCenterApiV3) NewReplaceProfileAttachmentOptions(instanceID string, attachmentID string, profileID string) *ReplaceProfileAttachmentOptions
- func (*SecurityAndComplianceCenterApiV3) NewReplaceProfileOptions(instanceID string, profileID string, profileName string, ...) *ReplaceProfileOptions
- func (*SecurityAndComplianceCenterApiV3) NewReplaceRuleOptions(instanceID string, ruleID string, ifMatch string, description string, ...) *ReplaceRuleOptions
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) NewReportEvaluationsPager(options *ListReportEvaluationsOptions) (pager *ReportEvaluationsPager, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) NewReportResourcesPager(options *ListReportResourcesOptions) (pager *ReportResourcesPager, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) NewReportsPager(options *ListReportsOptions) (pager *ReportsPager, err error)
- func (*SecurityAndComplianceCenterApiV3) NewRequiredConfigItemsRequiredConfigBase(property string, operator string) (_model *RequiredConfigItemsRequiredConfigBase, err error)
- func (*SecurityAndComplianceCenterApiV3) NewRequiredConfigRequiredConfigBase(property string, operator string) (_model *RequiredConfigRequiredConfigBase, err error)
- func (*SecurityAndComplianceCenterApiV3) NewTarget(serviceName string, resourceKind string) (_model *Target, err error)
- func (*SecurityAndComplianceCenterApiV3) NewUpdateProviderTypeInstanceOptions(instanceID string, providerTypeID string, providerTypeInstanceID string) *UpdateProviderTypeInstanceOptions
- func (*SecurityAndComplianceCenterApiV3) NewUpdateSettingsOptions(instanceID string) *UpdateSettingsOptions
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) PostTestEvent(postTestEventOptions *PostTestEventOptions) (result *TestEvent, response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) PostTestEventWithContext(ctx context.Context, postTestEventOptions *PostTestEventOptions) (result *TestEvent, response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) ReplaceCustomControlLibrary(replaceCustomControlLibraryOptions *ReplaceCustomControlLibraryOptions) (result *ControlLibrary, response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) ReplaceCustomControlLibraryWithContext(ctx context.Context, ...) (result *ControlLibrary, response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) ReplaceProfile(replaceProfileOptions *ReplaceProfileOptions) (result *Profile, response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) ReplaceProfileAttachment(replaceProfileAttachmentOptions *ReplaceProfileAttachmentOptions) (result *AttachmentItem, response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) ReplaceProfileAttachmentWithContext(ctx context.Context, ...) (result *AttachmentItem, response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) ReplaceProfileWithContext(ctx context.Context, replaceProfileOptions *ReplaceProfileOptions) (result *Profile, response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) ReplaceRule(replaceRuleOptions *ReplaceRuleOptions) (result *Rule, response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) ReplaceRuleWithContext(ctx context.Context, replaceRuleOptions *ReplaceRuleOptions) (result *Rule, response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) SetDefaultHeaders(headers http.Header)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) SetEnableGzipCompression(enableGzip bool)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) SetServiceURL(url string) error
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) UpdateProviderTypeInstance(updateProviderTypeInstanceOptions *UpdateProviderTypeInstanceOptions) (result *ProviderTypeInstanceItem, response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) UpdateProviderTypeInstanceWithContext(ctx context.Context, ...) (result *ProviderTypeInstanceItem, response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) UpdateSettings(updateSettingsOptions *UpdateSettingsOptions) (result *Settings, response *core.DetailedResponse, err error)
- func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) UpdateSettingsWithContext(ctx context.Context, updateSettingsOptions *UpdateSettingsOptions) (result *Settings, response *core.DetailedResponse, err error)
- type SecurityAndComplianceCenterApiV3Options
- type Settings
- type Tags
- type Target
- type TargetInfo
- type TestEvent
- type UpdateProviderTypeInstanceOptions
- func (_options *UpdateProviderTypeInstanceOptions) SetAttributes(attributes map[string]interface{}) *UpdateProviderTypeInstanceOptions
- func (options *UpdateProviderTypeInstanceOptions) SetHeaders(param map[string]string) *UpdateProviderTypeInstanceOptions
- func (_options *UpdateProviderTypeInstanceOptions) SetInstanceID(instanceID string) *UpdateProviderTypeInstanceOptions
- func (_options *UpdateProviderTypeInstanceOptions) SetName(name string) *UpdateProviderTypeInstanceOptions
- func (_options *UpdateProviderTypeInstanceOptions) SetProviderTypeID(providerTypeID string) *UpdateProviderTypeInstanceOptions
- func (_options *UpdateProviderTypeInstanceOptions) SetProviderTypeInstanceID(providerTypeInstanceID string) *UpdateProviderTypeInstanceOptions
- func (_options *UpdateProviderTypeInstanceOptions) SetXCorrelationID(xCorrelationID string) *UpdateProviderTypeInstanceOptions
- func (_options *UpdateProviderTypeInstanceOptions) SetXRequestID(xRequestID string) *UpdateProviderTypeInstanceOptions
- type UpdateSettingsOptions
- func (_options *UpdateSettingsOptions) SetEventNotifications(eventNotifications *EventNotifications) *UpdateSettingsOptions
- func (options *UpdateSettingsOptions) SetHeaders(param map[string]string) *UpdateSettingsOptions
- func (_options *UpdateSettingsOptions) SetInstanceID(instanceID string) *UpdateSettingsOptions
- func (_options *UpdateSettingsOptions) SetObjectStorage(objectStorage *ObjectStorage) *UpdateSettingsOptions
- func (_options *UpdateSettingsOptions) SetXCorrelationID(xCorrelationID string) *UpdateSettingsOptions
- func (_options *UpdateSettingsOptions) SetXRequestID(xRequestID string) *UpdateSettingsOptions
Constants ¶
const ( AdditionalProperty_Type_Label = "label" AdditionalProperty_Type_Masked = "masked" AdditionalProperty_Type_Secret = "secret" AdditionalProperty_Type_Text = "text" AdditionalProperty_Type_URL = "url" )
Constants associated with the AdditionalProperty.Type property. An additional property that indicates the type of the attribute in various formats (text, url, secret, label, masked).
const ( AdditionalTargetAttribute_Operator_DaysLessThan = "days_less_than" AdditionalTargetAttribute_Operator_IpsEquals = "ips_equals" AdditionalTargetAttribute_Operator_IpsInRange = "ips_in_range" AdditionalTargetAttribute_Operator_IpsNotEquals = "ips_not_equals" AdditionalTargetAttribute_Operator_IsEmpty = "is_empty" AdditionalTargetAttribute_Operator_IsFalse = "is_false" AdditionalTargetAttribute_Operator_IsNotEmpty = "is_not_empty" AdditionalTargetAttribute_Operator_IsTrue = "is_true" AdditionalTargetAttribute_Operator_NumEquals = "num_equals" AdditionalTargetAttribute_Operator_NumGreaterThan = "num_greater_than" AdditionalTargetAttribute_Operator_NumGreaterThanEquals = "num_greater_than_equals" AdditionalTargetAttribute_Operator_NumLessThan = "num_less_than" AdditionalTargetAttribute_Operator_NumLessThanEquals = "num_less_than_equals" AdditionalTargetAttribute_Operator_NumNotEquals = "num_not_equals" AdditionalTargetAttribute_Operator_StringContains = "string_contains" AdditionalTargetAttribute_Operator_StringEquals = "string_equals" AdditionalTargetAttribute_Operator_StringMatch = "string_match" AdditionalTargetAttribute_Operator_StringNotContains = "string_not_contains" AdditionalTargetAttribute_Operator_StringNotEquals = "string_not_equals" AdditionalTargetAttribute_Operator_StringNotMatch = "string_not_match" AdditionalTargetAttribute_Operator_StringsAllowed = "strings_allowed" AdditionalTargetAttribute_Operator_StringsInList = "strings_in_list" AdditionalTargetAttribute_Operator_StringsRequired = "strings_required" )
Constants associated with the AdditionalTargetAttribute.Operator property. The operator.
const ( AttachmentItem_Status_Disabled = "disabled" AttachmentItem_Status_Enabled = "enabled" )
Constants associated with the AttachmentItem.Status property. The status of an attachment evaluation.
const ( AttachmentItem_Schedule_Daily = "daily" AttachmentItem_Schedule_Every30Days = "every_30_days" AttachmentItem_Schedule_Every7Days = "every_7_days" )
Constants associated with the AttachmentItem.Schedule property. The schedule of an attachment evaluation.
const ( AttachmentParameterPrototype_ParameterType_Boolean = "boolean" AttachmentParameterPrototype_ParameterType_General = "general" AttachmentParameterPrototype_ParameterType_IpList = "ip_list" AttachmentParameterPrototype_ParameterType_Numeric = "numeric" AttachmentParameterPrototype_ParameterType_String = "string" AttachmentParameterPrototype_ParameterType_StringList = "string_list" AttachmentParameterPrototype_ParameterType_Timestamp = "timestamp" )
Constants associated with the AttachmentParameterPrototype.ParameterType property. The parameter type.
const ( AttachmentsPrototype_Status_Disabled = "disabled" AttachmentsPrototype_Status_Enabled = "enabled" )
Constants associated with the AttachmentsPrototype.Status property. The status of the scan of an attachment.
const ( AttachmentsPrototype_Schedule_Daily = "daily" AttachmentsPrototype_Schedule_Every30Days = "every_30_days" AttachmentsPrototype_Schedule_Every7Days = "every_7_days" )
Constants associated with the AttachmentsPrototype.Schedule property. The schedule of an attachment evaluation.
const ( ComplianceStats_Status_Compliant = "compliant" ComplianceStats_Status_NotCompliant = "not_compliant" ComplianceStats_Status_UnableToPerform = "unable_to_perform" ComplianceStats_Status_UserEvaluationRequired = "user_evaluation_required" )
Constants associated with the ComplianceStats.Status property. The allowed values of an aggregated status for controls, specifications, assessments, and resources.
const ( ControlLibrary_ControlLibraryType_Custom = "custom" ControlLibrary_ControlLibraryType_Predefined = "predefined" )
Constants associated with the ControlLibrary.ControlLibraryType property. The control library type.
const ( ControlSpecificationWithStats_Status_Compliant = "compliant" ControlSpecificationWithStats_Status_NotCompliant = "not_compliant" ControlSpecificationWithStats_Status_UnableToPerform = "unable_to_perform" ControlSpecificationWithStats_Status_UserEvaluationRequired = "user_evaluation_required" )
Constants associated with the ControlSpecificationWithStats.Status property. The allowed values of an aggregated status for controls, specifications, assessments, and resources.
const ( ControlWithStats_Status_Compliant = "compliant" ControlWithStats_Status_NotCompliant = "not_compliant" ControlWithStats_Status_UnableToPerform = "unable_to_perform" ControlWithStats_Status_UserEvaluationRequired = "user_evaluation_required" )
Constants associated with the ControlWithStats.Status property. The allowed values of an aggregated status for controls, specifications, assessments, and resources.
const ( ControlsInControlLib_Status_Disabled = "disabled" ControlsInControlLib_Status_Enabled = "enabled" )
Constants associated with the ControlsInControlLib.Status property. The control status.
const ( CreateCustomControlLibraryOptions_ControlLibraryType_Custom = "custom" CreateCustomControlLibraryOptions_ControlLibraryType_Predefined = "predefined" )
Constants associated with the CreateCustomControlLibraryOptions.ControlLibraryType property. The control library type.
const ( CreateProfileOptions_ProfileType_Custom = "custom" CreateProfileOptions_ProfileType_Predefined = "predefined" )
Constants associated with the CreateProfileOptions.ProfileType property. The profile type.
const ( CreateRuleOptions_Type_SystemDefined = "system_defined" CreateRuleOptions_Type_UserDefined = "user_defined" )
Constants associated with the CreateRuleOptions.Type property. The rule type (user_defined or system_defined).
const ( DefaultParametersPrototype_ParameterType_Boolean = "boolean" DefaultParametersPrototype_ParameterType_General = "general" DefaultParametersPrototype_ParameterType_IpList = "ip_list" DefaultParametersPrototype_ParameterType_Numeric = "numeric" DefaultParametersPrototype_ParameterType_String = "string" DefaultParametersPrototype_ParameterType_StringList = "string_list" DefaultParametersPrototype_ParameterType_Timestamp = "timestamp" )
Constants associated with the DefaultParametersPrototype.ParameterType property. The parameter type.
const ( EvalStats_Status_Compliant = "compliant" EvalStats_Status_NotCompliant = "not_compliant" EvalStats_Status_UnableToPerform = "unable_to_perform" EvalStats_Status_UserEvaluationRequired = "user_evaluation_required" )
Constants associated with the EvalStats.Status property. The allowed values of an aggregated status for controls, specifications, assessments, and resources.
const ( Evaluation_Status_Error = "error" Evaluation_Status_Failure = "failure" Evaluation_Status_Pass = "pass" Evaluation_Status_Skipped = "skipped" )
Constants associated with the Evaluation.Status property. The allowed values of an evaluation status.
const ( GetReportControlsOptions_Status_Compliant = "compliant" GetReportControlsOptions_Status_NotCompliant = "not_compliant" GetReportControlsOptions_Status_UnableToPerform = "unable_to_perform" GetReportControlsOptions_Status_UserEvaluationRequired = "user_evaluation_required" )
Constants associated with the GetReportControlsOptions.Status property. The compliance status value.
const ( GetReportControlsOptions_Sort_ControlCategory = "control_category" GetReportControlsOptions_Sort_ControlName = "control_name" GetReportControlsOptions_Sort_Status = "status" )
Constants associated with the GetReportControlsOptions.Sort property. This field sorts controls by using a valid sort field. To learn more, see [Sorting](https://cloud.ibm.com/docs/api-handbook?topic=api-handbook-sorting).
const ( LastScan_Status_Completed = "completed" LastScan_Status_InProgress = "in_progress" )
Constants associated with the LastScan.Status property. The status of the last scan of an attachment.
const ( ListReportEvaluationsOptions_Status_Error = "error" ListReportEvaluationsOptions_Status_Failure = "failure" ListReportEvaluationsOptions_Status_Pass = "pass" ListReportEvaluationsOptions_Status_Skipped = "skipped" )
Constants associated with the ListReportEvaluationsOptions.Status property. The evaluation status value.
const ( ListReportResourcesOptions_Status_Compliant = "compliant" ListReportResourcesOptions_Status_NotCompliant = "not_compliant" ListReportResourcesOptions_Status_UnableToPerform = "unable_to_perform" ListReportResourcesOptions_Status_UserEvaluationRequired = "user_evaluation_required" )
Constants associated with the ListReportResourcesOptions.Status property. The compliance status value.
const ( ListReportResourcesOptions_Sort_AccountID = "account_id" ListReportResourcesOptions_Sort_ComponentID = "component_id" ListReportResourcesOptions_Sort_ResourceName = "resource_name" ListReportResourcesOptions_Sort_Status = "status" )
Constants associated with the ListReportResourcesOptions.Sort property. This field sorts resources by using a valid sort field. To learn more, see [Sorting](https://cloud.ibm.com/docs/api-handbook?topic=api-handbook-sorting).
const ( ListReportsOptions_Type_Ondemand = "ondemand" ListReportsOptions_Type_Scheduled = "scheduled" )
Constants associated with the ListReportsOptions.Type property. The type of the scan.
const ( Parameter_Type_Boolean = "boolean" Parameter_Type_General = "general" Parameter_Type_IpList = "ip_list" Parameter_Type_Numeric = "numeric" Parameter_Type_String = "string" Parameter_Type_StringList = "string_list" Parameter_Type_Timestamp = "timestamp" )
Constants associated with the Parameter.Type property. The property type.
const ( ParameterInfo_ParameterType_Boolean = "boolean" ParameterInfo_ParameterType_General = "general" ParameterInfo_ParameterType_IpList = "ip_list" ParameterInfo_ParameterType_Numeric = "numeric" ParameterInfo_ParameterType_String = "string" ParameterInfo_ParameterType_StringList = "string_list" ParameterInfo_ParameterType_Timestamp = "timestamp" )
Constants associated with the ParameterInfo.ParameterType property. The parameter type.
const ( Profile_ProfileType_Custom = "custom" Profile_ProfileType_Predefined = "predefined" )
Constants associated with the Profile.ProfileType property. The profile type, such as custom or predefined.
const ( ReplaceCustomControlLibraryOptions_ControlLibraryType_Custom = "custom" ReplaceCustomControlLibraryOptions_ControlLibraryType_Predefined = "predefined" )
Constants associated with the ReplaceCustomControlLibraryOptions.ControlLibraryType property. The control library type.
const ( ReplaceProfileAttachmentOptions_Status_Disabled = "disabled" ReplaceProfileAttachmentOptions_Status_Enabled = "enabled" )
Constants associated with the ReplaceProfileAttachmentOptions.Status property. The status of an attachment evaluation.
const ( ReplaceProfileAttachmentOptions_Schedule_Daily = "daily" ReplaceProfileAttachmentOptions_Schedule_Every30Days = "every_30_days" ReplaceProfileAttachmentOptions_Schedule_Every7Days = "every_7_days" )
Constants associated with the ReplaceProfileAttachmentOptions.Schedule property. The schedule of an attachment evaluation.
const ( ReplaceProfileOptions_ProfileType_Custom = "custom" ReplaceProfileOptions_ProfileType_Predefined = "predefined" )
Constants associated with the ReplaceProfileOptions.ProfileType property. The profile type.
const ( ReplaceRuleOptions_Type_SystemDefined = "system_defined" ReplaceRuleOptions_Type_UserDefined = "user_defined" )
Constants associated with the ReplaceRuleOptions.Type property. The rule type (user_defined or system_defined).
const ( ReportControls_Status_Compliant = "compliant" ReportControls_Status_NotCompliant = "not_compliant" ReportControls_Status_UnableToPerform = "unable_to_perform" ReportControls_Status_UserEvaluationRequired = "user_evaluation_required" )
Constants associated with the ReportControls.Status property. The allowed values of an aggregated status for controls, specifications, assessments, and resources.
const ( RequiredConfig_Operator_DaysLessThan = "days_less_than" RequiredConfig_Operator_IpsEquals = "ips_equals" RequiredConfig_Operator_IpsInRange = "ips_in_range" RequiredConfig_Operator_IpsNotEquals = "ips_not_equals" RequiredConfig_Operator_IsEmpty = "is_empty" RequiredConfig_Operator_IsFalse = "is_false" RequiredConfig_Operator_IsNotEmpty = "is_not_empty" RequiredConfig_Operator_IsTrue = "is_true" RequiredConfig_Operator_NumEquals = "num_equals" RequiredConfig_Operator_NumGreaterThan = "num_greater_than" RequiredConfig_Operator_NumGreaterThanEquals = "num_greater_than_equals" RequiredConfig_Operator_NumLessThan = "num_less_than" RequiredConfig_Operator_NumLessThanEquals = "num_less_than_equals" RequiredConfig_Operator_NumNotEquals = "num_not_equals" RequiredConfig_Operator_StringContains = "string_contains" RequiredConfig_Operator_StringEquals = "string_equals" RequiredConfig_Operator_StringMatch = "string_match" RequiredConfig_Operator_StringNotContains = "string_not_contains" RequiredConfig_Operator_StringNotEquals = "string_not_equals" RequiredConfig_Operator_StringNotMatch = "string_not_match" RequiredConfig_Operator_StringsAllowed = "strings_allowed" RequiredConfig_Operator_StringsInList = "strings_in_list" RequiredConfig_Operator_StringsRequired = "strings_required" )
Constants associated with the RequiredConfig.Operator property. The operator.
const ( RequiredConfigItems_Operator_DaysLessThan = "days_less_than" RequiredConfigItems_Operator_IpsEquals = "ips_equals" RequiredConfigItems_Operator_IpsInRange = "ips_in_range" RequiredConfigItems_Operator_IpsNotEquals = "ips_not_equals" RequiredConfigItems_Operator_IsEmpty = "is_empty" RequiredConfigItems_Operator_IsFalse = "is_false" RequiredConfigItems_Operator_IsNotEmpty = "is_not_empty" RequiredConfigItems_Operator_IsTrue = "is_true" RequiredConfigItems_Operator_NumEquals = "num_equals" RequiredConfigItems_Operator_NumGreaterThan = "num_greater_than" RequiredConfigItems_Operator_NumGreaterThanEquals = "num_greater_than_equals" RequiredConfigItems_Operator_NumLessThan = "num_less_than" RequiredConfigItems_Operator_NumLessThanEquals = "num_less_than_equals" RequiredConfigItems_Operator_NumNotEquals = "num_not_equals" RequiredConfigItems_Operator_StringContains = "string_contains" RequiredConfigItems_Operator_StringEquals = "string_equals" RequiredConfigItems_Operator_StringMatch = "string_match" RequiredConfigItems_Operator_StringNotContains = "string_not_contains" RequiredConfigItems_Operator_StringNotEquals = "string_not_equals" RequiredConfigItems_Operator_StringNotMatch = "string_not_match" RequiredConfigItems_Operator_StringsAllowed = "strings_allowed" RequiredConfigItems_Operator_StringsInList = "strings_in_list" RequiredConfigItems_Operator_StringsRequired = "strings_required" )
Constants associated with the RequiredConfigItems.Operator property. The operator.
const ( Resource_Status_Compliant = "compliant" Resource_Status_NotCompliant = "not_compliant" Resource_Status_UnableToPerform = "unable_to_perform" Resource_Status_UserEvaluationRequired = "user_evaluation_required" )
Constants associated with the Resource.Status property. The allowed values of an aggregated status for controls, specifications, assessments, and resources.
const ( ResourceSummary_Status_Compliant = "compliant" ResourceSummary_Status_NotCompliant = "not_compliant" ResourceSummary_Status_UnableToPerform = "unable_to_perform" ResourceSummary_Status_UserEvaluationRequired = "user_evaluation_required" )
Constants associated with the ResourceSummary.Status property. The allowed values of an aggregated status for controls, specifications, assessments, and resources.
const ( ResourceSummaryItem_Status_Compliant = "compliant" ResourceSummaryItem_Status_NotCompliant = "not_compliant" ResourceSummaryItem_Status_UnableToPerform = "unable_to_perform" ResourceSummaryItem_Status_UserEvaluationRequired = "user_evaluation_required" )
Constants associated with the ResourceSummaryItem.Status property. The allowed values of an aggregated status for controls, specifications, assessments, and resources.
const ( Rule_Type_SystemDefined = "system_defined" Rule_Type_UserDefined = "user_defined" )
Constants associated with the Rule.Type property. The rule type (allowable values are `user_defined` or `system_defined`).
const ( Scan_Status_Completed = "completed" Scan_Status_InProgress = "in_progress" )
Constants associated with the Scan.Status property. The status of the scan.
const ( Scan_ScanType_Ondemand = "ondemand" Scan_ScanType_Scheduled = "scheduled" )
Constants associated with the Scan.ScanType property. The type of scan.
const ( RequiredConfigItemsRequiredConfigBase_Operator_DaysLessThan = "days_less_than" RequiredConfigItemsRequiredConfigBase_Operator_IpsEquals = "ips_equals" RequiredConfigItemsRequiredConfigBase_Operator_IpsInRange = "ips_in_range" RequiredConfigItemsRequiredConfigBase_Operator_IpsNotEquals = "ips_not_equals" RequiredConfigItemsRequiredConfigBase_Operator_IsEmpty = "is_empty" RequiredConfigItemsRequiredConfigBase_Operator_IsFalse = "is_false" RequiredConfigItemsRequiredConfigBase_Operator_IsNotEmpty = "is_not_empty" RequiredConfigItemsRequiredConfigBase_Operator_IsTrue = "is_true" RequiredConfigItemsRequiredConfigBase_Operator_NumEquals = "num_equals" RequiredConfigItemsRequiredConfigBase_Operator_NumGreaterThan = "num_greater_than" RequiredConfigItemsRequiredConfigBase_Operator_NumGreaterThanEquals = "num_greater_than_equals" RequiredConfigItemsRequiredConfigBase_Operator_NumLessThan = "num_less_than" RequiredConfigItemsRequiredConfigBase_Operator_NumLessThanEquals = "num_less_than_equals" RequiredConfigItemsRequiredConfigBase_Operator_NumNotEquals = "num_not_equals" RequiredConfigItemsRequiredConfigBase_Operator_StringContains = "string_contains" RequiredConfigItemsRequiredConfigBase_Operator_StringEquals = "string_equals" RequiredConfigItemsRequiredConfigBase_Operator_StringMatch = "string_match" RequiredConfigItemsRequiredConfigBase_Operator_StringNotContains = "string_not_contains" RequiredConfigItemsRequiredConfigBase_Operator_StringNotEquals = "string_not_equals" RequiredConfigItemsRequiredConfigBase_Operator_StringNotMatch = "string_not_match" RequiredConfigItemsRequiredConfigBase_Operator_StringsAllowed = "strings_allowed" RequiredConfigItemsRequiredConfigBase_Operator_StringsInList = "strings_in_list" RequiredConfigItemsRequiredConfigBase_Operator_StringsRequired = "strings_required" )
Constants associated with the RequiredConfigItemsRequiredConfigBase.Operator property. The operator.
const ( RequiredConfigRequiredConfigBase_Operator_DaysLessThan = "days_less_than" RequiredConfigRequiredConfigBase_Operator_IpsEquals = "ips_equals" RequiredConfigRequiredConfigBase_Operator_IpsInRange = "ips_in_range" RequiredConfigRequiredConfigBase_Operator_IpsNotEquals = "ips_not_equals" RequiredConfigRequiredConfigBase_Operator_IsEmpty = "is_empty" RequiredConfigRequiredConfigBase_Operator_IsFalse = "is_false" RequiredConfigRequiredConfigBase_Operator_IsNotEmpty = "is_not_empty" RequiredConfigRequiredConfigBase_Operator_IsTrue = "is_true" RequiredConfigRequiredConfigBase_Operator_NumEquals = "num_equals" RequiredConfigRequiredConfigBase_Operator_NumGreaterThan = "num_greater_than" RequiredConfigRequiredConfigBase_Operator_NumGreaterThanEquals = "num_greater_than_equals" RequiredConfigRequiredConfigBase_Operator_NumLessThan = "num_less_than" RequiredConfigRequiredConfigBase_Operator_NumLessThanEquals = "num_less_than_equals" RequiredConfigRequiredConfigBase_Operator_NumNotEquals = "num_not_equals" RequiredConfigRequiredConfigBase_Operator_StringContains = "string_contains" RequiredConfigRequiredConfigBase_Operator_StringEquals = "string_equals" RequiredConfigRequiredConfigBase_Operator_StringMatch = "string_match" RequiredConfigRequiredConfigBase_Operator_StringNotContains = "string_not_contains" RequiredConfigRequiredConfigBase_Operator_StringNotEquals = "string_not_equals" RequiredConfigRequiredConfigBase_Operator_StringNotMatch = "string_not_match" RequiredConfigRequiredConfigBase_Operator_StringsAllowed = "strings_allowed" RequiredConfigRequiredConfigBase_Operator_StringsInList = "strings_in_list" RequiredConfigRequiredConfigBase_Operator_StringsRequired = "strings_required" )
Constants associated with the RequiredConfigRequiredConfigBase.Operator property. The operator.
const (
ControlSpecifications_Responsibility_User = "user"
)
Constants associated with the ControlSpecifications.Responsibility property. The responsibility for managing the control.
const DefaultServiceName = "security_and_compliance_center_api"
DefaultServiceName is the default key used to find external configuration information.
const DefaultServiceURL = "https://us-south.compliance.cloud.ibm.com"
DefaultServiceURL is the default URL to make service requests to.
const ParameterizedServiceURL = "https://{region}.compliance.cloud.ibm.com"
Variables ¶
This section is empty.
Functions ¶
func ConstructServiceURL ¶
ConstructServiceURL constructs a service URL from the parameterized URL.
func GetServiceURLForRegion ¶
GetServiceURLForRegion returns the service URL to be used for the specified region
func UnmarshalAccount ¶
func UnmarshalAccount(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalAccount unmarshals an instance of Account from the specified map of raw messages.
func UnmarshalAdditionalProperty ¶
func UnmarshalAdditionalProperty(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalAdditionalProperty unmarshals an instance of AdditionalProperty from the specified map of raw messages.
func UnmarshalAdditionalTargetAttribute ¶
func UnmarshalAdditionalTargetAttribute(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalAdditionalTargetAttribute unmarshals an instance of AdditionalTargetAttribute from the specified map of raw messages.
func UnmarshalAssessment ¶
func UnmarshalAssessment(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalAssessment unmarshals an instance of Assessment from the specified map of raw messages.
func UnmarshalAttachment ¶
func UnmarshalAttachment(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalAttachment unmarshals an instance of Attachment from the specified map of raw messages.
func UnmarshalAttachmentCollection ¶
func UnmarshalAttachmentCollection(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalAttachmentCollection unmarshals an instance of AttachmentCollection from the specified map of raw messages.
func UnmarshalAttachmentItem ¶
func UnmarshalAttachmentItem(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalAttachmentItem unmarshals an instance of AttachmentItem from the specified map of raw messages.
func UnmarshalAttachmentParameterPrototype ¶
func UnmarshalAttachmentParameterPrototype(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalAttachmentParameterPrototype unmarshals an instance of AttachmentParameterPrototype from the specified map of raw messages.
func UnmarshalAttachmentPrototype ¶
func UnmarshalAttachmentPrototype(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalAttachmentPrototype unmarshals an instance of AttachmentPrototype from the specified map of raw messages.
func UnmarshalAttachmentScope ¶
func UnmarshalAttachmentScope(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalAttachmentScope unmarshals an instance of AttachmentScope from the specified map of raw messages.
func UnmarshalAttachmentsNotificationsPrototype ¶
func UnmarshalAttachmentsNotificationsPrototype(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalAttachmentsNotificationsPrototype unmarshals an instance of AttachmentsNotificationsPrototype from the specified map of raw messages.
func UnmarshalAttachmentsPrototype ¶
func UnmarshalAttachmentsPrototype(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalAttachmentsPrototype unmarshals an instance of AttachmentsPrototype from the specified map of raw messages.
func UnmarshalComplianceScore ¶
func UnmarshalComplianceScore(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalComplianceScore unmarshals an instance of ComplianceScore from the specified map of raw messages.
func UnmarshalComplianceStats ¶
func UnmarshalComplianceStats(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalComplianceStats unmarshals an instance of ComplianceStats from the specified map of raw messages.
func UnmarshalControlDocs ¶
func UnmarshalControlDocs(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalControlDocs unmarshals an instance of ControlDocs from the specified map of raw messages.
func UnmarshalControlLibrary ¶
func UnmarshalControlLibrary(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalControlLibrary unmarshals an instance of ControlLibrary from the specified map of raw messages.
func UnmarshalControlLibraryCollection ¶
func UnmarshalControlLibraryCollection(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalControlLibraryCollection unmarshals an instance of ControlLibraryCollection from the specified map of raw messages.
func UnmarshalControlLibraryDelete ¶
func UnmarshalControlLibraryDelete(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalControlLibraryDelete unmarshals an instance of ControlLibraryDelete from the specified map of raw messages.
func UnmarshalControlLibraryItem ¶
func UnmarshalControlLibraryItem(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalControlLibraryItem unmarshals an instance of ControlLibraryItem from the specified map of raw messages.
func UnmarshalControlSpecificationWithStats ¶
func UnmarshalControlSpecificationWithStats(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalControlSpecificationWithStats unmarshals an instance of ControlSpecificationWithStats from the specified map of raw messages.
func UnmarshalControlSpecifications ¶
func UnmarshalControlSpecifications(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalControlSpecifications unmarshals an instance of ControlSpecifications from the specified map of raw messages.
func UnmarshalControlWithStats ¶
func UnmarshalControlWithStats(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalControlWithStats unmarshals an instance of ControlWithStats from the specified map of raw messages.
func UnmarshalControlsInControlLib ¶
func UnmarshalControlsInControlLib(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalControlsInControlLib unmarshals an instance of ControlsInControlLib from the specified map of raw messages.
func UnmarshalDefaultParametersPrototype ¶
func UnmarshalDefaultParametersPrototype(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalDefaultParametersPrototype unmarshals an instance of DefaultParametersPrototype from the specified map of raw messages.
func UnmarshalEvalDetails ¶
func UnmarshalEvalDetails(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalEvalDetails unmarshals an instance of EvalDetails from the specified map of raw messages.
func UnmarshalEvalStats ¶
func UnmarshalEvalStats(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalEvalStats unmarshals an instance of EvalStats from the specified map of raw messages.
func UnmarshalEvaluation ¶
func UnmarshalEvaluation(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalEvaluation unmarshals an instance of Evaluation from the specified map of raw messages.
func UnmarshalEvaluationPage ¶
func UnmarshalEvaluationPage(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalEvaluationPage unmarshals an instance of EvaluationPage from the specified map of raw messages.
func UnmarshalEventNotifications ¶
func UnmarshalEventNotifications(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalEventNotifications unmarshals an instance of EventNotifications from the specified map of raw messages.
func UnmarshalFailedControls ¶
func UnmarshalFailedControls(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalFailedControls unmarshals an instance of FailedControls from the specified map of raw messages.
func UnmarshalImplementation ¶
func UnmarshalImplementation(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalImplementation unmarshals an instance of Implementation from the specified map of raw messages.
func UnmarshalImport ¶
func UnmarshalImport(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalImport unmarshals an instance of Import from the specified map of raw messages.
func UnmarshalLabelType ¶
func UnmarshalLabelType(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalLabelType unmarshals an instance of LabelType from the specified map of raw messages.
func UnmarshalLastScan ¶
func UnmarshalLastScan(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalLastScan unmarshals an instance of LastScan from the specified map of raw messages.
func UnmarshalMultiCloudScope ¶
func UnmarshalMultiCloudScope(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalMultiCloudScope unmarshals an instance of MultiCloudScope from the specified map of raw messages.
func UnmarshalObjectStorage ¶
func UnmarshalObjectStorage(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalObjectStorage unmarshals an instance of ObjectStorage from the specified map of raw messages.
func UnmarshalPageHRef ¶
func UnmarshalPageHRef(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalPageHRef unmarshals an instance of PageHRef from the specified map of raw messages.
func UnmarshalPageHRefFirst ¶
func UnmarshalPageHRefFirst(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalPageHRefFirst unmarshals an instance of PageHRefFirst from the specified map of raw messages.
func UnmarshalPageHRefNext ¶
func UnmarshalPageHRefNext(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalPageHRefNext unmarshals an instance of PageHRefNext from the specified map of raw messages.
func UnmarshalPaginatedCollectionFirst ¶
func UnmarshalPaginatedCollectionFirst(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalPaginatedCollectionFirst unmarshals an instance of PaginatedCollectionFirst from the specified map of raw messages.
func UnmarshalPaginatedCollectionNext ¶
func UnmarshalPaginatedCollectionNext(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalPaginatedCollectionNext unmarshals an instance of PaginatedCollectionNext from the specified map of raw messages.
func UnmarshalParameter ¶
func UnmarshalParameter(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalParameter unmarshals an instance of Parameter from the specified map of raw messages.
func UnmarshalParameterInfo ¶
func UnmarshalParameterInfo(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalParameterInfo unmarshals an instance of ParameterInfo from the specified map of raw messages.
func UnmarshalProfile ¶
func UnmarshalProfile(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalProfile unmarshals an instance of Profile from the specified map of raw messages.
func UnmarshalProfileCollection ¶
func UnmarshalProfileCollection(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalProfileCollection unmarshals an instance of ProfileCollection from the specified map of raw messages.
func UnmarshalProfileControls ¶
func UnmarshalProfileControls(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalProfileControls unmarshals an instance of ProfileControls from the specified map of raw messages.
func UnmarshalProfileControlsPrototype ¶
func UnmarshalProfileControlsPrototype(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalProfileControlsPrototype unmarshals an instance of ProfileControlsPrototype from the specified map of raw messages.
func UnmarshalProfileInfo ¶
func UnmarshalProfileInfo(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalProfileInfo unmarshals an instance of ProfileInfo from the specified map of raw messages.
func UnmarshalProfileItem ¶
func UnmarshalProfileItem(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalProfileItem unmarshals an instance of ProfileItem from the specified map of raw messages.
func UnmarshalProperty ¶
func UnmarshalProperty(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalProperty unmarshals an instance of Property from the specified map of raw messages.
func UnmarshalPropertyItem ¶
func UnmarshalPropertyItem(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalPropertyItem unmarshals an instance of PropertyItem from the specified map of raw messages.
func UnmarshalProviderTypeInstanceItem ¶
func UnmarshalProviderTypeInstanceItem(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalProviderTypeInstanceItem unmarshals an instance of ProviderTypeInstanceItem from the specified map of raw messages.
func UnmarshalProviderTypeInstancesResponse ¶
func UnmarshalProviderTypeInstancesResponse(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalProviderTypeInstancesResponse unmarshals an instance of ProviderTypeInstancesResponse from the specified map of raw messages.
func UnmarshalProviderTypeItem ¶
func UnmarshalProviderTypeItem(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalProviderTypeItem unmarshals an instance of ProviderTypeItem from the specified map of raw messages.
func UnmarshalProviderTypesCollection ¶
func UnmarshalProviderTypesCollection(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalProviderTypesCollection unmarshals an instance of ProviderTypesCollection from the specified map of raw messages.
func UnmarshalProviderTypesInstancesResponse ¶
func UnmarshalProviderTypesInstancesResponse(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalProviderTypesInstancesResponse unmarshals an instance of ProviderTypesInstancesResponse from the specified map of raw messages.
func UnmarshalReport ¶
func UnmarshalReport(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalReport unmarshals an instance of Report from the specified map of raw messages.
func UnmarshalReportControls ¶
func UnmarshalReportControls(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalReportControls unmarshals an instance of ReportControls from the specified map of raw messages.
func UnmarshalReportLatest ¶
func UnmarshalReportLatest(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalReportLatest unmarshals an instance of ReportLatest from the specified map of raw messages.
func UnmarshalReportPage ¶
func UnmarshalReportPage(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalReportPage unmarshals an instance of ReportPage from the specified map of raw messages.
func UnmarshalReportSummary ¶
func UnmarshalReportSummary(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalReportSummary unmarshals an instance of ReportSummary from the specified map of raw messages.
func UnmarshalReportTags ¶
func UnmarshalReportTags(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalReportTags unmarshals an instance of ReportTags from the specified map of raw messages.
func UnmarshalReportViolationDataPoint ¶
func UnmarshalReportViolationDataPoint(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalReportViolationDataPoint unmarshals an instance of ReportViolationDataPoint from the specified map of raw messages.
func UnmarshalReportViolationsDrift ¶
func UnmarshalReportViolationsDrift(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalReportViolationsDrift unmarshals an instance of ReportViolationsDrift from the specified map of raw messages.
func UnmarshalRequiredConfig ¶
func UnmarshalRequiredConfig(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalRequiredConfig unmarshals an instance of RequiredConfig from the specified map of raw messages.
func UnmarshalRequiredConfigItems ¶
func UnmarshalRequiredConfigItems(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalRequiredConfigItems unmarshals an instance of RequiredConfigItems from the specified map of raw messages.
func UnmarshalRequiredConfigItemsRequiredConfigAnd ¶
func UnmarshalRequiredConfigItemsRequiredConfigAnd(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalRequiredConfigItemsRequiredConfigAnd unmarshals an instance of RequiredConfigItemsRequiredConfigAnd from the specified map of raw messages.
func UnmarshalRequiredConfigItemsRequiredConfigBase ¶
func UnmarshalRequiredConfigItemsRequiredConfigBase(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalRequiredConfigItemsRequiredConfigBase unmarshals an instance of RequiredConfigItemsRequiredConfigBase from the specified map of raw messages.
func UnmarshalRequiredConfigItemsRequiredConfigOr ¶
func UnmarshalRequiredConfigItemsRequiredConfigOr(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalRequiredConfigItemsRequiredConfigOr unmarshals an instance of RequiredConfigItemsRequiredConfigOr from the specified map of raw messages.
func UnmarshalRequiredConfigRequiredConfigAnd ¶
func UnmarshalRequiredConfigRequiredConfigAnd(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalRequiredConfigRequiredConfigAnd unmarshals an instance of RequiredConfigRequiredConfigAnd from the specified map of raw messages.
func UnmarshalRequiredConfigRequiredConfigBase ¶
func UnmarshalRequiredConfigRequiredConfigBase(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalRequiredConfigRequiredConfigBase unmarshals an instance of RequiredConfigRequiredConfigBase from the specified map of raw messages.
func UnmarshalRequiredConfigRequiredConfigOr ¶
func UnmarshalRequiredConfigRequiredConfigOr(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalRequiredConfigRequiredConfigOr unmarshals an instance of RequiredConfigRequiredConfigOr from the specified map of raw messages.
func UnmarshalResource ¶
func UnmarshalResource(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalResource unmarshals an instance of Resource from the specified map of raw messages.
func UnmarshalResourcePage ¶
func UnmarshalResourcePage(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalResourcePage unmarshals an instance of ResourcePage from the specified map of raw messages.
func UnmarshalResourceSummary ¶
func UnmarshalResourceSummary(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalResourceSummary unmarshals an instance of ResourceSummary from the specified map of raw messages.
func UnmarshalResourceSummaryItem ¶
func UnmarshalResourceSummaryItem(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalResourceSummaryItem unmarshals an instance of ResourceSummaryItem from the specified map of raw messages.
func UnmarshalRule ¶
func UnmarshalRule(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalRule unmarshals an instance of Rule from the specified map of raw messages.
func UnmarshalRuleInfo ¶
func UnmarshalRuleInfo(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalRuleInfo unmarshals an instance of RuleInfo from the specified map of raw messages.
func UnmarshalRulesPageBase ¶
func UnmarshalRulesPageBase(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalRulesPageBase unmarshals an instance of RulesPageBase from the specified map of raw messages.
func UnmarshalScan ¶
func UnmarshalScan(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalScan unmarshals an instance of Scan from the specified map of raw messages.
func UnmarshalScopeProperty ¶
func UnmarshalScopeProperty(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalScopeProperty unmarshals an instance of ScopeProperty from the specified map of raw messages.
func UnmarshalSettings ¶
func UnmarshalSettings(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalSettings unmarshals an instance of Settings from the specified map of raw messages.
func UnmarshalTags ¶
func UnmarshalTags(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalTags unmarshals an instance of Tags from the specified map of raw messages.
func UnmarshalTarget ¶
func UnmarshalTarget(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalTarget unmarshals an instance of Target from the specified map of raw messages.
func UnmarshalTargetInfo ¶
func UnmarshalTargetInfo(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalTargetInfo unmarshals an instance of TargetInfo from the specified map of raw messages.
func UnmarshalTestEvent ¶
func UnmarshalTestEvent(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalTestEvent unmarshals an instance of TestEvent from the specified map of raw messages.
Types ¶
type Account ¶
type Account struct { // The account ID. ID *string `json:"id,omitempty"` // The account name. Name *string `json:"name,omitempty"` // The account type. Type *string `json:"type,omitempty"` }
Account : The account that is associated with a report.
type AdditionalProperty ¶
type AdditionalProperty struct { // An additional property that indicates the type of the attribute in various formats (text, url, secret, label, // masked). Type *string `json:"type" validate:"required"` // The name of the attribute that is displayed in the UI. DisplayName *string `json:"display_name" validate:"required"` }
AdditionalProperty : AdditionalProperty struct
type AdditionalTargetAttribute ¶
type AdditionalTargetAttribute struct { // The additional target attribute name. Name *string `json:"name,omitempty"` // The operator. Operator *string `json:"operator,omitempty"` // The value. Value interface{} `json:"value,omitempty"` }
AdditionalTargetAttribute : The additional target attribute of the service.
type Assessment ¶
type Assessment struct { // The assessment ID. AssessmentID *string `json:"assessment_id,omitempty"` // The assessment type. AssessmentType *string `json:"assessment_type,omitempty"` // The assessment method. AssessmentMethod *string `json:"assessment_method,omitempty"` // The assessment description. AssessmentDescription *string `json:"assessment_description,omitempty"` // The number of parameters of this assessment. ParameterCount *int64 `json:"parameter_count,omitempty"` // The list of parameters of this assessment. Parameters []ParameterInfo `json:"parameters,omitempty"` }
Assessment : The control specification assessment.
type Attachment ¶
type Attachment struct { // The attachment ID. ID *string `json:"id,omitempty"` // The name of the attachment. Name *string `json:"name,omitempty"` // The description of the attachment. Description *string `json:"description,omitempty"` // The attachment schedule. Schedule *string `json:"schedule,omitempty"` // The scope of the attachment. Scope []AttachmentScope `json:"scope,omitempty"` }
Attachment : The attachment that is associated with a report.
type AttachmentCollection ¶
type AttachmentCollection struct { // The number of attachments. TotalCount *int64 `json:"total_count" validate:"required"` // The limit of attachments per request. Limit *int64 `json:"limit" validate:"required"` // The reference to the first page of entries. First *PaginatedCollectionFirst `json:"first" validate:"required"` // The reference URL for the next few entries. Next *PaginatedCollectionNext `json:"next" validate:"required"` // The list of attachments. Attachments []AttachmentItem `json:"attachments" validate:"required"` }
AttachmentCollection : The response body of an attachment.
func (*AttachmentCollection) GetNextStart ¶
func (resp *AttachmentCollection) GetNextStart() (*string, error)
Retrieve the value to be passed to a request to access the next page of results
type AttachmentItem ¶
type AttachmentItem struct { // The ID of the attachment. ID *string `json:"id,omitempty"` // The ID of the profile that is specified in the attachment. ProfileID *string `json:"profile_id,omitempty"` // The account ID that is associated to the attachment. AccountID *string `json:"account_id,omitempty"` // The instance ID of the account that is associated to the attachment. InstanceID *string `json:"instance_id,omitempty"` // The scope payload for the multi cloud feature. Scope []MultiCloudScope `json:"scope,omitempty"` // The date when the attachment was created. CreatedOn *strfmt.DateTime `json:"created_on,omitempty"` // The user who created the attachment. CreatedBy *string `json:"created_by,omitempty"` // The date when the attachment was updated. UpdatedOn *strfmt.DateTime `json:"updated_on,omitempty"` // The user who updated the attachment. UpdatedBy *string `json:"updated_by,omitempty"` // The status of an attachment evaluation. Status *string `json:"status,omitempty"` // The schedule of an attachment evaluation. Schedule *string `json:"schedule,omitempty"` // The request payload of the attachment notifications. Notifications *AttachmentsNotificationsPrototype `json:"notifications,omitempty"` // The profile parameters for the attachment. AttachmentParameters []AttachmentParameterPrototype `json:"attachment_parameters,omitempty"` // The details of the last scan of an attachment. LastScan *LastScan `json:"last_scan,omitempty"` // The start time of the next scan. NextScanTime *strfmt.DateTime `json:"next_scan_time,omitempty"` // The name of the attachment. Name *string `json:"name,omitempty"` // The description for the attachment. Description *string `json:"description,omitempty"` }
AttachmentItem : The request payload of the attachments parameter.
type AttachmentParameterPrototype ¶
type AttachmentParameterPrototype struct { // The type of the implementation. AssessmentType *string `json:"assessment_type,omitempty"` // The implementation ID of the parameter. AssessmentID *string `json:"assessment_id,omitempty"` // The parameter name. ParameterName *string `json:"parameter_name,omitempty"` // The value of the parameter. ParameterValue *string `json:"parameter_value,omitempty"` // The parameter display name. ParameterDisplayName *string `json:"parameter_display_name,omitempty"` // The parameter type. ParameterType *string `json:"parameter_type,omitempty"` }
AttachmentParameterPrototype : The parameters related to the Attachment.
type AttachmentPrototype ¶
type AttachmentPrototype struct { // The ID of the profile that is specified in the attachment. ProfileID *string `json:"profile_id,omitempty"` // The array that displays all of the available attachments. Attachments []AttachmentsPrototype `json:"attachments" validate:"required"` }
AttachmentPrototype : The request body of getting an attachment that is associated with your account.
type AttachmentScope ¶
type AttachmentScope struct { // The unique identifier for this scope. ID *string `json:"id,omitempty"` // The environment that relates to this scope. Environment *string `json:"environment,omitempty"` // The properties that are supported for scoping by this environment. Properties []ScopeProperty `json:"properties,omitempty"` }
AttachmentScope : A scope of the attachment.
type AttachmentsAccountPager ¶
type AttachmentsAccountPager struct {
// contains filtered or unexported fields
}
AttachmentsAccountPager can be used to simplify the use of the "ListAttachmentsAccount" method.
func (*AttachmentsAccountPager) GetAll ¶
func (pager *AttachmentsAccountPager) GetAll() (allItems []AttachmentItem, err error)
GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.
func (*AttachmentsAccountPager) GetAllWithContext ¶
func (pager *AttachmentsAccountPager) GetAllWithContext(ctx context.Context) (allItems []AttachmentItem, err error)
GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.
func (*AttachmentsAccountPager) GetNext ¶
func (pager *AttachmentsAccountPager) GetNext() (page []AttachmentItem, err error)
GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.
func (*AttachmentsAccountPager) GetNextWithContext ¶
func (pager *AttachmentsAccountPager) GetNextWithContext(ctx context.Context) (page []AttachmentItem, err error)
GetNextWithContext returns the next page of results using the specified Context.
func (*AttachmentsAccountPager) HasNext ¶
func (pager *AttachmentsAccountPager) HasNext() bool
HasNext returns true if there are potentially more results to be retrieved.
type AttachmentsNotificationsPrototype ¶
type AttachmentsNotificationsPrototype struct { // enabled notifications. Enabled *bool `json:"enabled" validate:"required"` // The failed controls. Controls *FailedControls `json:"controls" validate:"required"` }
AttachmentsNotificationsPrototype : The request payload of the attachment notifications.
type AttachmentsPager ¶
type AttachmentsPager struct {
// contains filtered or unexported fields
}
AttachmentsPager can be used to simplify the use of the "ListAttachments" method.
func (*AttachmentsPager) GetAll ¶
func (pager *AttachmentsPager) GetAll() (allItems []AttachmentItem, err error)
GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.
func (*AttachmentsPager) GetAllWithContext ¶
func (pager *AttachmentsPager) GetAllWithContext(ctx context.Context) (allItems []AttachmentItem, err error)
GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.
func (*AttachmentsPager) GetNext ¶
func (pager *AttachmentsPager) GetNext() (page []AttachmentItem, err error)
GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.
func (*AttachmentsPager) GetNextWithContext ¶
func (pager *AttachmentsPager) GetNextWithContext(ctx context.Context) (page []AttachmentItem, err error)
GetNextWithContext returns the next page of results using the specified Context.
func (*AttachmentsPager) HasNext ¶
func (pager *AttachmentsPager) HasNext() bool
HasNext returns true if there are potentially more results to be retrieved.
type AttachmentsPrototype ¶
type AttachmentsPrototype struct { // The id that is generated from the scope type and ID. ID *string `json:"id,omitempty"` // The name that is generated from the scope type and ID. Name *string `json:"name" validate:"required"` // The description for the attachment. Description *string `json:"description,omitempty"` // The scope payload for the multi cloud feature. Scope []MultiCloudScope `json:"scope" validate:"required"` // The status of the scan of an attachment. Status *string `json:"status" validate:"required"` // The schedule of an attachment evaluation. Schedule *string `json:"schedule" validate:"required"` // The request payload of the attachment notifications. Notifications *AttachmentsNotificationsPrototype `json:"notifications,omitempty"` // The profile parameters for the attachment. AttachmentParameters []AttachmentParameterPrototype `json:"attachment_parameters" validate:"required"` }
AttachmentsPrototype : The request payload of getting all of the attachments that are associated with the account.
type ComplianceScore ¶
type ComplianceScore struct { // The number of successful evaluations. Passed *int64 `json:"passed,omitempty"` // The total number of evaluations. TotalCount *int64 `json:"total_count,omitempty"` // The percentage of successful evaluations. Percent *int64 `json:"percent,omitempty"` }
ComplianceScore : The compliance score.
type ComplianceStats ¶
type ComplianceStats struct { // The allowed values of an aggregated status for controls, specifications, assessments, and resources. Status *string `json:"status,omitempty"` // The total number of checks. TotalCount *int64 `json:"total_count,omitempty"` // The number of compliant checks. CompliantCount *int64 `json:"compliant_count,omitempty"` // The number of checks that are not compliant. NotCompliantCount *int64 `json:"not_compliant_count,omitempty"` // The number of checks that are unable to perform. UnableToPerformCount *int64 `json:"unable_to_perform_count,omitempty"` // The number of checks that require a user evaluation. UserEvaluationRequiredCount *int64 `json:"user_evaluation_required_count,omitempty"` }
ComplianceStats : The compliance stats.
type ControlDocs ¶
type ControlDocs struct { // The ID of the control documentation. ControlDocsID *string `json:"control_docs_id,omitempty"` // The type of control documentation. ControlDocsType *string `json:"control_docs_type,omitempty"` }
ControlDocs : The control documentation.
type ControlLibrariesPager ¶
type ControlLibrariesPager struct {
// contains filtered or unexported fields
}
ControlLibrariesPager can be used to simplify the use of the "ListControlLibraries" method.
func (*ControlLibrariesPager) GetAll ¶
func (pager *ControlLibrariesPager) GetAll() (allItems []ControlLibraryItem, err error)
GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.
func (*ControlLibrariesPager) GetAllWithContext ¶
func (pager *ControlLibrariesPager) GetAllWithContext(ctx context.Context) (allItems []ControlLibraryItem, err error)
GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.
func (*ControlLibrariesPager) GetNext ¶
func (pager *ControlLibrariesPager) GetNext() (page []ControlLibraryItem, err error)
GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.
func (*ControlLibrariesPager) GetNextWithContext ¶
func (pager *ControlLibrariesPager) GetNextWithContext(ctx context.Context) (page []ControlLibraryItem, err error)
GetNextWithContext returns the next page of results using the specified Context.
func (*ControlLibrariesPager) HasNext ¶
func (pager *ControlLibrariesPager) HasNext() bool
HasNext returns true if there are potentially more results to be retrieved.
type ControlLibrary ¶
type ControlLibrary struct { // The control library ID. ID *string `json:"id,omitempty"` // The account ID. AccountID *string `json:"account_id,omitempty"` // The control library name. ControlLibraryName *string `json:"control_library_name,omitempty"` // The control library description. ControlLibraryDescription *string `json:"control_library_description,omitempty"` // The control library type. ControlLibraryType *string `json:"control_library_type,omitempty"` // The version group label. VersionGroupLabel *string `json:"version_group_label,omitempty"` // The control library version. ControlLibraryVersion *string `json:"control_library_version,omitempty"` // The date when the control library was created. CreatedOn *strfmt.DateTime `json:"created_on,omitempty"` // The user who created the control library. CreatedBy *string `json:"created_by,omitempty"` // The date when the control library was updated. UpdatedOn *strfmt.DateTime `json:"updated_on,omitempty"` // The user who updated the control library. UpdatedBy *string `json:"updated_by,omitempty"` // The latest version of the control library. Latest *bool `json:"latest,omitempty"` // The indication of whether hierarchy is enabled for the control library. HierarchyEnabled *bool `json:"hierarchy_enabled,omitempty"` // The number of controls. ControlsCount *int64 `json:"controls_count,omitempty"` // The number of parent controls in the control library. ControlParentsCount *int64 `json:"control_parents_count,omitempty"` // The list of controls in a control library. Controls []ControlsInControlLib `json:"controls,omitempty"` }
ControlLibrary : The request payload of the control library.
type ControlLibraryCollection ¶
type ControlLibraryCollection struct { // The number of control libraries. TotalCount *int64 `json:"total_count" validate:"required"` // limit. Limit *int64 `json:"limit" validate:"required"` // The reference to the first page of entries. First *PaginatedCollectionFirst `json:"first" validate:"required"` // The reference URL for the next few entries. Next *PaginatedCollectionNext `json:"next" validate:"required"` // The control libraries. ControlLibraries []ControlLibraryItem `json:"control_libraries" validate:"required"` }
ControlLibraryCollection : The response body of control libraries.
func (*ControlLibraryCollection) GetNextStart ¶
func (resp *ControlLibraryCollection) GetNextStart() (*string, error)
Retrieve the value to be passed to a request to access the next page of results
type ControlLibraryDelete ¶
type ControlLibraryDelete struct { // The delete message of a control library. Deleted *string `json:"deleted,omitempty"` }
ControlLibraryDelete : The response body of deleting of a control library.
type ControlLibraryItem ¶
type ControlLibraryItem struct { // The ID of the control library. ID *string `json:"id,omitempty"` // The Account ID. AccountID *string `json:"account_id,omitempty"` // The control library name. ControlLibraryName *string `json:"control_library_name,omitempty"` // The control library description. ControlLibraryDescription *string `json:"control_library_description,omitempty"` // The control library type. ControlLibraryType *string `json:"control_library_type,omitempty"` // The date when the control library was created. CreatedOn *strfmt.DateTime `json:"created_on,omitempty"` // The user who created the control library. CreatedBy *string `json:"created_by,omitempty"` // The date when the control library was updated. UpdatedOn *strfmt.DateTime `json:"updated_on,omitempty"` // The use who updated the control library. UpdatedBy *string `json:"updated_by,omitempty"` // The version group label. VersionGroupLabel *string `json:"version_group_label,omitempty"` // The control library version. ControlLibraryVersion *string `json:"control_library_version,omitempty"` // The latest control library version. Latest *bool `json:"latest,omitempty"` // The number of controls. ControlsCount *int64 `json:"controls_count,omitempty"` }
ControlLibraryItem : ControlLibraryItem struct
type ControlSpecificationWithStats ¶
type ControlSpecificationWithStats struct { // The control specification ID. ControlSpecificationID *string `json:"control_specification_id,omitempty"` // The component ID. ComponentID *string `json:"component_id,omitempty"` // The component description. ControlSpecificationDescription *string `json:"control_specification_description,omitempty"` // The environment. Environment *string `json:"environment,omitempty"` // The responsibility for managing control specifications. Responsibility *string `json:"responsibility,omitempty"` // The list of assessments. Assessments []Assessment `json:"assessments,omitempty"` // The allowed values of an aggregated status for controls, specifications, assessments, and resources. Status *string `json:"status,omitempty"` // The total number of checks. TotalCount *int64 `json:"total_count,omitempty"` // The number of compliant checks. CompliantCount *int64 `json:"compliant_count,omitempty"` // The number of checks that are not compliant. NotCompliantCount *int64 `json:"not_compliant_count,omitempty"` // The number of checks that are unable to perform. UnableToPerformCount *int64 `json:"unable_to_perform_count,omitempty"` // The number of checks that require a user evaluation. UserEvaluationRequiredCount *int64 `json:"user_evaluation_required_count,omitempty"` }
ControlSpecificationWithStats : The control specification with compliance stats.
type ControlSpecifications ¶
type ControlSpecifications struct { // The control specification ID. ControlSpecificationID *string `json:"control_specification_id,omitempty"` // The responsibility for managing the control. Responsibility *string `json:"responsibility,omitempty"` // The component ID. ComponentID *string `json:"component_id,omitempty"` // The component name. ComponentName *string `json:"component_name,omitempty"` // The control specifications environment. Environment *string `json:"environment,omitempty"` // The control specifications description. ControlSpecificationDescription *string `json:"control_specification_description,omitempty"` // The number of assessments. AssessmentsCount *int64 `json:"assessments_count,omitempty"` // The assessments. Assessments []Implementation `json:"assessments,omitempty"` }
ControlSpecifications : The control specifications of a control library.
type ControlWithStats ¶
type ControlWithStats struct { // The control ID. ID *string `json:"id,omitempty"` // The control library ID. ControlLibraryID *string `json:"control_library_id,omitempty"` // The control library version. ControlLibraryVersion *string `json:"control_library_version,omitempty"` // The control name. ControlName *string `json:"control_name,omitempty"` // The control description. ControlDescription *string `json:"control_description,omitempty"` // The control category. ControlCategory *string `json:"control_category,omitempty"` // The control path. ControlPath *string `json:"control_path,omitempty"` // The list of specifications that are on the page. ControlSpecifications []ControlSpecificationWithStats `json:"control_specifications,omitempty"` // The allowed values of an aggregated status for controls, specifications, assessments, and resources. Status *string `json:"status,omitempty"` // The total number of checks. TotalCount *int64 `json:"total_count,omitempty"` // The number of compliant checks. CompliantCount *int64 `json:"compliant_count,omitempty"` // The number of checks that are not compliant. NotCompliantCount *int64 `json:"not_compliant_count,omitempty"` // The number of checks that are unable to perform. UnableToPerformCount *int64 `json:"unable_to_perform_count,omitempty"` // The number of checks that require a user evaluation. UserEvaluationRequiredCount *int64 `json:"user_evaluation_required_count,omitempty"` }
ControlWithStats : The control with compliance stats.
type ControlsInControlLib ¶
type ControlsInControlLib struct { // The ID of the control library that contains the profile. ControlName *string `json:"control_name,omitempty"` // The control name. ControlID *string `json:"control_id,omitempty"` // The control description. ControlDescription *string `json:"control_description,omitempty"` // The control category. ControlCategory *string `json:"control_category,omitempty"` // The parent control. ControlParent *string `json:"control_parent,omitempty"` // The control tags. ControlTags []string `json:"control_tags,omitempty"` // The control specifications. ControlSpecifications []ControlSpecifications `json:"control_specifications,omitempty"` // The control documentation. ControlDocs *ControlDocs `json:"control_docs,omitempty"` // Is this a control that can be automated or manually evaluated. ControlRequirement *bool `json:"control_requirement,omitempty"` // The control status. Status *string `json:"status,omitempty"` }
ControlsInControlLib : The control details of a control library.
type CreateAttachmentOptions ¶
type CreateAttachmentOptions struct { // ID of the instance InstanceID *string `json:"instance_id" validate:"required,ne="` // The profile ID. ProfileID *string `json:"profile_id" validate:"required,ne="` // The array that displays all of the available attachments. Attachments []AttachmentsPrototype `json:"attachments" validate:"required"` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is used for downstream requests and retries of those requests. If a value of // this header is not supplied in a request, the service generates a random (version 4) UUID. XCorrelationID *string `json:"X-Correlation-ID,omitempty"` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is not used for downstream requests and retries of those requests. If a value // of this header is not supplied in a request, the service generates a random (version 4) UUID. XRequestID *string `json:"X-Request-ID,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
CreateAttachmentOptions : The CreateAttachment options.
func (*CreateAttachmentOptions) SetAttachments ¶
func (_options *CreateAttachmentOptions) SetAttachments(attachments []AttachmentsPrototype) *CreateAttachmentOptions
SetAttachments : Allow user to set Attachments
func (*CreateAttachmentOptions) SetHeaders ¶
func (options *CreateAttachmentOptions) SetHeaders(param map[string]string) *CreateAttachmentOptions
SetHeaders : Allow user to set Headers
func (*CreateAttachmentOptions) SetInstanceID ¶ added in v5.1.0
func (_options *CreateAttachmentOptions) SetInstanceID(instanceID string) *CreateAttachmentOptions
SetInstanceID : Allow user to set InstanceID
func (*CreateAttachmentOptions) SetProfileID ¶
func (_options *CreateAttachmentOptions) SetProfileID(profileID string) *CreateAttachmentOptions
SetProfileID : Allow user to set ProfileID
func (*CreateAttachmentOptions) SetXCorrelationID ¶
func (_options *CreateAttachmentOptions) SetXCorrelationID(xCorrelationID string) *CreateAttachmentOptions
SetXCorrelationID : Allow user to set XCorrelationID
func (*CreateAttachmentOptions) SetXRequestID ¶
func (_options *CreateAttachmentOptions) SetXRequestID(xRequestID string) *CreateAttachmentOptions
SetXRequestID : Allow user to set XRequestID
type CreateCustomControlLibraryOptions ¶
type CreateCustomControlLibraryOptions struct { // ID of the instance InstanceID *string `json:"instance_id" validate:"required,ne="` // The control library name. ControlLibraryName *string `json:"control_library_name" validate:"required"` // The control library description. ControlLibraryDescription *string `json:"control_library_description" validate:"required"` // The control library type. ControlLibraryType *string `json:"control_library_type" validate:"required"` // The controls. Controls []ControlsInControlLib `json:"controls" validate:"required"` // The version group label. VersionGroupLabel *string `json:"version_group_label,omitempty"` // The control library version. ControlLibraryVersion *string `json:"control_library_version,omitempty"` // The latest control library version. Latest *bool `json:"latest,omitempty"` // The number of controls. ControlsCount *int64 `json:"controls_count,omitempty"` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is used for downstream requests and retries of those requests. If a value of // this header is not supplied in a request, the service generates a random (version 4) UUID. XCorrelationID *string `json:"X-Correlation-ID,omitempty"` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is not used for downstream requests and retries of those requests. If a value // of this header is not supplied in a request, the service generates a random (version 4) UUID. XRequestID *string `json:"X-Request-ID,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
CreateCustomControlLibraryOptions : The CreateCustomControlLibrary options.
func (*CreateCustomControlLibraryOptions) SetControlLibraryDescription ¶
func (_options *CreateCustomControlLibraryOptions) SetControlLibraryDescription(controlLibraryDescription string) *CreateCustomControlLibraryOptions
SetControlLibraryDescription : Allow user to set ControlLibraryDescription
func (*CreateCustomControlLibraryOptions) SetControlLibraryName ¶
func (_options *CreateCustomControlLibraryOptions) SetControlLibraryName(controlLibraryName string) *CreateCustomControlLibraryOptions
SetControlLibraryName : Allow user to set ControlLibraryName
func (*CreateCustomControlLibraryOptions) SetControlLibraryType ¶
func (_options *CreateCustomControlLibraryOptions) SetControlLibraryType(controlLibraryType string) *CreateCustomControlLibraryOptions
SetControlLibraryType : Allow user to set ControlLibraryType
func (*CreateCustomControlLibraryOptions) SetControlLibraryVersion ¶
func (_options *CreateCustomControlLibraryOptions) SetControlLibraryVersion(controlLibraryVersion string) *CreateCustomControlLibraryOptions
SetControlLibraryVersion : Allow user to set ControlLibraryVersion
func (*CreateCustomControlLibraryOptions) SetControls ¶
func (_options *CreateCustomControlLibraryOptions) SetControls(controls []ControlsInControlLib) *CreateCustomControlLibraryOptions
SetControls : Allow user to set Controls
func (*CreateCustomControlLibraryOptions) SetControlsCount ¶
func (_options *CreateCustomControlLibraryOptions) SetControlsCount(controlsCount int64) *CreateCustomControlLibraryOptions
SetControlsCount : Allow user to set ControlsCount
func (*CreateCustomControlLibraryOptions) SetHeaders ¶
func (options *CreateCustomControlLibraryOptions) SetHeaders(param map[string]string) *CreateCustomControlLibraryOptions
SetHeaders : Allow user to set Headers
func (*CreateCustomControlLibraryOptions) SetInstanceID ¶ added in v5.1.0
func (_options *CreateCustomControlLibraryOptions) SetInstanceID(instanceID string) *CreateCustomControlLibraryOptions
SetInstanceID : Allow user to set InstanceID
func (*CreateCustomControlLibraryOptions) SetLatest ¶
func (_options *CreateCustomControlLibraryOptions) SetLatest(latest bool) *CreateCustomControlLibraryOptions
SetLatest : Allow user to set Latest
func (*CreateCustomControlLibraryOptions) SetVersionGroupLabel ¶
func (_options *CreateCustomControlLibraryOptions) SetVersionGroupLabel(versionGroupLabel string) *CreateCustomControlLibraryOptions
SetVersionGroupLabel : Allow user to set VersionGroupLabel
func (*CreateCustomControlLibraryOptions) SetXCorrelationID ¶
func (_options *CreateCustomControlLibraryOptions) SetXCorrelationID(xCorrelationID string) *CreateCustomControlLibraryOptions
SetXCorrelationID : Allow user to set XCorrelationID
func (*CreateCustomControlLibraryOptions) SetXRequestID ¶
func (_options *CreateCustomControlLibraryOptions) SetXRequestID(xRequestID string) *CreateCustomControlLibraryOptions
SetXRequestID : Allow user to set XRequestID
type CreateProfileOptions ¶
type CreateProfileOptions struct { // ID of the instance InstanceID *string `json:"instance_id" validate:"required,ne="` // The name of the profile. ProfileName *string `json:"profile_name" validate:"required"` // The description of the profile. ProfileDescription *string `json:"profile_description" validate:"required"` // The profile type. ProfileType *string `json:"profile_type" validate:"required"` // The profile version. ProfileVersion *string `json:"profile_version,omitempty"` // The controls that are in the profile. Controls []ProfileControlsPrototype `json:"controls" validate:"required"` // The default parameters of the profile. DefaultParameters []DefaultParametersPrototype `json:"default_parameters" validate:"required"` // The supplied or generated value of this header is logged for a request, and repeated in a response header for the // corresponding response. The same value is used for downstream requests, and retries of those requests. If a value of // this header is not supplied in a request, the service generates a random (version 4) UUID. XCorrelationID *string `json:"X-Correlation-ID,omitempty"` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is not used for downstream requests and retries of those requests. If a value // of this header is not supplied in a request, the service generates a random (version 4) UUID. XRequestID *string `json:"X-Request-ID,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
CreateProfileOptions : The CreateProfile options.
func (*CreateProfileOptions) SetControls ¶
func (_options *CreateProfileOptions) SetControls(controls []ProfileControlsPrototype) *CreateProfileOptions
SetControls : Allow user to set Controls
func (*CreateProfileOptions) SetDefaultParameters ¶
func (_options *CreateProfileOptions) SetDefaultParameters(defaultParameters []DefaultParametersPrototype) *CreateProfileOptions
SetDefaultParameters : Allow user to set DefaultParameters
func (*CreateProfileOptions) SetHeaders ¶
func (options *CreateProfileOptions) SetHeaders(param map[string]string) *CreateProfileOptions
SetHeaders : Allow user to set Headers
func (*CreateProfileOptions) SetInstanceID ¶ added in v5.1.0
func (_options *CreateProfileOptions) SetInstanceID(instanceID string) *CreateProfileOptions
SetInstanceID : Allow user to set InstanceID
func (*CreateProfileOptions) SetProfileDescription ¶
func (_options *CreateProfileOptions) SetProfileDescription(profileDescription string) *CreateProfileOptions
SetProfileDescription : Allow user to set ProfileDescription
func (*CreateProfileOptions) SetProfileName ¶
func (_options *CreateProfileOptions) SetProfileName(profileName string) *CreateProfileOptions
SetProfileName : Allow user to set ProfileName
func (*CreateProfileOptions) SetProfileType ¶
func (_options *CreateProfileOptions) SetProfileType(profileType string) *CreateProfileOptions
SetProfileType : Allow user to set ProfileType
func (*CreateProfileOptions) SetProfileVersion ¶ added in v5.1.6
func (_options *CreateProfileOptions) SetProfileVersion(profileVersion string) *CreateProfileOptions
SetProfileVersion : Allow user to set ProfileVersion
func (*CreateProfileOptions) SetXCorrelationID ¶
func (_options *CreateProfileOptions) SetXCorrelationID(xCorrelationID string) *CreateProfileOptions
SetXCorrelationID : Allow user to set XCorrelationID
func (*CreateProfileOptions) SetXRequestID ¶
func (_options *CreateProfileOptions) SetXRequestID(xRequestID string) *CreateProfileOptions
SetXRequestID : Allow user to set XRequestID
type CreateProviderTypeInstanceOptions ¶
type CreateProviderTypeInstanceOptions struct { // ID of the instance InstanceID *string `json:"instance_id" validate:"required,ne="` // The provider type ID. ProviderTypeID *string `json:"provider_type_id" validate:"required,ne="` // The provider type instance name. Name *string `json:"name,omitempty"` // The attributes for connecting to the provider type instance. Attributes map[string]interface{} `json:"attributes,omitempty"` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is used for downstream requests and retries of those requests. If a value of // this headers is not supplied in a request, the service generates a random (version 4) UUID. XCorrelationID *string `json:"X-Correlation-ID,omitempty"` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is not used for downstream requests and retries of those requests. If a // value of this headers is not supplied in a request, the service generates a random (version 4) UUID. XRequestID *string `json:"X-Request-ID,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
CreateProviderTypeInstanceOptions : The CreateProviderTypeInstance options.
func (*CreateProviderTypeInstanceOptions) SetAttributes ¶
func (_options *CreateProviderTypeInstanceOptions) SetAttributes(attributes map[string]interface{}) *CreateProviderTypeInstanceOptions
SetAttributes : Allow user to set Attributes
func (*CreateProviderTypeInstanceOptions) SetHeaders ¶
func (options *CreateProviderTypeInstanceOptions) SetHeaders(param map[string]string) *CreateProviderTypeInstanceOptions
SetHeaders : Allow user to set Headers
func (*CreateProviderTypeInstanceOptions) SetInstanceID ¶ added in v5.1.0
func (_options *CreateProviderTypeInstanceOptions) SetInstanceID(instanceID string) *CreateProviderTypeInstanceOptions
SetInstanceID : Allow user to set InstanceID
func (*CreateProviderTypeInstanceOptions) SetName ¶
func (_options *CreateProviderTypeInstanceOptions) SetName(name string) *CreateProviderTypeInstanceOptions
SetName : Allow user to set Name
func (*CreateProviderTypeInstanceOptions) SetProviderTypeID ¶
func (_options *CreateProviderTypeInstanceOptions) SetProviderTypeID(providerTypeID string) *CreateProviderTypeInstanceOptions
SetProviderTypeID : Allow user to set ProviderTypeID
func (*CreateProviderTypeInstanceOptions) SetXCorrelationID ¶
func (_options *CreateProviderTypeInstanceOptions) SetXCorrelationID(xCorrelationID string) *CreateProviderTypeInstanceOptions
SetXCorrelationID : Allow user to set XCorrelationID
func (*CreateProviderTypeInstanceOptions) SetXRequestID ¶
func (_options *CreateProviderTypeInstanceOptions) SetXRequestID(xRequestID string) *CreateProviderTypeInstanceOptions
SetXRequestID : Allow user to set XRequestID
type CreateRuleOptions ¶
type CreateRuleOptions struct { // ID of the instance InstanceID *string `json:"instance_id" validate:"required,ne="` // The rule description. Description *string `json:"description" validate:"required"` // The rule target. Target *Target `json:"target" validate:"required"` // The required configurations. RequiredConfig RequiredConfigIntf `json:"required_config" validate:"required"` // The rule type (user_defined or system_defined). Type *string `json:"type,omitempty"` // The rule version number. Version *string `json:"version,omitempty"` // The collection of import parameters. Import *Import `json:"import,omitempty"` // The list of labels that correspond to a rule. Labels []string `json:"labels,omitempty"` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is used for downstream requests and retries of those requests. If a value of // this header is not supplied in a request, the service generates a random (version 4) UUID. XCorrelationID *string `json:"X-Correlation-Id,omitempty"` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is not used for downstream requests and retries of those requests. If a // value of this header is not supplied in a request, the service generates a random (version 4) UUID. XRequestID *string `json:"X-Request-Id,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
CreateRuleOptions : The CreateRule options.
func (*CreateRuleOptions) SetDescription ¶
func (_options *CreateRuleOptions) SetDescription(description string) *CreateRuleOptions
SetDescription : Allow user to set Description
func (*CreateRuleOptions) SetHeaders ¶
func (options *CreateRuleOptions) SetHeaders(param map[string]string) *CreateRuleOptions
SetHeaders : Allow user to set Headers
func (*CreateRuleOptions) SetImport ¶
func (_options *CreateRuleOptions) SetImport(importVar *Import) *CreateRuleOptions
SetImport : Allow user to set Import
func (*CreateRuleOptions) SetInstanceID ¶ added in v5.1.0
func (_options *CreateRuleOptions) SetInstanceID(instanceID string) *CreateRuleOptions
SetInstanceID : Allow user to set InstanceID
func (*CreateRuleOptions) SetLabels ¶
func (_options *CreateRuleOptions) SetLabels(labels []string) *CreateRuleOptions
SetLabels : Allow user to set Labels
func (*CreateRuleOptions) SetRequiredConfig ¶
func (_options *CreateRuleOptions) SetRequiredConfig(requiredConfig RequiredConfigIntf) *CreateRuleOptions
SetRequiredConfig : Allow user to set RequiredConfig
func (*CreateRuleOptions) SetTarget ¶
func (_options *CreateRuleOptions) SetTarget(target *Target) *CreateRuleOptions
SetTarget : Allow user to set Target
func (*CreateRuleOptions) SetType ¶
func (_options *CreateRuleOptions) SetType(typeVar string) *CreateRuleOptions
SetType : Allow user to set Type
func (*CreateRuleOptions) SetVersion ¶
func (_options *CreateRuleOptions) SetVersion(version string) *CreateRuleOptions
SetVersion : Allow user to set Version
func (*CreateRuleOptions) SetXCorrelationID ¶
func (_options *CreateRuleOptions) SetXCorrelationID(xCorrelationID string) *CreateRuleOptions
SetXCorrelationID : Allow user to set XCorrelationID
func (*CreateRuleOptions) SetXRequestID ¶
func (_options *CreateRuleOptions) SetXRequestID(xRequestID string) *CreateRuleOptions
SetXRequestID : Allow user to set XRequestID
type CreateScanOptions ¶
type CreateScanOptions struct { // ID of the instance InstanceID *string `json:"instance_id" validate:"required,ne="` // The attachment ID of a profile. AttachmentID *string `json:"attachment_id" validate:"required"` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is used for downstream requests and retries of those requests. If a value of // this header is not supplied in a request, the service generates a random (version 4) UUID. XCorrelationID *string `json:"X-Correlation-ID,omitempty"` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is not used for downstream requests and retries of those requests. If a value // of this header is not supplied in a request, the service generates a random (version 4) UUID. XRequestID *string `json:"X-Request-ID,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
CreateScanOptions : The CreateScan options.
func (*CreateScanOptions) SetAttachmentID ¶
func (_options *CreateScanOptions) SetAttachmentID(attachmentID string) *CreateScanOptions
SetAttachmentID : Allow user to set AttachmentID
func (*CreateScanOptions) SetHeaders ¶
func (options *CreateScanOptions) SetHeaders(param map[string]string) *CreateScanOptions
SetHeaders : Allow user to set Headers
func (*CreateScanOptions) SetInstanceID ¶ added in v5.1.0
func (_options *CreateScanOptions) SetInstanceID(instanceID string) *CreateScanOptions
SetInstanceID : Allow user to set InstanceID
func (*CreateScanOptions) SetXCorrelationID ¶
func (_options *CreateScanOptions) SetXCorrelationID(xCorrelationID string) *CreateScanOptions
SetXCorrelationID : Allow user to set XCorrelationID
func (*CreateScanOptions) SetXRequestID ¶
func (_options *CreateScanOptions) SetXRequestID(xRequestID string) *CreateScanOptions
SetXRequestID : Allow user to set XRequestID
type DefaultParametersPrototype ¶
type DefaultParametersPrototype struct { // The type of the implementation. AssessmentType *string `json:"assessment_type,omitempty"` // The implementation ID of the parameter. AssessmentID *string `json:"assessment_id,omitempty"` // The parameter name. ParameterName *string `json:"parameter_name,omitempty"` // The default value of the parameter. ParameterDefaultValue *string `json:"parameter_default_value,omitempty"` // The parameter display name. ParameterDisplayName *string `json:"parameter_display_name,omitempty"` // The parameter type. ParameterType *string `json:"parameter_type,omitempty"` }
DefaultParametersPrototype : The control details of a profile.
type DeleteCustomControlLibraryOptions ¶
type DeleteCustomControlLibraryOptions struct { // ID of the instance InstanceID *string `json:"instance_id" validate:"required,ne="` // The control library ID. ControlLibrariesID *string `json:"control_libraries_id" validate:"required,ne="` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is used for downstream requests and retries of those requests. If a value of // this header is not supplied in a request, the service generates a random (version 4) UUID. XCorrelationID *string `json:"X-Correlation-ID,omitempty"` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is not used for downstream requests and retries of those requests. If a value // of this header is not supplied in a request, the service generates a random (version 4) UUID. XRequestID *string `json:"X-Request-ID,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
DeleteCustomControlLibraryOptions : The DeleteCustomControlLibrary options.
func (*DeleteCustomControlLibraryOptions) SetControlLibrariesID ¶
func (_options *DeleteCustomControlLibraryOptions) SetControlLibrariesID(controlLibrariesID string) *DeleteCustomControlLibraryOptions
SetControlLibrariesID : Allow user to set ControlLibrariesID
func (*DeleteCustomControlLibraryOptions) SetHeaders ¶
func (options *DeleteCustomControlLibraryOptions) SetHeaders(param map[string]string) *DeleteCustomControlLibraryOptions
SetHeaders : Allow user to set Headers
func (*DeleteCustomControlLibraryOptions) SetInstanceID ¶ added in v5.1.0
func (_options *DeleteCustomControlLibraryOptions) SetInstanceID(instanceID string) *DeleteCustomControlLibraryOptions
SetInstanceID : Allow user to set InstanceID
func (*DeleteCustomControlLibraryOptions) SetXCorrelationID ¶
func (_options *DeleteCustomControlLibraryOptions) SetXCorrelationID(xCorrelationID string) *DeleteCustomControlLibraryOptions
SetXCorrelationID : Allow user to set XCorrelationID
func (*DeleteCustomControlLibraryOptions) SetXRequestID ¶
func (_options *DeleteCustomControlLibraryOptions) SetXRequestID(xRequestID string) *DeleteCustomControlLibraryOptions
SetXRequestID : Allow user to set XRequestID
type DeleteCustomProfileOptions ¶
type DeleteCustomProfileOptions struct { // ID of the instance InstanceID *string `json:"instance_id" validate:"required,ne="` // The profile ID. ProfileID *string `json:"profile_id" validate:"required,ne="` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is used for downstream requests and retries of those requests. If a value of // this header is not supplied in a request, the service generates a random (version 4) UUID. XCorrelationID *string `json:"X-Correlation-ID,omitempty"` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is not used for downstream requests and retries of those requests. If a value // of this header is not supplied in a request, the service generates a random (version 4) UUID. XRequestID *string `json:"X-Request-ID,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
DeleteCustomProfileOptions : The DeleteCustomProfile options.
func (*DeleteCustomProfileOptions) SetHeaders ¶
func (options *DeleteCustomProfileOptions) SetHeaders(param map[string]string) *DeleteCustomProfileOptions
SetHeaders : Allow user to set Headers
func (*DeleteCustomProfileOptions) SetInstanceID ¶ added in v5.1.0
func (_options *DeleteCustomProfileOptions) SetInstanceID(instanceID string) *DeleteCustomProfileOptions
SetInstanceID : Allow user to set InstanceID
func (*DeleteCustomProfileOptions) SetProfileID ¶ added in v5.0.2
func (_options *DeleteCustomProfileOptions) SetProfileID(profileID string) *DeleteCustomProfileOptions
SetProfileID : Allow user to set ProfileID
func (*DeleteCustomProfileOptions) SetXCorrelationID ¶
func (_options *DeleteCustomProfileOptions) SetXCorrelationID(xCorrelationID string) *DeleteCustomProfileOptions
SetXCorrelationID : Allow user to set XCorrelationID
func (*DeleteCustomProfileOptions) SetXRequestID ¶
func (_options *DeleteCustomProfileOptions) SetXRequestID(xRequestID string) *DeleteCustomProfileOptions
SetXRequestID : Allow user to set XRequestID
type DeleteProfileAttachmentOptions ¶
type DeleteProfileAttachmentOptions struct { // ID of the instance InstanceID *string `json:"instance_id" validate:"required,ne="` // The attachment ID. AttachmentID *string `json:"attachment_id" validate:"required,ne="` // The profile ID. ProfileID *string `json:"profile_id" validate:"required,ne="` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is used for downstream requests and retries of those requests. If a value of // this header is not supplied in a request, the service generates a random (version 4) UUID. XCorrelationID *string `json:"X-Correlation-ID,omitempty"` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is not used for downstream requests and retries of those requests. If a value // of this header is not supplied in a request, the service generates a random (version 4) UUID. XRequestID *string `json:"X-Request-ID,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
DeleteProfileAttachmentOptions : The DeleteProfileAttachment options.
func (*DeleteProfileAttachmentOptions) SetAttachmentID ¶
func (_options *DeleteProfileAttachmentOptions) SetAttachmentID(attachmentID string) *DeleteProfileAttachmentOptions
SetAttachmentID : Allow user to set AttachmentID
func (*DeleteProfileAttachmentOptions) SetHeaders ¶
func (options *DeleteProfileAttachmentOptions) SetHeaders(param map[string]string) *DeleteProfileAttachmentOptions
SetHeaders : Allow user to set Headers
func (*DeleteProfileAttachmentOptions) SetInstanceID ¶ added in v5.1.0
func (_options *DeleteProfileAttachmentOptions) SetInstanceID(instanceID string) *DeleteProfileAttachmentOptions
SetInstanceID : Allow user to set InstanceID
func (*DeleteProfileAttachmentOptions) SetProfileID ¶ added in v5.0.2
func (_options *DeleteProfileAttachmentOptions) SetProfileID(profileID string) *DeleteProfileAttachmentOptions
SetProfileID : Allow user to set ProfileID
func (*DeleteProfileAttachmentOptions) SetXCorrelationID ¶
func (_options *DeleteProfileAttachmentOptions) SetXCorrelationID(xCorrelationID string) *DeleteProfileAttachmentOptions
SetXCorrelationID : Allow user to set XCorrelationID
func (*DeleteProfileAttachmentOptions) SetXRequestID ¶
func (_options *DeleteProfileAttachmentOptions) SetXRequestID(xRequestID string) *DeleteProfileAttachmentOptions
SetXRequestID : Allow user to set XRequestID
type DeleteProviderTypeInstanceOptions ¶
type DeleteProviderTypeInstanceOptions struct { // ID of the instance InstanceID *string `json:"instance_id" validate:"required,ne="` // The provider type ID. ProviderTypeID *string `json:"provider_type_id" validate:"required,ne="` // The provider type instance ID. ProviderTypeInstanceID *string `json:"provider_type_instance_id" validate:"required,ne="` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is used for downstream requests and retries of those requests. If a value of // this headers is not supplied in a request, the service generates a random (version 4) UUID. XCorrelationID *string `json:"X-Correlation-ID,omitempty"` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is not used for downstream requests and retries of those requests. If a // value of this headers is not supplied in a request, the service generates a random (version 4) UUID. XRequestID *string `json:"X-Request-ID,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
DeleteProviderTypeInstanceOptions : The DeleteProviderTypeInstance options.
func (*DeleteProviderTypeInstanceOptions) SetHeaders ¶
func (options *DeleteProviderTypeInstanceOptions) SetHeaders(param map[string]string) *DeleteProviderTypeInstanceOptions
SetHeaders : Allow user to set Headers
func (*DeleteProviderTypeInstanceOptions) SetInstanceID ¶ added in v5.1.0
func (_options *DeleteProviderTypeInstanceOptions) SetInstanceID(instanceID string) *DeleteProviderTypeInstanceOptions
// SetInstanceID : Allow user to set InstanceID
func (*DeleteProviderTypeInstanceOptions) SetProviderTypeID ¶
func (_options *DeleteProviderTypeInstanceOptions) SetProviderTypeID(providerTypeID string) *DeleteProviderTypeInstanceOptions
SetProviderTypeID : Allow user to set ProviderTypeID
func (*DeleteProviderTypeInstanceOptions) SetProviderTypeInstanceID ¶
func (_options *DeleteProviderTypeInstanceOptions) SetProviderTypeInstanceID(providerTypeInstanceID string) *DeleteProviderTypeInstanceOptions
SetProviderTypeInstanceID : Allow user to set ProviderTypeInstanceID
func (*DeleteProviderTypeInstanceOptions) SetXCorrelationID ¶
func (_options *DeleteProviderTypeInstanceOptions) SetXCorrelationID(xCorrelationID string) *DeleteProviderTypeInstanceOptions
SetXCorrelationID : Allow user to set XCorrelationID
func (*DeleteProviderTypeInstanceOptions) SetXRequestID ¶
func (_options *DeleteProviderTypeInstanceOptions) SetXRequestID(xRequestID string) *DeleteProviderTypeInstanceOptions
SetXRequestID : Allow user to set XRequestID
type DeleteRuleOptions ¶
type DeleteRuleOptions struct { // ID of the instance InstanceID *string `json:"instance_id" validate:"required,ne="` // The ID of the corresponding rule. RuleID *string `json:"rule_id" validate:"required,ne="` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is used for downstream requests and retries of those requests. If a value of // this header is not supplied in a request, the service generates a random (version 4) UUID. XCorrelationID *string `json:"X-Correlation-Id,omitempty"` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is not used for downstream requests and retries of those requests. If a // value of this header is not supplied in a request, the service generates a random (version 4) UUID. XRequestID *string `json:"X-Request-Id,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
DeleteRuleOptions : The DeleteRule options.
func (*DeleteRuleOptions) SetHeaders ¶
func (options *DeleteRuleOptions) SetHeaders(param map[string]string) *DeleteRuleOptions
SetHeaders : Allow user to set Headers
func (*DeleteRuleOptions) SetInstanceID ¶ added in v5.1.0
func (_options *DeleteRuleOptions) SetInstanceID(instanceID string) *DeleteRuleOptions
SetInstanceID : Allow user to set InstanceID
func (*DeleteRuleOptions) SetRuleID ¶
func (_options *DeleteRuleOptions) SetRuleID(ruleID string) *DeleteRuleOptions
SetRuleID : Allow user to set RuleID
func (*DeleteRuleOptions) SetXCorrelationID ¶
func (_options *DeleteRuleOptions) SetXCorrelationID(xCorrelationID string) *DeleteRuleOptions
SetXCorrelationID : Allow user to set XCorrelationID
func (*DeleteRuleOptions) SetXRequestID ¶
func (_options *DeleteRuleOptions) SetXRequestID(xRequestID string) *DeleteRuleOptions
SetXRequestID : Allow user to set XRequestID
type EvalDetails ¶
type EvalDetails struct { // The evaluation properties. Properties []Property `json:"properties,omitempty"` }
EvalDetails : The evaluation details.
type EvalStats ¶
type EvalStats struct { // The allowed values of an aggregated status for controls, specifications, assessments, and resources. Status *string `json:"status,omitempty"` // The total number of evaluations. TotalCount *int64 `json:"total_count,omitempty"` // The number of passed evaluations. PassCount *int64 `json:"pass_count,omitempty"` // The number of failed evaluations. FailureCount *int64 `json:"failure_count,omitempty"` // The number of evaluations that started, but did not finish, and ended with errors. ErrorCount *int64 `json:"error_count,omitempty"` // The total number of completed evaluations. CompletedCount *int64 `json:"completed_count,omitempty"` }
EvalStats : The evaluation stats.
type Evaluation ¶
type Evaluation struct { // The ID of the home account. HomeAccountID *string `json:"home_account_id,omitempty"` // The ID of the report that is associated to the evaluation. ReportID *string `json:"report_id,omitempty"` // The control ID. ControlID *string `json:"control_id,omitempty"` // The component ID. ComponentID *string `json:"component_id,omitempty"` // The control specification assessment. Assessment *Assessment `json:"assessment,omitempty"` // The time when the evaluation was made. EvaluateTime *string `json:"evaluate_time,omitempty"` // The evaluation target. Target *TargetInfo `json:"target,omitempty"` // The allowed values of an evaluation status. Status *string `json:"status,omitempty"` // The reason for the evaluation failure. Reason *string `json:"reason,omitempty"` // The evaluation details. Details *EvalDetails `json:"details,omitempty"` }
Evaluation : The evaluation of a control specification assessment.
type EvaluationPage ¶
type EvaluationPage struct { // The total number of resources that are in the collection. TotalCount *int64 `json:"total_count" validate:"required"` // The requested page limi.t. Limit *int64 `json:"limit" validate:"required"` // The token of the next page, when it's present. Start *string `json:"start,omitempty"` // The page reference. First *PageHRef `json:"first" validate:"required"` // The page reference. Next *PageHRef `json:"next,omitempty"` // The ID of the home account. HomeAccountID *string `json:"home_account_id,omitempty"` // The ID of the report. ReportID *string `json:"report_id,omitempty"` // The list of evaluations that are on the page. Evaluations []Evaluation `json:"evaluations,omitempty"` }
EvaluationPage : The page of assessment evaluations.
func (*EvaluationPage) GetNextStart ¶
func (resp *EvaluationPage) GetNextStart() (*string, error)
Retrieve the value to be passed to a request to access the next page of results
type EventNotifications ¶
type EventNotifications struct { // The Event Notifications instance CRN. InstanceCrn *string `json:"instance_crn,omitempty"` // The date when the Event Notifications connection was updated. UpdatedOn *strfmt.DateTime `json:"updated_on,omitempty"` // The connected Security and Compliance Center instance CRN. SourceID *string `json:"source_id,omitempty"` // The description of the source of the Event Notifications. SourceDescription *string `json:"source_description,omitempty"` // The name of the source of the Event Notifications. SourceName *string `json:"source_name,omitempty"` }
EventNotifications : The Event Notifications settings.
type FailedControls ¶
type FailedControls struct { // The threshold limit. ThresholdLimit *int64 `json:"threshold_limit,omitempty"` // The failed control IDs. FailedControlIds []string `json:"failed_control_ids,omitempty"` }
FailedControls : The failed controls.
type GetControlLibraryOptions ¶
type GetControlLibraryOptions struct { // ID of the instance InstanceID *string `json:"instance_id" validate:"required,ne="` // The control library ID. ControlLibrariesID *string `json:"control_libraries_id" validate:"required,ne="` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is used for downstream requests and retries of those requests. If a value of // this header is not supplied in a request, the service generates a random (version 4) UUID. XCorrelationID *string `json:"X-Correlation-ID,omitempty"` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is not used for downstream requests and retries of those requests. If a value // of this header is not supplied in a request, the service generates a random (version 4) UUID. XRequestID *string `json:"X-Request-ID,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
GetControlLibraryOptions : The GetControlLibrary options.
func (*GetControlLibraryOptions) SetControlLibrariesID ¶
func (_options *GetControlLibraryOptions) SetControlLibrariesID(controlLibrariesID string) *GetControlLibraryOptions
SetControlLibrariesID : Allow user to set ControlLibrariesID
func (*GetControlLibraryOptions) SetHeaders ¶
func (options *GetControlLibraryOptions) SetHeaders(param map[string]string) *GetControlLibraryOptions
SetHeaders : Allow user to set Headers
func (*GetControlLibraryOptions) SetInstanceID ¶ added in v5.1.0
func (_options *GetControlLibraryOptions) SetInstanceID(instanceID string) *GetControlLibraryOptions
SetInstanceID : Allow user to set InstanceID
func (*GetControlLibraryOptions) SetXCorrelationID ¶
func (_options *GetControlLibraryOptions) SetXCorrelationID(xCorrelationID string) *GetControlLibraryOptions
SetXCorrelationID : Allow user to set XCorrelationID
func (*GetControlLibraryOptions) SetXRequestID ¶
func (_options *GetControlLibraryOptions) SetXRequestID(xRequestID string) *GetControlLibraryOptions
SetXRequestID : Allow user to set XRequestID
type GetLatestReportsOptions ¶
type GetLatestReportsOptions struct { // ID of the instance InstanceID *string `json:"instance_id" validate:"required,ne="` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is used for downstream requests and retries of those requests. If a value of // this header is not supplied in a request, the service generates a random (version 4) UUID. XCorrelationID *string `json:"X-Correlation-ID,omitempty"` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is not used for downstream requests and retries of those requests. If a // value of this header is not supplied in a request, the service generates a random (version 4) UUID. XRequestID *string `json:"X-Request-ID,omitempty"` // This field sorts results by using a valid sort field. To learn more, see // [Sorting](https://cloud.ibm.com/docs/api-handbook?topic=api-handbook-sorting). Sort *string `json:"sort,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
GetLatestReportsOptions : The GetLatestReports options.
func (*GetLatestReportsOptions) SetHeaders ¶
func (options *GetLatestReportsOptions) SetHeaders(param map[string]string) *GetLatestReportsOptions
SetHeaders : Allow user to set Headers
func (*GetLatestReportsOptions) SetInstanceID ¶ added in v5.1.0
func (_options *GetLatestReportsOptions) SetInstanceID(instanceID string) *GetLatestReportsOptions
SetInstanceID : Allow user to set InstanceID
func (*GetLatestReportsOptions) SetSort ¶
func (_options *GetLatestReportsOptions) SetSort(sort string) *GetLatestReportsOptions
SetSort : Allow user to set Sort
func (*GetLatestReportsOptions) SetXCorrelationID ¶
func (_options *GetLatestReportsOptions) SetXCorrelationID(xCorrelationID string) *GetLatestReportsOptions
SetXCorrelationID : Allow user to set XCorrelationID
func (*GetLatestReportsOptions) SetXRequestID ¶
func (_options *GetLatestReportsOptions) SetXRequestID(xRequestID string) *GetLatestReportsOptions
SetXRequestID : Allow user to set XRequestID
type GetProfileAttachmentOptions ¶
type GetProfileAttachmentOptions struct { // ID of the instance InstanceID *string `json:"instance_id" validate:"required,ne="` // The attachment ID. AttachmentID *string `json:"attachment_id" validate:"required,ne="` // The profile ID. ProfileID *string `json:"profile_id" validate:"required,ne="` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is used for downstream requests and retries of those requests. If a value of // this header is not supplied in a request, the service generates a random (version 4) UUID. XCorrelationID *string `json:"X-Correlation-ID,omitempty"` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is not used for downstream requests and retries of those requests. If a value // of this header is not supplied in a request, the service generates a random (version 4) UUID. XRequestID *string `json:"X-Request-ID,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
GetProfileAttachmentOptions : The GetProfileAttachment options.
func (*GetProfileAttachmentOptions) SetAttachmentID ¶
func (_options *GetProfileAttachmentOptions) SetAttachmentID(attachmentID string) *GetProfileAttachmentOptions
SetAttachmentID : Allow user to set AttachmentID
func (*GetProfileAttachmentOptions) SetHeaders ¶
func (options *GetProfileAttachmentOptions) SetHeaders(param map[string]string) *GetProfileAttachmentOptions
SetHeaders : Allow user to set Headers
func (*GetProfileAttachmentOptions) SetInstanceID ¶ added in v5.1.0
func (_options *GetProfileAttachmentOptions) SetInstanceID(instanceID string) *GetProfileAttachmentOptions
SetInstanceID : Allow user to set InstanceID
func (*GetProfileAttachmentOptions) SetProfileID ¶ added in v5.0.2
func (_options *GetProfileAttachmentOptions) SetProfileID(profileID string) *GetProfileAttachmentOptions
SetProfileID : Allow user to set ProfileID
func (*GetProfileAttachmentOptions) SetXCorrelationID ¶
func (_options *GetProfileAttachmentOptions) SetXCorrelationID(xCorrelationID string) *GetProfileAttachmentOptions
SetXCorrelationID : Allow user to set XCorrelationID
func (*GetProfileAttachmentOptions) SetXRequestID ¶
func (_options *GetProfileAttachmentOptions) SetXRequestID(xRequestID string) *GetProfileAttachmentOptions
SetXRequestID : Allow user to set XRequestID
type GetProfileOptions ¶
type GetProfileOptions struct { // ID of the instance InstanceID *string `json:"instance_id" validate:"required,ne="` // The profile ID. ProfileID *string `json:"profile_id" validate:"required,ne="` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is used for downstream requests and retries of those requests. If a value of // this header is not supplied in a request, the service generates a random (version 4) UUID. XCorrelationID *string `json:"X-Correlation-ID,omitempty"` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is not used for downstream requests and retries of those requests. If a value // of this header is not supplied in a request, the service generates a random (version 4) UUID. XRequestID *string `json:"X-Request-ID,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
GetProfileOptions : The GetProfile options.
func (*GetProfileOptions) SetHeaders ¶
func (options *GetProfileOptions) SetHeaders(param map[string]string) *GetProfileOptions
SetHeaders : Allow user to set Headers
func (*GetProfileOptions) SetInstanceID ¶ added in v5.1.0
func (_options *GetProfileOptions) SetInstanceID(instanceID string) *GetProfileOptions
SetInstanceID : Allow user to set InstanceID
func (*GetProfileOptions) SetProfileID ¶ added in v5.0.2
func (_options *GetProfileOptions) SetProfileID(profileID string) *GetProfileOptions
SetProfileID : Allow user to set ProfileID
func (*GetProfileOptions) SetXCorrelationID ¶
func (_options *GetProfileOptions) SetXCorrelationID(xCorrelationID string) *GetProfileOptions
SetXCorrelationID : Allow user to set XCorrelationID
func (*GetProfileOptions) SetXRequestID ¶
func (_options *GetProfileOptions) SetXRequestID(xRequestID string) *GetProfileOptions
SetXRequestID : Allow user to set XRequestID
type GetProviderTypeByIdOptions ¶
type GetProviderTypeByIdOptions struct { // ID of the instance InstanceID *string `json:"instance_id" validate:"required,ne="` // The provider type ID. ProviderTypeID *string `json:"provider_type_id" validate:"required,ne="` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is used for downstream requests and retries of those requests. If a value of // this headers is not supplied in a request, the service generates a random (version 4) UUID. XCorrelationID *string `json:"X-Correlation-ID,omitempty"` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is not used for downstream requests and retries of those requests. If a // value of this headers is not supplied in a request, the service generates a random (version 4) UUID. XRequestID *string `json:"X-Request-ID,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
GetProviderTypeByIdOptions : The GetProviderTypeByID options.
func (*GetProviderTypeByIdOptions) SetHeaders ¶
func (options *GetProviderTypeByIdOptions) SetHeaders(param map[string]string) *GetProviderTypeByIdOptions
SetHeaders : Allow user to set Headers
func (*GetProviderTypeByIdOptions) SetInstanceID ¶ added in v5.1.4
func (_options *GetProviderTypeByIdOptions) SetInstanceID(instanceID string) *GetProviderTypeByIdOptions
SetInstanceID : Allow user to set InstanceID
func (*GetProviderTypeByIdOptions) SetProviderTypeID ¶
func (_options *GetProviderTypeByIdOptions) SetProviderTypeID(providerTypeID string) *GetProviderTypeByIdOptions
SetProviderTypeID : Allow user to set ProviderTypeID
func (*GetProviderTypeByIdOptions) SetXCorrelationID ¶
func (_options *GetProviderTypeByIdOptions) SetXCorrelationID(xCorrelationID string) *GetProviderTypeByIdOptions
SetXCorrelationID : Allow user to set XCorrelationID
func (*GetProviderTypeByIdOptions) SetXRequestID ¶
func (_options *GetProviderTypeByIdOptions) SetXRequestID(xRequestID string) *GetProviderTypeByIdOptions
SetXRequestID : Allow user to set XRequestID
type GetProviderTypeInstanceOptions ¶
type GetProviderTypeInstanceOptions struct { // ID of the instance InstanceID *string `json:"instance_id" validate:"required,ne="` // The provider type ID. ProviderTypeID *string `json:"provider_type_id" validate:"required,ne="` // The provider type instance ID. ProviderTypeInstanceID *string `json:"provider_type_instance_id" validate:"required,ne="` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is used for downstream requests and retries of those requests. If a value of // this headers is not supplied in a request, the service generates a random (version 4) UUID. XCorrelationID *string `json:"X-Correlation-ID,omitempty"` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is not used for downstream requests and retries of those requests. If a // value of this headers is not supplied in a request, the service generates a random (version 4) UUID. XRequestID *string `json:"X-Request-ID,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
GetProviderTypeInstanceOptions : The GetProviderTypeInstance options.
func (*GetProviderTypeInstanceOptions) SetHeaders ¶
func (options *GetProviderTypeInstanceOptions) SetHeaders(param map[string]string) *GetProviderTypeInstanceOptions
SetHeaders : Allow user to set Headers
func (*GetProviderTypeInstanceOptions) SetInstanceID ¶ added in v5.1.0
func (_options *GetProviderTypeInstanceOptions) SetInstanceID(instanceID string) *GetProviderTypeInstanceOptions
SetInstanceID : Allow user to set InstanceID
func (*GetProviderTypeInstanceOptions) SetProviderTypeID ¶
func (_options *GetProviderTypeInstanceOptions) SetProviderTypeID(providerTypeID string) *GetProviderTypeInstanceOptions
SetProviderTypeID : Allow user to set ProviderTypeID
func (*GetProviderTypeInstanceOptions) SetProviderTypeInstanceID ¶
func (_options *GetProviderTypeInstanceOptions) SetProviderTypeInstanceID(providerTypeInstanceID string) *GetProviderTypeInstanceOptions
SetProviderTypeInstanceID : Allow user to set ProviderTypeInstanceID
func (*GetProviderTypeInstanceOptions) SetXCorrelationID ¶
func (_options *GetProviderTypeInstanceOptions) SetXCorrelationID(xCorrelationID string) *GetProviderTypeInstanceOptions
SetXCorrelationID : Allow user to set XCorrelationID
func (*GetProviderTypeInstanceOptions) SetXRequestID ¶
func (_options *GetProviderTypeInstanceOptions) SetXRequestID(xRequestID string) *GetProviderTypeInstanceOptions
SetXRequestID : Allow user to set XRequestID
type GetProviderTypesInstancesOptions ¶
type GetProviderTypesInstancesOptions struct { // ID of the instance InstanceID *string `json:"instance_id" validate:"required,ne="` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is used for downstream requests and retries of those requests. If a value of // this headers is not supplied in a request, the service generates a random (version 4) UUID. XCorrelationID *string `json:"X-Correlation-ID,omitempty"` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is not used for downstream requests and retries of those requests. If a // value of this headers is not supplied in a request, the service generates a random (version 4) UUID. XRequestID *string `json:"X-Request-ID,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
GetProviderTypesInstancesOptions : The GetProviderTypesInstances options.
func (*GetProviderTypesInstancesOptions) SetHeaders ¶
func (options *GetProviderTypesInstancesOptions) SetHeaders(param map[string]string) *GetProviderTypesInstancesOptions
SetHeaders : Allow user to set Headers
func (*GetProviderTypesInstancesOptions) SetInstanceID ¶ added in v5.1.0
func (_options *GetProviderTypesInstancesOptions) SetInstanceID(instanceID string) *GetProviderTypesInstancesOptions
SetInstance : Allow user to set Instantiate
func (*GetProviderTypesInstancesOptions) SetXCorrelationID ¶
func (_options *GetProviderTypesInstancesOptions) SetXCorrelationID(xCorrelationID string) *GetProviderTypesInstancesOptions
SetXCorrelationID : Allow user to set XCorrelationID
func (*GetProviderTypesInstancesOptions) SetXRequestID ¶
func (_options *GetProviderTypesInstancesOptions) SetXRequestID(xRequestID string) *GetProviderTypesInstancesOptions
SetXRequestID : Allow user to set XRequestID
type GetReportControlsOptions ¶
type GetReportControlsOptions struct { // ID of the instance InstanceID *string `json:"instance_id" validate:"required,ne="` // The ID of the scan that is associated with a report. ReportID *string `json:"report_id" validate:"required,ne="` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is used for downstream requests and retries of those requests. If a value of // this header is not supplied in a request, the service generates a random (version 4) UUID. XCorrelationID *string `json:"X-Correlation-ID,omitempty"` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is not used for downstream requests and retries of those requests. If a // value of this header is not supplied in a request, the service generates a random (version 4) UUID. XRequestID *string `json:"X-Request-ID,omitempty"` // The ID of the control. ControlID *string `json:"control_id,omitempty"` // The name of the control. ControlName *string `json:"control_name,omitempty"` // The description of the control. ControlDescription *string `json:"control_description,omitempty"` // A control category value. ControlCategory *string `json:"control_category,omitempty"` // The compliance status value. Status *string `json:"status,omitempty"` // This field sorts controls by using a valid sort field. To learn more, see // [Sorting](https://cloud.ibm.com/docs/api-handbook?topic=api-handbook-sorting). Sort *string `json:"sort,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
GetReportControlsOptions : The GetReportControls options.
func (*GetReportControlsOptions) SetControlCategory ¶
func (_options *GetReportControlsOptions) SetControlCategory(controlCategory string) *GetReportControlsOptions
SetControlCategory : Allow user to set ControlCategory
func (*GetReportControlsOptions) SetControlDescription ¶
func (_options *GetReportControlsOptions) SetControlDescription(controlDescription string) *GetReportControlsOptions
SetControlDescription : Allow user to set ControlDescription
func (*GetReportControlsOptions) SetControlID ¶
func (_options *GetReportControlsOptions) SetControlID(controlID string) *GetReportControlsOptions
SetControlID : Allow user to set ControlID
func (*GetReportControlsOptions) SetControlName ¶
func (_options *GetReportControlsOptions) SetControlName(controlName string) *GetReportControlsOptions
SetControlName : Allow user to set ControlName
func (*GetReportControlsOptions) SetHeaders ¶
func (options *GetReportControlsOptions) SetHeaders(param map[string]string) *GetReportControlsOptions
SetHeaders : Allow user to set Headers
func (*GetReportControlsOptions) SetInstanceID ¶ added in v5.1.0
func (_options *GetReportControlsOptions) SetInstanceID(instanceID string) *GetReportControlsOptions
SetInstanceID : Allow user to set InstanceID
func (*GetReportControlsOptions) SetReportID ¶
func (_options *GetReportControlsOptions) SetReportID(reportID string) *GetReportControlsOptions
SetReportID : Allow user to set ReportID
func (*GetReportControlsOptions) SetSort ¶
func (_options *GetReportControlsOptions) SetSort(sort string) *GetReportControlsOptions
SetSort : Allow user to set Sort
func (*GetReportControlsOptions) SetStatus ¶
func (_options *GetReportControlsOptions) SetStatus(status string) *GetReportControlsOptions
SetStatus : Allow user to set Status
func (*GetReportControlsOptions) SetXCorrelationID ¶
func (_options *GetReportControlsOptions) SetXCorrelationID(xCorrelationID string) *GetReportControlsOptions
SetXCorrelationID : Allow user to set XCorrelationID
func (*GetReportControlsOptions) SetXRequestID ¶
func (_options *GetReportControlsOptions) SetXRequestID(xRequestID string) *GetReportControlsOptions
SetXRequestID : Allow user to set XRequestID
type GetReportEvaluationOptions ¶
type GetReportEvaluationOptions struct { // ID of the instance InstanceID *string `json:"instance_id" validate:"required,ne="` // The ID of the scan that is associated with a report. ReportID *string `json:"report_id" validate:"required,ne="` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is used for downstream requests and retries of those requests. If a value of // this header is not supplied in a request, the service generates a random (version 4) UUID. XCorrelationID *string `json:"X-Correlation-ID,omitempty"` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is not used for downstream requests and retries of those requests. If a // value of this header is not supplied in a request, the service generates a random (version 4) UUID. XRequestID *string `json:"X-Request-ID,omitempty"` // The indication of whether report summary metadata must be excluded. ExcludeSummary *bool `json:"exclude_summary,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
GetReportEvaluationOptions : The GetReportEvaluation options.
func (*GetReportEvaluationOptions) SetExcludeSummary ¶
func (_options *GetReportEvaluationOptions) SetExcludeSummary(excludeSummary bool) *GetReportEvaluationOptions
SetExcludeSummary : Allow user to set ExcludeSummary
func (*GetReportEvaluationOptions) SetHeaders ¶
func (options *GetReportEvaluationOptions) SetHeaders(param map[string]string) *GetReportEvaluationOptions
SetHeaders : Allow user to set Headers
func (*GetReportEvaluationOptions) SetInstanceID ¶ added in v5.1.0
func (_options *GetReportEvaluationOptions) SetInstanceID(instanceID string) *GetReportEvaluationOptions
SetInstanceID : Allow user to set InstanceID
func (*GetReportEvaluationOptions) SetReportID ¶
func (_options *GetReportEvaluationOptions) SetReportID(reportID string) *GetReportEvaluationOptions
SetReportID : Allow user to set ReportID
func (*GetReportEvaluationOptions) SetXCorrelationID ¶
func (_options *GetReportEvaluationOptions) SetXCorrelationID(xCorrelationID string) *GetReportEvaluationOptions
SetXCorrelationID : Allow user to set XCorrelationID
func (*GetReportEvaluationOptions) SetXRequestID ¶
func (_options *GetReportEvaluationOptions) SetXRequestID(xRequestID string) *GetReportEvaluationOptions
SetXRequestID : Allow user to set XRequestID
type GetReportOptions ¶
type GetReportOptions struct { // ID of the instance InstanceID *string `json:"instance_id" validate:"required,ne="` // The ID of the scan that is associated with a report. ReportID *string `json:"report_id" validate:"required,ne="` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is used for downstream requests and retries of those requests. If a value of // this header is not supplied in a request, the service generates a random (version 4) UUID. XCorrelationID *string `json:"X-Correlation-ID,omitempty"` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is not used for downstream requests and retries of those requests. If a // value of this header is not supplied in a request, the service generates a random (version 4) UUID. XRequestID *string `json:"X-Request-ID,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
GetReportOptions : The GetReport options.
func (*GetReportOptions) SetHeaders ¶
func (options *GetReportOptions) SetHeaders(param map[string]string) *GetReportOptions
SetHeaders : Allow user to set Headers
func (*GetReportOptions) SetInstanceID ¶ added in v5.1.0
func (_options *GetReportOptions) SetInstanceID(instanceID string) *GetReportOptions
SetInstanceID : Allow user to set InstanceID
func (*GetReportOptions) SetReportID ¶
func (_options *GetReportOptions) SetReportID(reportID string) *GetReportOptions
SetReportID : Allow user to set ReportID
func (*GetReportOptions) SetXCorrelationID ¶
func (_options *GetReportOptions) SetXCorrelationID(xCorrelationID string) *GetReportOptions
SetXCorrelationID : Allow user to set XCorrelationID
func (*GetReportOptions) SetXRequestID ¶
func (_options *GetReportOptions) SetXRequestID(xRequestID string) *GetReportOptions
SetXRequestID : Allow user to set XRequestID
type GetReportRuleOptions ¶
type GetReportRuleOptions struct { // ID of the instance InstanceID *string `json:"instance_id" validate:"required,ne="` // The ID of the scan that is associated with a report. ReportID *string `json:"report_id" validate:"required,ne="` // The ID of a rule in a report. RuleID *string `json:"rule_id" validate:"required,ne="` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is used for downstream requests and retries of those requests. If a value of // this header is not supplied in a request, the service generates a random (version 4) UUID. XCorrelationID *string `json:"X-Correlation-ID,omitempty"` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is not used for downstream requests and retries of those requests. If a // value of this header is not supplied in a request, the service generates a random (version 4) UUID. XRequestID *string `json:"X-Request-ID,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
GetReportRuleOptions : The GetReportRule options.
func (*GetReportRuleOptions) SetHeaders ¶
func (options *GetReportRuleOptions) SetHeaders(param map[string]string) *GetReportRuleOptions
SetHeaders : Allow user to set Headers
func (*GetReportRuleOptions) SetInstanceID ¶ added in v5.1.0
func (_options *GetReportRuleOptions) SetInstanceID(instanceID string) *GetReportRuleOptions
SetInstanceID : Allow user to set InstanceID
func (*GetReportRuleOptions) SetReportID ¶
func (_options *GetReportRuleOptions) SetReportID(reportID string) *GetReportRuleOptions
SetReportID : Allow user to set ReportID
func (*GetReportRuleOptions) SetRuleID ¶
func (_options *GetReportRuleOptions) SetRuleID(ruleID string) *GetReportRuleOptions
SetRuleID : Allow user to set RuleID
func (*GetReportRuleOptions) SetXCorrelationID ¶
func (_options *GetReportRuleOptions) SetXCorrelationID(xCorrelationID string) *GetReportRuleOptions
SetXCorrelationID : Allow user to set XCorrelationID
func (*GetReportRuleOptions) SetXRequestID ¶
func (_options *GetReportRuleOptions) SetXRequestID(xRequestID string) *GetReportRuleOptions
SetXRequestID : Allow user to set XRequestID
type GetReportSummaryOptions ¶
type GetReportSummaryOptions struct { // ID of the instance InstanceID *string `json:"instance_id" validate:"required,ne="` // The ID of the scan that is associated with a report. ReportID *string `json:"report_id" validate:"required,ne="` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is used for downstream requests and retries of those requests. If a value of // this header is not supplied in a request, the service generates a random (version 4) UUID. XCorrelationID *string `json:"X-Correlation-ID,omitempty"` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is not used for downstream requests and retries of those requests. If a // value of this header is not supplied in a request, the service generates a random (version 4) UUID. XRequestID *string `json:"X-Request-ID,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
GetReportSummaryOptions : The GetReportSummary options.
func (*GetReportSummaryOptions) SetHeaders ¶
func (options *GetReportSummaryOptions) SetHeaders(param map[string]string) *GetReportSummaryOptions
SetHeaders : Allow user to set Headers
func (*GetReportSummaryOptions) SetInstanceID ¶ added in v5.1.0
func (_options *GetReportSummaryOptions) SetInstanceID(instanceID string) *GetReportSummaryOptions
SetInstanceID : Allow user to set InstanceID
func (*GetReportSummaryOptions) SetReportID ¶
func (_options *GetReportSummaryOptions) SetReportID(reportID string) *GetReportSummaryOptions
SetReportID : Allow user to set ReportID
func (*GetReportSummaryOptions) SetXCorrelationID ¶
func (_options *GetReportSummaryOptions) SetXCorrelationID(xCorrelationID string) *GetReportSummaryOptions
SetXCorrelationID : Allow user to set XCorrelationID
func (*GetReportSummaryOptions) SetXRequestID ¶
func (_options *GetReportSummaryOptions) SetXRequestID(xRequestID string) *GetReportSummaryOptions
SetXRequestID : Allow user to set XRequestID
type GetReportTagsOptions ¶
type GetReportTagsOptions struct { // ID of the instance InstanceID *string `json:"instance_id" validate:"required,ne="` // The ID of the scan that is associated with a report. ReportID *string `json:"report_id" validate:"required,ne="` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is used for downstream requests and retries of those requests. If a value of // this header is not supplied in a request, the service generates a random (version 4) UUID. XCorrelationID *string `json:"X-Correlation-ID,omitempty"` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is not used for downstream requests and retries of those requests. If a // value of this header is not supplied in a request, the service generates a random (version 4) UUID. XRequestID *string `json:"X-Request-ID,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
GetReportTagsOptions : The GetReportTags options.
func (*GetReportTagsOptions) SetHeaders ¶
func (options *GetReportTagsOptions) SetHeaders(param map[string]string) *GetReportTagsOptions
SetHeaders : Allow user to set Headers
func (*GetReportTagsOptions) SetInstanceID ¶ added in v5.1.0
func (_options *GetReportTagsOptions) SetInstanceID(instanceID string) *GetReportTagsOptions
SetInstanceID : Allow user to set InstanceID
func (*GetReportTagsOptions) SetReportID ¶
func (_options *GetReportTagsOptions) SetReportID(reportID string) *GetReportTagsOptions
SetReportID : Allow user to set ReportID
func (*GetReportTagsOptions) SetXCorrelationID ¶
func (_options *GetReportTagsOptions) SetXCorrelationID(xCorrelationID string) *GetReportTagsOptions
SetXCorrelationID : Allow user to set XCorrelationID
func (*GetReportTagsOptions) SetXRequestID ¶
func (_options *GetReportTagsOptions) SetXRequestID(xRequestID string) *GetReportTagsOptions
SetXRequestID : Allow user to set XRequestID
type GetReportViolationsDriftOptions ¶
type GetReportViolationsDriftOptions struct { // ID of the instance InstanceID *string `json:"instance_id" validate:"required,ne="` // The ID of the scan that is associated with a report. ReportID *string `json:"report_id" validate:"required,ne="` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is used for downstream requests and retries of those requests. If a value of // this header is not supplied in a request, the service generates a random (version 4) UUID. XCorrelationID *string `json:"X-Correlation-ID,omitempty"` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is not used for downstream requests and retries of those requests. If a // value of this header is not supplied in a request, the service generates a random (version 4) UUID. XRequestID *string `json:"X-Request-ID,omitempty"` // The duration of the `scan_time` timestamp in number of days. ScanTimeDuration *int64 `json:"scan_time_duration,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
GetReportViolationsDriftOptions : The GetReportViolationsDrift options.
func (*GetReportViolationsDriftOptions) SetHeaders ¶
func (options *GetReportViolationsDriftOptions) SetHeaders(param map[string]string) *GetReportViolationsDriftOptions
SetHeaders : Allow user to set Headers
func (*GetReportViolationsDriftOptions) SetInstanceID ¶ added in v5.1.0
func (_options *GetReportViolationsDriftOptions) SetInstanceID(instanceID string) *GetReportViolationsDriftOptions
SetInstanceID : Allow user to set InstanceID
func (*GetReportViolationsDriftOptions) SetReportID ¶
func (_options *GetReportViolationsDriftOptions) SetReportID(reportID string) *GetReportViolationsDriftOptions
SetReportID : Allow user to set ReportID
func (*GetReportViolationsDriftOptions) SetScanTimeDuration ¶
func (_options *GetReportViolationsDriftOptions) SetScanTimeDuration(scanTimeDuration int64) *GetReportViolationsDriftOptions
SetScanTimeDuration : Allow user to set ScanTimeDuration
func (*GetReportViolationsDriftOptions) SetXCorrelationID ¶
func (_options *GetReportViolationsDriftOptions) SetXCorrelationID(xCorrelationID string) *GetReportViolationsDriftOptions
SetXCorrelationID : Allow user to set XCorrelationID
func (*GetReportViolationsDriftOptions) SetXRequestID ¶
func (_options *GetReportViolationsDriftOptions) SetXRequestID(xRequestID string) *GetReportViolationsDriftOptions
SetXRequestID : Allow user to set XRequestID
type GetRuleOptions ¶
type GetRuleOptions struct { // ID of the instance InstanceID *string `json:"instance_id" validate:"required,ne="` // The ID of the corresponding rule. RuleID *string `json:"rule_id" validate:"required,ne="` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is used for downstream requests and retries of those requests. If a value of // this header is not supplied in a request, the service generates a random (version 4) UUID. XCorrelationID *string `json:"X-Correlation-Id,omitempty"` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is not used for downstream requests and retries of those requests. If a // value of this header is not supplied in a request, the service generates a random (version 4) UUID. XRequestID *string `json:"X-Request-Id,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
GetRuleOptions : The GetRule options.
func (*GetRuleOptions) SetHeaders ¶
func (options *GetRuleOptions) SetHeaders(param map[string]string) *GetRuleOptions
SetHeaders : Allow user to set Headers
func (*GetRuleOptions) SetInstanceID ¶ added in v5.1.0
func (_options *GetRuleOptions) SetInstanceID(instanceID string) *GetRuleOptions
SetInstanceID : Allow user to set InstanceID
func (*GetRuleOptions) SetRuleID ¶
func (_options *GetRuleOptions) SetRuleID(ruleID string) *GetRuleOptions
SetRuleID : Allow user to set RuleID
func (*GetRuleOptions) SetXCorrelationID ¶
func (_options *GetRuleOptions) SetXCorrelationID(xCorrelationID string) *GetRuleOptions
SetXCorrelationID : Allow user to set XCorrelationID
func (*GetRuleOptions) SetXRequestID ¶
func (_options *GetRuleOptions) SetXRequestID(xRequestID string) *GetRuleOptions
SetXRequestID : Allow user to set XRequestID
type GetSettingsOptions ¶
type GetSettingsOptions struct { // The ID of the instance InstanceID *string `json:"instance_id" validate:"required,ne="` // The supplied or generated value of this header is logged for a request, and repeated in a response header for the // corresponding response. The same value is used for downstream requests and retries of those requests. If a value of // this header is not supplied in a request, the service generates a random (version 4) UUID. XCorrelationID *string `json:"X-Correlation-Id,omitempty"` // The supplied or generated value of this header is logged for a request, and repeated in a response header for the // corresponding response. The same value is not used for downstream requests and retries of those requests. If a // value of this header is not supplied in a request, the service generates a random (version 4) UUID. XRequestID *string `json:"X-Request-Id,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
GetSettingsOptions : The GetSettings options.
func (*GetSettingsOptions) SetHeaders ¶
func (options *GetSettingsOptions) SetHeaders(param map[string]string) *GetSettingsOptions
SetHeaders : Allow user to set Headers
func (*GetSettingsOptions) SetInstanceID ¶ added in v5.1.0
func (_options *GetSettingsOptions) SetInstanceID(instanceID string) *GetSettingsOptions
SetInstanceID : Allow user to set InstanceID
func (*GetSettingsOptions) SetXCorrelationID ¶
func (_options *GetSettingsOptions) SetXCorrelationID(xCorrelationID string) *GetSettingsOptions
SetXCorrelationID : Allow user to set XCorrelationID
func (*GetSettingsOptions) SetXRequestID ¶
func (_options *GetSettingsOptions) SetXRequestID(xRequestID string) *GetSettingsOptions
SetXRequestID : Allow user to set XRequestID
type Implementation ¶
type Implementation struct { // The assessment ID. AssessmentID *string `json:"assessment_id,omitempty"` // The assessment method. AssessmentMethod *string `json:"assessment_method,omitempty"` // The assessment type. AssessmentType *string `json:"assessment_type,omitempty"` // The assessment description. AssessmentDescription *string `json:"assessment_description,omitempty"` // The parameter count. ParameterCount *int64 `json:"parameter_count,omitempty"` // The parameters. Parameters []ParameterInfo `json:"parameters,omitempty"` }
Implementation : The implementation details of a control library.
type Import ¶
type Import struct { // The list of import parameters. Parameters []Parameter `json:"parameters,omitempty"` }
Import : The collection of import parameters.
type LabelType ¶
type LabelType struct { // The text of the label. Text *string `json:"text,omitempty"` // The text to be shown when user hover overs the label. Tip *string `json:"tip,omitempty"` }
LabelType : The label that is associated with the provider type.
type LastScan ¶
type LastScan struct { // The ID of the last scan of an attachment. ID *string `json:"id,omitempty"` // The status of the last scan of an attachment. Status *string `json:"status,omitempty"` // The time when the last scan started. Time *strfmt.DateTime `json:"time,omitempty"` }
LastScan : The details of the last scan of an attachment.
type ListAttachmentsAccountOptions ¶
type ListAttachmentsAccountOptions struct { // ID of the instance InstanceID *string `json:"instance_id" validate:"required,ne="` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is used for downstream requests and retries of those requests. If a value of // this header is not supplied in a request, the service generates a random (version 4) UUID. XCorrelationID *string `json:"X-Correlation-ID,omitempty"` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is not used for downstream requests and retries of those requests. If a value // of this header is not supplied in a request, the service generates a random (version 4) UUID. XRequestID *string `json:"X-Request-ID,omitempty"` // The indication of how many resources to return, unless the response is the last page of resources. Limit *int64 `json:"limit,omitempty"` // Determine what resource to start the page on or after. Start *string `json:"start,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
ListAttachmentsAccountOptions : The ListAttachmentsAccount options.
func (*ListAttachmentsAccountOptions) SetHeaders ¶
func (options *ListAttachmentsAccountOptions) SetHeaders(param map[string]string) *ListAttachmentsAccountOptions
SetHeaders : Allow user to set Headers
func (*ListAttachmentsAccountOptions) SetLimit ¶
func (_options *ListAttachmentsAccountOptions) SetLimit(limit int64) *ListAttachmentsAccountOptions
SetLimit : Allow user to set Limit
func (*ListAttachmentsAccountOptions) SetStart ¶
func (_options *ListAttachmentsAccountOptions) SetStart(start string) *ListAttachmentsAccountOptions
SetStart : Allow user to set Start
func (*ListAttachmentsAccountOptions) SetXCorrelationID ¶
func (_options *ListAttachmentsAccountOptions) SetXCorrelationID(xCorrelationID string) *ListAttachmentsAccountOptions
SetXCorrelationID : Allow user to set XCorrelationID
func (*ListAttachmentsAccountOptions) SetXRequestID ¶
func (_options *ListAttachmentsAccountOptions) SetXRequestID(xRequestID string) *ListAttachmentsAccountOptions
SetXRequestID : Allow user to set XRequestID
type ListAttachmentsOptions ¶
type ListAttachmentsOptions struct { // ID of the instance InstanceID *string `json:"instance_id" validate:"required,ne="` // The profile ID. ProfileID *string `json:"profile_id" validate:"required,ne="` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is used for downstream requests and retries of those requests. If a value of // this header is not supplied in a request, the service generates a random (version 4) UUID. XCorrelationID *string `json:"X-Correlation-ID,omitempty"` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is not used for downstream requests and retries of those requests. If a value // of this header is not supplied in a request, the service generates a random (version 4) UUID. XRequestID *string `json:"X-Request-ID,omitempty"` // The indication of how many resources to return, unless the response is the last page of resources. Limit *int64 `json:"limit,omitempty"` // Determine what resource to start the page on or after. Start *string `json:"start,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
ListAttachmentsOptions : The ListAttachments options.
func (*ListAttachmentsOptions) SetHeaders ¶
func (options *ListAttachmentsOptions) SetHeaders(param map[string]string) *ListAttachmentsOptions
SetHeaders : Allow user to set Headers
func (*ListAttachmentsOptions) SetInstanceID ¶ added in v5.1.0
func (_options *ListAttachmentsOptions) SetInstanceID(instanceID string) *ListAttachmentsOptions
SetInstanceID : Allow user to set InstanceID
func (*ListAttachmentsOptions) SetLimit ¶
func (_options *ListAttachmentsOptions) SetLimit(limit int64) *ListAttachmentsOptions
SetLimit : Allow user to set Limit
func (*ListAttachmentsOptions) SetProfileID ¶ added in v5.0.2
func (_options *ListAttachmentsOptions) SetProfileID(profileID string) *ListAttachmentsOptions
SetProfileID : Allow user to set ProfileID
func (*ListAttachmentsOptions) SetStart ¶
func (_options *ListAttachmentsOptions) SetStart(start string) *ListAttachmentsOptions
SetStart : Allow user to set Start
func (*ListAttachmentsOptions) SetXCorrelationID ¶
func (_options *ListAttachmentsOptions) SetXCorrelationID(xCorrelationID string) *ListAttachmentsOptions
SetXCorrelationID : Allow user to set XCorrelationID
func (*ListAttachmentsOptions) SetXRequestID ¶
func (_options *ListAttachmentsOptions) SetXRequestID(xRequestID string) *ListAttachmentsOptions
SetXRequestID : Allow user to set XRequestID
type ListControlLibrariesOptions ¶
type ListControlLibrariesOptions struct { // ID of the instance InstanceID *string `json:"instance_id" validate:"required,ne="` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is used for downstream requests and retries of those requests. If a value of // this header is not supplied in a request, the service generates a random (version 4) UUID. XCorrelationID *string `json:"X-Correlation-ID,omitempty"` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is not used for downstream requests and retries of those requests. If a value // of this header is not supplied in a request, the service generates a random (version 4) UUID. XRequestID *string `json:"X-Request-ID,omitempty"` // The field that indicates how many resources to return, unless the response is the last page of resources. Limit *int64 `json:"limit,omitempty"` // The field that indicate how you want the resources to be filtered by. ControlLibraryType *string `json:"control_library_type,omitempty"` // Determine what resource to start the page on or after. Start *string `json:"start,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
ListControlLibrariesOptions : The ListControlLibraries options.
func (*ListControlLibrariesOptions) SetControlLibraryType ¶
func (_options *ListControlLibrariesOptions) SetControlLibraryType(controlLibraryType string) *ListControlLibrariesOptions
SetControlLibraryType : Allow user to set ControlLibraryType
func (*ListControlLibrariesOptions) SetHeaders ¶
func (options *ListControlLibrariesOptions) SetHeaders(param map[string]string) *ListControlLibrariesOptions
SetHeaders : Allow user to set Headers
func (*ListControlLibrariesOptions) SetInstanceID ¶ added in v5.1.0
func (_options *ListControlLibrariesOptions) SetInstanceID(instanceID string) *ListControlLibrariesOptions
SetInstanceID : Allow user to set InstanceID
func (*ListControlLibrariesOptions) SetLimit ¶
func (_options *ListControlLibrariesOptions) SetLimit(limit int64) *ListControlLibrariesOptions
SetLimit : Allow user to set Limit
func (*ListControlLibrariesOptions) SetStart ¶
func (_options *ListControlLibrariesOptions) SetStart(start string) *ListControlLibrariesOptions
SetStart : Allow user to set Start
func (*ListControlLibrariesOptions) SetXCorrelationID ¶
func (_options *ListControlLibrariesOptions) SetXCorrelationID(xCorrelationID string) *ListControlLibrariesOptions
SetXCorrelationID : Allow user to set XCorrelationID
func (*ListControlLibrariesOptions) SetXRequestID ¶
func (_options *ListControlLibrariesOptions) SetXRequestID(xRequestID string) *ListControlLibrariesOptions
SetXRequestID : Allow user to set XRequestID
type ListProfilesOptions ¶
type ListProfilesOptions struct { // ID of the instance InstanceID *string `json:"instance_id" validate:"required,ne="` // The supplied or generated value of this header is logged for a request, and repeated in a response header for the // corresponding response. The same value is used for downstream requests, and retries of those requests. If a value of // this header is not supplied in a request, the service generates a random (version 4) UUID. XCorrelationID *string `json:"X-Correlation-ID,omitempty"` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is not used for downstream requests and retries of those requests. If a value // of this header is not supplied in a request, the service generates a random (version 4) UUID. XRequestID *string `json:"X-Request-ID,omitempty"` // The indication of how many resources to return, unless the response is the last page of resources. Limit *int64 `json:"limit,omitempty"` // The field that indicate how you want the resources to be filtered by. ProfileType *string `json:"profile_type,omitempty"` // Determine what resource to start the page on or after. Start *string `json:"start,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
ListProfilesOptions : The ListProfiles options.
func (*ListProfilesOptions) SetHeaders ¶
func (options *ListProfilesOptions) SetHeaders(param map[string]string) *ListProfilesOptions
SetHeaders : Allow user to set Headers
func (*ListProfilesOptions) SetInstanceID ¶ added in v5.1.0
func (_options *ListProfilesOptions) SetInstanceID(instanceID string) *ListProfilesOptions
SetInstanceID : Allow user to set InstanceID
func (*ListProfilesOptions) SetLimit ¶
func (_options *ListProfilesOptions) SetLimit(limit int64) *ListProfilesOptions
SetLimit : Allow user to set Limit
func (*ListProfilesOptions) SetProfileType ¶
func (_options *ListProfilesOptions) SetProfileType(profileType string) *ListProfilesOptions
SetProfileType : Allow user to set ProfileType
func (*ListProfilesOptions) SetStart ¶
func (_options *ListProfilesOptions) SetStart(start string) *ListProfilesOptions
SetStart : Allow user to set Start
func (*ListProfilesOptions) SetXCorrelationID ¶
func (_options *ListProfilesOptions) SetXCorrelationID(xCorrelationID string) *ListProfilesOptions
SetXCorrelationID : Allow user to set XCorrelationID
func (*ListProfilesOptions) SetXRequestID ¶
func (_options *ListProfilesOptions) SetXRequestID(xRequestID string) *ListProfilesOptions
SetXRequestID : Allow user to set XRequestID
type ListProviderTypeInstancesOptions ¶
type ListProviderTypeInstancesOptions struct { // ID of the instance InstanceID *string `json:"instance_id" validate:"required,ne="` // The provider type ID. ProviderTypeID *string `json:"provider_type_id" validate:"required,ne="` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is used for downstream requests and retries of those requests. If a value of // this headers is not supplied in a request, the service generates a random (version 4) UUID. XCorrelationID *string `json:"X-Correlation-ID,omitempty"` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is not used for downstream requests and retries of those requests. If a // value of this headers is not supplied in a request, the service generates a random (version 4) UUID. XRequestID *string `json:"X-Request-ID,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
ListProviderTypeInstancesOptions : The ListProviderTypeInstances options.
func (*ListProviderTypeInstancesOptions) SetHeaders ¶
func (options *ListProviderTypeInstancesOptions) SetHeaders(param map[string]string) *ListProviderTypeInstancesOptions
SetHeaders : Allow user to set Headers
func (*ListProviderTypeInstancesOptions) SetProviderTypeID ¶
func (_options *ListProviderTypeInstancesOptions) SetProviderTypeID(providerTypeID string) *ListProviderTypeInstancesOptions
SetProviderTypeID : Allow user to set ProviderTypeID
func (*ListProviderTypeInstancesOptions) SetXCorrelationID ¶
func (_options *ListProviderTypeInstancesOptions) SetXCorrelationID(xCorrelationID string) *ListProviderTypeInstancesOptions
SetXCorrelationID : Allow user to set XCorrelationID
func (*ListProviderTypeInstancesOptions) SetXRequestID ¶
func (_options *ListProviderTypeInstancesOptions) SetXRequestID(xRequestID string) *ListProviderTypeInstancesOptions
SetXRequestID : Allow user to set XRequestID
type ListProviderTypesOptions ¶
type ListProviderTypesOptions struct { // ID of the instance InstanceID *string `json:"instance_id" validate:"required,ne="` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is used for downstream requests and retries of those requests. If a value of // this headers is not supplied in a request, the service generates a random (version 4) UUID. XCorrelationID *string `json:"X-Correlation-ID,omitempty"` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is not used for downstream requests and retries of those requests. If a // value of this headers is not supplied in a request, the service generates a random (version 4) UUID. XRequestID *string `json:"X-Request-ID,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
ListProviderTypesOptions : The ListProviderTypes options.
func (*ListProviderTypesOptions) SetHeaders ¶
func (options *ListProviderTypesOptions) SetHeaders(param map[string]string) *ListProviderTypesOptions
SetHeaders : Allow user to set Headers
func (*ListProviderTypesOptions) SetInstanceID ¶ added in v5.1.3
func (_options *ListProviderTypesOptions) SetInstanceID(instanceID string) *ListProviderTypesOptions
SetInstanceID : Allow user to set InstanceID
func (*ListProviderTypesOptions) SetXCorrelationID ¶
func (_options *ListProviderTypesOptions) SetXCorrelationID(xCorrelationID string) *ListProviderTypesOptions
SetXCorrelationID : Allow user to set XCorrelationID
func (*ListProviderTypesOptions) SetXRequestID ¶
func (_options *ListProviderTypesOptions) SetXRequestID(xRequestID string) *ListProviderTypesOptions
SetXRequestID : Allow user to set XRequestID
type ListReportEvaluationsOptions ¶
type ListReportEvaluationsOptions struct { // ID of the instance InstanceID *string `json:"instance_id" validate:"required,ne="` // The ID of the scan that is associated with a report. ReportID *string `json:"report_id" validate:"required,ne="` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is used for downstream requests and retries of those requests. If a value of // this header is not supplied in a request, the service generates a random (version 4) UUID. XCorrelationID *string `json:"X-Correlation-ID,omitempty"` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is not used for downstream requests and retries of those requests. If a // value of this header is not supplied in a request, the service generates a random (version 4) UUID. XRequestID *string `json:"X-Request-ID,omitempty"` // The ID of the assessment. AssessmentID *string `json:"assessment_id,omitempty"` // The ID of component. ComponentID *string `json:"component_id,omitempty"` // The ID of the evaluation target. TargetID *string `json:"target_id,omitempty"` // The name of the evaluation target. TargetName *string `json:"target_name,omitempty"` // The evaluation status value. Status *string `json:"status,omitempty"` // The indication of what resource to start the page on. Start *string `json:"start,omitempty"` // The indication of many resources to return, unless the response is the last page of resources. Limit *int64 `json:"limit,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
ListReportEvaluationsOptions : The ListReportEvaluations options.
func (*ListReportEvaluationsOptions) SetAssessmentID ¶
func (_options *ListReportEvaluationsOptions) SetAssessmentID(assessmentID string) *ListReportEvaluationsOptions
SetAssessmentID : Allow user to set AssessmentID
func (*ListReportEvaluationsOptions) SetComponentID ¶
func (_options *ListReportEvaluationsOptions) SetComponentID(componentID string) *ListReportEvaluationsOptions
SetComponentID : Allow user to set ComponentID
func (*ListReportEvaluationsOptions) SetHeaders ¶
func (options *ListReportEvaluationsOptions) SetHeaders(param map[string]string) *ListReportEvaluationsOptions
SetHeaders : Allow user to set Headers
func (*ListReportEvaluationsOptions) SetInstanceID ¶ added in v5.1.0
func (_options *ListReportEvaluationsOptions) SetInstanceID(instanceID string) *ListReportEvaluationsOptions
SetInstanceID : Allow user to set InstanceID
func (*ListReportEvaluationsOptions) SetLimit ¶
func (_options *ListReportEvaluationsOptions) SetLimit(limit int64) *ListReportEvaluationsOptions
SetLimit : Allow user to set Limit
func (*ListReportEvaluationsOptions) SetReportID ¶
func (_options *ListReportEvaluationsOptions) SetReportID(reportID string) *ListReportEvaluationsOptions
SetReportID : Allow user to set ReportID
func (*ListReportEvaluationsOptions) SetStart ¶
func (_options *ListReportEvaluationsOptions) SetStart(start string) *ListReportEvaluationsOptions
SetStart : Allow user to set Start
func (*ListReportEvaluationsOptions) SetStatus ¶
func (_options *ListReportEvaluationsOptions) SetStatus(status string) *ListReportEvaluationsOptions
SetStatus : Allow user to set Status
func (*ListReportEvaluationsOptions) SetTargetID ¶
func (_options *ListReportEvaluationsOptions) SetTargetID(targetID string) *ListReportEvaluationsOptions
SetTargetID : Allow user to set TargetID
func (*ListReportEvaluationsOptions) SetTargetName ¶
func (_options *ListReportEvaluationsOptions) SetTargetName(targetName string) *ListReportEvaluationsOptions
SetTargetName : Allow user to set TargetName
func (*ListReportEvaluationsOptions) SetXCorrelationID ¶
func (_options *ListReportEvaluationsOptions) SetXCorrelationID(xCorrelationID string) *ListReportEvaluationsOptions
SetXCorrelationID : Allow user to set XCorrelationID
func (*ListReportEvaluationsOptions) SetXRequestID ¶
func (_options *ListReportEvaluationsOptions) SetXRequestID(xRequestID string) *ListReportEvaluationsOptions
SetXRequestID : Allow user to set XRequestID
type ListReportResourcesOptions ¶
type ListReportResourcesOptions struct { // ID of the instance InstanceID *string `json:"instance_id" validate:"required,ne="` // The ID of the scan that is associated with a report. ReportID *string `json:"report_id" validate:"required,ne="` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is used for downstream requests and retries of those requests. If a value of // this header is not supplied in a request, the service generates a random (version 4) UUID. XCorrelationID *string `json:"X-Correlation-ID,omitempty"` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is not used for downstream requests and retries of those requests. If a // value of this header is not supplied in a request, the service generates a random (version 4) UUID. XRequestID *string `json:"X-Request-ID,omitempty"` // The ID of the resource. ID *string `json:"id,omitempty"` // The name of the resource. ResourceName *string `json:"resource_name,omitempty"` // The ID of the account owning a resource. AccountID *string `json:"account_id,omitempty"` // The ID of component. ComponentID *string `json:"component_id,omitempty"` // The compliance status value. Status *string `json:"status,omitempty"` // This field sorts resources by using a valid sort field. To learn more, see // [Sorting](https://cloud.ibm.com/docs/api-handbook?topic=api-handbook-sorting). Sort *string `json:"sort,omitempty"` // The indication of what resource to start the page on. Start *string `json:"start,omitempty"` // The indication of many resources to return, unless the response is the last page of resources. Limit *int64 `json:"limit,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
ListReportResourcesOptions : The ListReportResources options.
func (*ListReportResourcesOptions) SetAccountID ¶
func (_options *ListReportResourcesOptions) SetAccountID(accountID string) *ListReportResourcesOptions
SetAccountID : Allow user to set AccountID
func (*ListReportResourcesOptions) SetComponentID ¶
func (_options *ListReportResourcesOptions) SetComponentID(componentID string) *ListReportResourcesOptions
SetComponentID : Allow user to set ComponentID
func (*ListReportResourcesOptions) SetHeaders ¶
func (options *ListReportResourcesOptions) SetHeaders(param map[string]string) *ListReportResourcesOptions
SetHeaders : Allow user to set Headers
func (*ListReportResourcesOptions) SetID ¶
func (_options *ListReportResourcesOptions) SetID(id string) *ListReportResourcesOptions
SetID : Allow user to set ID
func (*ListReportResourcesOptions) SetInstanceID ¶ added in v5.1.0
func (_options *ListReportResourcesOptions) SetInstanceID(instanceID string) *ListReportResourcesOptions
SetInstanceID : Allow user to set InstanceID
func (*ListReportResourcesOptions) SetLimit ¶
func (_options *ListReportResourcesOptions) SetLimit(limit int64) *ListReportResourcesOptions
SetLimit : Allow user to set Limit
func (*ListReportResourcesOptions) SetReportID ¶
func (_options *ListReportResourcesOptions) SetReportID(reportID string) *ListReportResourcesOptions
SetReportID : Allow user to set ReportID
func (*ListReportResourcesOptions) SetResourceName ¶
func (_options *ListReportResourcesOptions) SetResourceName(resourceName string) *ListReportResourcesOptions
SetResourceName : Allow user to set ResourceName
func (*ListReportResourcesOptions) SetSort ¶
func (_options *ListReportResourcesOptions) SetSort(sort string) *ListReportResourcesOptions
SetSort : Allow user to set Sort
func (*ListReportResourcesOptions) SetStart ¶
func (_options *ListReportResourcesOptions) SetStart(start string) *ListReportResourcesOptions
SetStart : Allow user to set Start
func (*ListReportResourcesOptions) SetStatus ¶
func (_options *ListReportResourcesOptions) SetStatus(status string) *ListReportResourcesOptions
SetStatus : Allow user to set Status
func (*ListReportResourcesOptions) SetXCorrelationID ¶
func (_options *ListReportResourcesOptions) SetXCorrelationID(xCorrelationID string) *ListReportResourcesOptions
SetXCorrelationID : Allow user to set XCorrelationID
func (*ListReportResourcesOptions) SetXRequestID ¶
func (_options *ListReportResourcesOptions) SetXRequestID(xRequestID string) *ListReportResourcesOptions
SetXRequestID : Allow user to set XRequestID
type ListReportsOptions ¶
type ListReportsOptions struct { // ID of the instance InstanceID *string `json:"instance_id" validate:"required,ne="` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is used for downstream requests and retries of those requests. If a value of // this header is not supplied in a request, the service generates a random (version 4) UUID. XCorrelationID *string `json:"X-Correlation-ID,omitempty"` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is not used for downstream requests and retries of those requests. If a // value of this header is not supplied in a request, the service generates a random (version 4) UUID. XRequestID *string `json:"X-Request-ID,omitempty"` // The ID of the attachment. AttachmentID *string `json:"attachment_id,omitempty"` // The report group ID. GroupID *string `json:"group_id,omitempty"` // The ID of the profile. ProfileID *string `json:"profile_id,omitempty"` // The type of the scan. Type *string `json:"type,omitempty"` // The indication of what resource to start the page on. Start *string `json:"start,omitempty"` // The indication of many resources to return, unless the response is the last page of resources. Limit *int64 `json:"limit,omitempty"` // This field sorts results by using a valid sort field. To learn more, see // [Sorting](https://cloud.ibm.com/docs/api-handbook?topic=api-handbook-sorting). Sort *string `json:"sort,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
ListReportsOptions : The ListReports options.
func (*ListReportsOptions) SetAttachmentID ¶
func (_options *ListReportsOptions) SetAttachmentID(attachmentID string) *ListReportsOptions
SetAttachmentID : Allow user to set AttachmentID
func (*ListReportsOptions) SetGroupID ¶
func (_options *ListReportsOptions) SetGroupID(groupID string) *ListReportsOptions
SetGroupID : Allow user to set GroupID
func (*ListReportsOptions) SetHeaders ¶
func (options *ListReportsOptions) SetHeaders(param map[string]string) *ListReportsOptions
SetHeaders : Allow user to set Headers
func (*ListReportsOptions) SetInstanceID ¶ added in v5.1.0
func (_options *ListReportsOptions) SetInstanceID(instanceID string) *ListReportsOptions
SetInstanceID : Allow user to set InstanceID
func (*ListReportsOptions) SetLimit ¶
func (_options *ListReportsOptions) SetLimit(limit int64) *ListReportsOptions
SetLimit : Allow user to set Limit
func (*ListReportsOptions) SetProfileID ¶
func (_options *ListReportsOptions) SetProfileID(profileID string) *ListReportsOptions
SetProfileID : Allow user to set ProfileID
func (*ListReportsOptions) SetSort ¶
func (_options *ListReportsOptions) SetSort(sort string) *ListReportsOptions
SetSort : Allow user to set Sort
func (*ListReportsOptions) SetStart ¶
func (_options *ListReportsOptions) SetStart(start string) *ListReportsOptions
SetStart : Allow user to set Start
func (*ListReportsOptions) SetType ¶
func (_options *ListReportsOptions) SetType(typeVar string) *ListReportsOptions
SetType : Allow user to set Type
func (*ListReportsOptions) SetXCorrelationID ¶
func (_options *ListReportsOptions) SetXCorrelationID(xCorrelationID string) *ListReportsOptions
SetXCorrelationID : Allow user to set XCorrelationID
func (*ListReportsOptions) SetXRequestID ¶
func (_options *ListReportsOptions) SetXRequestID(xRequestID string) *ListReportsOptions
SetXRequestID : Allow user to set XRequestID
type ListRulesOptions ¶
type ListRulesOptions struct { // ID of the instance InstanceID *string `json:"instance_id" validate:"required,ne="` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is used for downstream requests and retries of those requests. If a value of // this header is not supplied in a request, the service generates a random (version 4) UUID. XCorrelationID *string `json:"X-Correlation-Id,omitempty"` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is not used for downstream requests and retries of those requests. If a // value of this header is not supplied in a request, the service generates a random (version 4) UUID. XRequestID *string `json:"X-Request-Id,omitempty"` // The list of only user-defined, or system-defined rules. Type *string `json:"type,omitempty"` // The indication of whether to search for rules with a specific string string in the name, description, or labels. Search *string `json:"search,omitempty"` // Searches for rules targeting corresponding service. ServiceName *string `json:"service_name,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
ListRulesOptions : The ListRules options.
func (*ListRulesOptions) SetHeaders ¶
func (options *ListRulesOptions) SetHeaders(param map[string]string) *ListRulesOptions
SetHeaders : Allow user to set Headers
func (*ListRulesOptions) SetInstanceID ¶ added in v5.1.0
func (_options *ListRulesOptions) SetInstanceID(instanceID string) *ListRulesOptions
SetInstanceID : Allow user to set InstanceID
func (*ListRulesOptions) SetSearch ¶
func (_options *ListRulesOptions) SetSearch(search string) *ListRulesOptions
SetSearch : Allow user to set Search
func (*ListRulesOptions) SetServiceName ¶
func (_options *ListRulesOptions) SetServiceName(serviceName string) *ListRulesOptions
SetServiceName : Allow user to set ServiceName
func (*ListRulesOptions) SetType ¶
func (_options *ListRulesOptions) SetType(typeVar string) *ListRulesOptions
SetType : Allow user to set Type
func (*ListRulesOptions) SetXCorrelationID ¶
func (_options *ListRulesOptions) SetXCorrelationID(xCorrelationID string) *ListRulesOptions
SetXCorrelationID : Allow user to set XCorrelationID
func (*ListRulesOptions) SetXRequestID ¶
func (_options *ListRulesOptions) SetXRequestID(xRequestID string) *ListRulesOptions
SetXRequestID : Allow user to set XRequestID
type MultiCloudScope ¶
type MultiCloudScope struct { // The environment that relates to this scope. Environment *string `json:"environment" validate:"required"` // The properties supported for scoping by this environment. Properties []PropertyItem `json:"properties" validate:"required"` }
MultiCloudScope : The scope payload for the multi cloud feature.
type ObjectStorage ¶
type ObjectStorage struct { // The connected Cloud Object Storage instance CRN. InstanceCrn *string `json:"instance_crn,omitempty"` // The connected Cloud Object Storage bucket name. Bucket *string `json:"bucket,omitempty"` // The connected Cloud Object Storage bucket location. BucketLocation *string `json:"bucket_location,omitempty"` // The connected Cloud Object Storage bucket endpoint. BucketEndpoint *string `json:"bucket_endpoint,omitempty"` // The date when the bucket connection was updated. UpdatedOn *strfmt.DateTime `json:"updated_on,omitempty"` }
ObjectStorage : The Cloud Object Storage settings.
type PageHRef ¶
type PageHRef struct { // The URL for the first and next page. Href *string `json:"href" validate:"required"` }
PageHRef : The page reference.
type PageHRefFirst ¶
type PageHRefFirst struct { // A URL for the first and next page. Href *string `json:"href" validate:"required"` }
PageHRefFirst : A page reference.
type PageHRefNext ¶
type PageHRefNext struct { // A URL for the first and next page. Href *string `json:"href" validate:"required"` // The token of the next page when present. Start *string `json:"start,omitempty"` }
PageHRefNext : A page reference.
type PaginatedCollectionFirst ¶
type PaginatedCollectionFirst struct { // The reference URL for the first few entries. Href *string `json:"href,omitempty"` }
PaginatedCollectionFirst : The reference to the first page of entries.
type PaginatedCollectionNext ¶
type PaginatedCollectionNext struct { // The reference URL for the entries. Href *string `json:"href,omitempty"` // The reference to the start of the list of entries. Start *string `json:"start,omitempty"` }
PaginatedCollectionNext : The reference URL for the next few entries.
type Parameter ¶
type Parameter struct { // The import parameter name. Name *string `json:"name,omitempty"` // The display name of the property. DisplayName *string `json:"display_name,omitempty"` // The propery description. Description *string `json:"description,omitempty"` // The property type. Type *string `json:"type,omitempty"` }
Parameter : The rule import parameter.
type ParameterInfo ¶
type ParameterInfo struct { // The parameter name. ParameterName *string `json:"parameter_name,omitempty"` // The parameter display name. ParameterDisplayName *string `json:"parameter_display_name,omitempty"` // The parameter type. ParameterType *string `json:"parameter_type,omitempty"` // The property value. ParameterValue interface{} `json:"parameter_value,omitempty"` }
ParameterInfo : The parameter details.
type PostTestEventOptions ¶
type PostTestEventOptions struct { // ID of the instance InstanceID *string `json:"instance_id" validate:"required,ne="` // The supplied or generated value of this header is logged for a request, and repeated in a response header for the // corresponding response. The same value is used for downstream requests and retries of those requests. If a value of // this header is not supplied in a request, the service generates a random (version 4) UUID. XCorrelationID *string `json:"X-Correlation-Id,omitempty"` // The supplied or generated value of this header is logged for a request, and repeated in a response header for the // corresponding response. The same value is not used for downstream requests and retries of those requests. If a // value of this header is not supplied in a request, the service generates a random (version 4) UUID. XRequestID *string `json:"X-Request-Id,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
PostTestEventOptions : The PostTestEvent options.
func (*PostTestEventOptions) SetHeaders ¶
func (options *PostTestEventOptions) SetHeaders(param map[string]string) *PostTestEventOptions
SetHeaders : Allow user to set Headers
func (*PostTestEventOptions) SetInstanceID ¶ added in v5.1.0
func (_options *PostTestEventOptions) SetInstanceID(instanceID string) *PostTestEventOptions
SetInstanceID : Allow user to set InstanceID
func (*PostTestEventOptions) SetXCorrelationID ¶
func (_options *PostTestEventOptions) SetXCorrelationID(xCorrelationID string) *PostTestEventOptions
SetXCorrelationID : Allow user to set XCorrelationID
func (*PostTestEventOptions) SetXRequestID ¶
func (_options *PostTestEventOptions) SetXRequestID(xRequestID string) *PostTestEventOptions
SetXRequestID : Allow user to set XRequestID
type Profile ¶
type Profile struct { // The unique ID of the profile. ID *string `json:"id,omitempty"` // The profile name. ProfileName *string `json:"profile_name,omitempty"` // The profile description. ProfileDescription *string `json:"profile_description,omitempty"` // The profile type, such as custom or predefined. ProfileType *string `json:"profile_type,omitempty"` // The version status of the profile. ProfileVersion *string `json:"profile_version,omitempty"` // The version group label of the profile. VersionGroupLabel *string `json:"version_group_label,omitempty"` // The instance ID. InstanceID *string `json:"instance_id,omitempty"` // The latest version of the profile. Latest *bool `json:"latest,omitempty"` // The indication of whether hierarchy is enabled for the profile. HierarchyEnabled *bool `json:"hierarchy_enabled,omitempty"` // The user who created the profile. CreatedBy *string `json:"created_by,omitempty"` // The date when the profile was created. CreatedOn *strfmt.DateTime `json:"created_on,omitempty"` // The user who updated the profile. UpdatedBy *string `json:"updated_by,omitempty"` // The date when the profile was updated. UpdatedOn *strfmt.DateTime `json:"updated_on,omitempty"` // The number of controls for the profile. ControlsCount *int64 `json:"controls_count,omitempty"` // The number of parent controls for the profile. ControlParentsCount *int64 `json:"control_parents_count,omitempty"` // The number of attachments related to this profile. AttachmentsCount *int64 `json:"attachments_count,omitempty"` // The array of controls that are used to create the profile. Controls []ProfileControls `json:"controls,omitempty"` // The default parameters of the profile. DefaultParameters []DefaultParametersPrototype `json:"default_parameters,omitempty"` }
Profile : The response body of the profile.
type ProfileCollection ¶
type ProfileCollection struct { // The number of profiles. TotalCount *int64 `json:"total_count" validate:"required"` // The limit of profiles that can be created. Limit *int64 `json:"limit" validate:"required"` // The reference to the first page of entries. First *PaginatedCollectionFirst `json:"first" validate:"required"` // The reference URL for the next few entries. Next *PaginatedCollectionNext `json:"next" validate:"required"` // The profiles. Profiles []ProfileItem `json:"profiles" validate:"required"` }
ProfileCollection : The response body to get all profiles that are linked to your account.
func (*ProfileCollection) GetNextStart ¶
func (resp *ProfileCollection) GetNextStart() (*string, error)
Retrieve the value to be passed to a request to access the next page of results
type ProfileControls ¶
type ProfileControls struct { // The ID of the control library that contains the profile. ControlLibraryID *string `json:"control_library_id,omitempty"` // The unique ID of the control library that contains the profile. ControlID *string `json:"control_id,omitempty"` // The most recent version of the control library. ControlLibraryVersion *string `json:"control_library_version,omitempty"` // The control name. ControlName *string `json:"control_name,omitempty"` // The control description. ControlDescription *string `json:"control_description,omitempty"` // The control category. ControlCategory *string `json:"control_category,omitempty"` // The parent control. ControlParent *string `json:"control_parent,omitempty"` // Is this a control that can be automated or manually evaluated. ControlRequirement *bool `json:"control_requirement,omitempty"` // The control documentation. ControlDocs *ControlDocs `json:"control_docs,omitempty"` // The number of control specifications. ControlSpecificationsCount *int64 `json:"control_specifications_count,omitempty"` // The control specifications. ControlSpecifications []ControlSpecifications `json:"control_specifications,omitempty"` }
ProfileControls : The control details for the profile.
type ProfileControlsPrototype ¶
type ProfileControlsPrototype struct { // The ID of the control library that contains the profile. ControlLibraryID *string `json:"control_library_id,omitempty"` // The control ID. ControlID *string `json:"control_id,omitempty"` }
ProfileControlsPrototype : The control details of a profile.
type ProfileInfo ¶
type ProfileInfo struct { // The profile ID. ID *string `json:"id,omitempty"` // The profile name. Name *string `json:"name,omitempty"` // The profile version. Version *string `json:"version,omitempty"` }
ProfileInfo : The profile information.
type ProfileItem ¶
type ProfileItem struct { // The profile ID. ID *string `json:"id,omitempty"` // The profile name. ProfileName *string `json:"profile_name,omitempty"` // The profile description. ProfileDescription *string `json:"profile_description,omitempty"` // The profile type. ProfileType *string `json:"profile_type,omitempty"` // The profile version. ProfileVersion *string `json:"profile_version,omitempty"` // The version group label. VersionGroupLabel *string `json:"version_group_label,omitempty"` // The latest profile. Latest *bool `json:"latest,omitempty"` // The user who created the profile. CreatedBy *string `json:"created_by,omitempty"` // The date when the profile was created. CreatedOn *strfmt.DateTime `json:"created_on,omitempty"` // The user who updated the profile. UpdatedBy *string `json:"updated_by,omitempty"` // The date when the profile was updated. UpdatedOn *strfmt.DateTime `json:"updated_on,omitempty"` // The number of controls. ControlsCount *int64 `json:"controls_count,omitempty"` // The number of attachments. AttachmentsCount *int64 `json:"attachments_count,omitempty"` }
ProfileItem : ProfileItem struct
type ProfilesPager ¶
type ProfilesPager struct {
// contains filtered or unexported fields
}
ProfilePager can be used to simplify the use of the "ListProfile" method.
func (*ProfilesPager) GetAll ¶
func (pager *ProfilesPager) GetAll() (allItems []ProfileItem, err error)
GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.
func (*ProfilesPager) GetAllWithContext ¶
func (pager *ProfilesPager) GetAllWithContext(ctx context.Context) (allItems []ProfileItem, err error)
GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.
func (*ProfilesPager) GetNext ¶
func (pager *ProfilesPager) GetNext() (page []ProfileItem, err error)
GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.
func (*ProfilesPager) GetNextWithContext ¶
func (pager *ProfilesPager) GetNextWithContext(ctx context.Context) (page []ProfileItem, err error)
GetNextWithContext returns the next page of results using the specified Context.
func (*ProfilesPager) HasNext ¶
func (pager *ProfilesPager) HasNext() bool
HasNext returns true if there are potentially more results to be retrieved.
type Property ¶
type Property struct { // The property name. Property *string `json:"property,omitempty"` // The property description. PropertyDescription *string `json:"property_description,omitempty"` // The property operator. Operator *string `json:"operator,omitempty"` // The property value. ExpectedValue interface{} `json:"expected_value,omitempty"` // The property value. FoundValue interface{} `json:"found_value,omitempty"` }
Property : The property.
type PropertyItem ¶
type PropertyItem struct { // The name of the property. Name *string `json:"name,omitempty"` // The value of the property. Value interface{} `json:"value,omitempty"` }
PropertyItem : The properties supported for scoping by this environment.
type ProviderTypeInstanceItem ¶
type ProviderTypeInstanceItem struct { // The unique identifier of the provider type instance. ID *string `json:"id,omitempty"` // The type of the provider type. Type *string `json:"type,omitempty"` // The name of the provider type instance. Name *string `json:"name,omitempty"` // The attributes for connecting to the provider type instance. Attributes map[string]interface{} `json:"attributes,omitempty"` // Time at which resource was created. CreatedAt *strfmt.DateTime `json:"created_at,omitempty"` // Time at which resource was updated. UpdatedAt *strfmt.DateTime `json:"updated_at,omitempty"` }
ProviderTypeInstanceItem : A provider type instance.
type ProviderTypeInstancesResponse ¶
type ProviderTypeInstancesResponse struct { // The array of instances for a provider type. ProviderTypeInstances []ProviderTypeInstanceItem `json:"provider_type_instances,omitempty"` }
ProviderTypeInstancesResponse : Provider type instances response.
type ProviderTypeItem ¶
type ProviderTypeItem struct { // The unique identifier of the provider type. ID *string `json:"id" validate:"required"` // The type of the provider type. Type *string `json:"type" validate:"required"` // The name of the provider type. Name *string `json:"name" validate:"required"` // The provider type description. Description *string `json:"description" validate:"required"` // A boolean that indicates whether the provider type is s2s-enabled. S2sEnabled *bool `json:"s2s_enabled" validate:"required"` // The maximum number of instances that can be created for the provider type. InstanceLimit *int64 `json:"instance_limit" validate:"required"` // The mode that is used to get results from provider (`PUSH` or `PULL`). Mode *string `json:"mode" validate:"required"` // The format of the results that a provider supports. DataType *string `json:"data_type" validate:"required"` // The icon of a provider in .svg format that is encoded as a base64 string. Icon *string `json:"icon" validate:"required"` // The label that is associated with the provider type. Label *LabelType `json:"label,omitempty"` // The attributes that are required when you're creating an instance of a provider type. The attributes field can have // multiple keys in its value. Each of those keys has a value object that includes the type, and display name as // keys. For example, `{type:"", display_name:""}`. // **NOTE;** If the provider type is s2s-enabled, which means that if the `s2s_enabled` field is set to `true`, then a // CRN field of type text is required in the attributes value object. Attributes map[string]AdditionalProperty `json:"attributes" validate:"required"` // Time at which resource was created. CreatedAt *strfmt.DateTime `json:"created_at,omitempty"` // Time at which resource was updated. UpdatedAt *strfmt.DateTime `json:"updated_at,omitempty"` }
ProviderTypeItem : The provider type item.
type ProviderTypesCollection ¶
type ProviderTypesCollection struct { // The array of provder type. ProviderTypes []ProviderTypeItem `json:"provider_types,omitempty"` }
ProviderTypesCollection : The provider types collection.
type ProviderTypesInstancesResponse ¶
type ProviderTypesInstancesResponse struct { // The array of instances for all provider types. ProviderTypesInstances []ProviderTypeInstanceItem `json:"provider_types_instances,omitempty"` }
ProviderTypesInstancesResponse : Provider types instances response.
type ReplaceCustomControlLibraryOptions ¶
type ReplaceCustomControlLibraryOptions struct { // The control library ID. ControlLibrariesID *string `json:"control_libraries_id" validate:"required,ne="` // The control library ID. ID *string `json:"id,omitempty"` // The account ID. AccountID *string `json:"account_id,omitempty"` // The control library name. ControlLibraryName *string `json:"control_library_name,omitempty"` // The control library description. ControlLibraryDescription *string `json:"control_library_description,omitempty"` // The control library type. ControlLibraryType *string `json:"control_library_type,omitempty"` // The version group label. VersionGroupLabel *string `json:"version_group_label,omitempty"` // The control library version. ControlLibraryVersion *string `json:"control_library_version,omitempty"` // The date when the control library was created. CreatedOn *strfmt.DateTime `json:"created_on,omitempty"` // The user who created the control library. CreatedBy *string `json:"created_by,omitempty"` // The date when the control library was updated. UpdatedOn *strfmt.DateTime `json:"updated_on,omitempty"` // The user who updated the control library. UpdatedBy *string `json:"updated_by,omitempty"` // The latest version of the control library. Latest *bool `json:"latest,omitempty"` // The indication of whether hierarchy is enabled for the control library. HierarchyEnabled *bool `json:"hierarchy_enabled,omitempty"` // The number of controls. ControlsCount *int64 `json:"controls_count,omitempty"` // The number of parent controls in the control library. ControlParentsCount *int64 `json:"control_parents_count,omitempty"` // The list of controls in a control library. Controls []ControlsInControlLib `json:"controls,omitempty"` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is used for downstream requests and retries of those requests. If a value of // this header is not supplied in a request, the service generates a random (version 4) UUID. XCorrelationID *string `json:"X-Correlation-ID,omitempty"` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is not used for downstream requests and retries of those requests. If a value // of this header is not supplied in a request, the service generates a random (version 4) UUID. XRequestID *string `json:"X-Request-ID,omitempty"` // Allows users to set headers on API requests Headers map[string]string // ID of the instance InstanceID *string `json:"instance_id" validate:"required,ne="` }
ReplaceCustomControlLibraryOptions : The ReplaceCustomControlLibrary options.
func (*ReplaceCustomControlLibraryOptions) SetAccountID ¶
func (_options *ReplaceCustomControlLibraryOptions) SetAccountID(accountID string) *ReplaceCustomControlLibraryOptions
SetAccountID : Allow user to set AccountID
func (*ReplaceCustomControlLibraryOptions) SetControlLibrariesID ¶
func (_options *ReplaceCustomControlLibraryOptions) SetControlLibrariesID(controlLibrariesID string) *ReplaceCustomControlLibraryOptions
SetControlLibrariesID : Allow user to set ControlLibrariesID
func (*ReplaceCustomControlLibraryOptions) SetControlLibraryDescription ¶
func (_options *ReplaceCustomControlLibraryOptions) SetControlLibraryDescription(controlLibraryDescription string) *ReplaceCustomControlLibraryOptions
SetControlLibraryDescription : Allow user to set ControlLibraryDescription
func (*ReplaceCustomControlLibraryOptions) SetControlLibraryName ¶
func (_options *ReplaceCustomControlLibraryOptions) SetControlLibraryName(controlLibraryName string) *ReplaceCustomControlLibraryOptions
SetControlLibraryName : Allow user to set ControlLibraryName
func (*ReplaceCustomControlLibraryOptions) SetControlLibraryType ¶
func (_options *ReplaceCustomControlLibraryOptions) SetControlLibraryType(controlLibraryType string) *ReplaceCustomControlLibraryOptions
SetControlLibraryType : Allow user to set ControlLibraryType
func (*ReplaceCustomControlLibraryOptions) SetControlLibraryVersion ¶
func (_options *ReplaceCustomControlLibraryOptions) SetControlLibraryVersion(controlLibraryVersion string) *ReplaceCustomControlLibraryOptions
SetControlLibraryVersion : Allow user to set ControlLibraryVersion
func (*ReplaceCustomControlLibraryOptions) SetControlParentsCount ¶
func (_options *ReplaceCustomControlLibraryOptions) SetControlParentsCount(controlParentsCount int64) *ReplaceCustomControlLibraryOptions
SetControlParentsCount : Allow user to set ControlParentsCount
func (*ReplaceCustomControlLibraryOptions) SetControls ¶
func (_options *ReplaceCustomControlLibraryOptions) SetControls(controls []ControlsInControlLib) *ReplaceCustomControlLibraryOptions
SetControls : Allow user to set Controls
func (*ReplaceCustomControlLibraryOptions) SetControlsCount ¶
func (_options *ReplaceCustomControlLibraryOptions) SetControlsCount(controlsCount int64) *ReplaceCustomControlLibraryOptions
SetControlsCount : Allow user to set ControlsCount
func (*ReplaceCustomControlLibraryOptions) SetCreatedBy ¶
func (_options *ReplaceCustomControlLibraryOptions) SetCreatedBy(createdBy string) *ReplaceCustomControlLibraryOptions
SetCreatedBy : Allow user to set CreatedBy
func (*ReplaceCustomControlLibraryOptions) SetCreatedOn ¶
func (_options *ReplaceCustomControlLibraryOptions) SetCreatedOn(createdOn *strfmt.DateTime) *ReplaceCustomControlLibraryOptions
SetCreatedOn : Allow user to set CreatedOn
func (*ReplaceCustomControlLibraryOptions) SetHeaders ¶
func (options *ReplaceCustomControlLibraryOptions) SetHeaders(param map[string]string) *ReplaceCustomControlLibraryOptions
SetHeaders : Allow user to set Headers
func (*ReplaceCustomControlLibraryOptions) SetHierarchyEnabled ¶
func (_options *ReplaceCustomControlLibraryOptions) SetHierarchyEnabled(hierarchyEnabled bool) *ReplaceCustomControlLibraryOptions
SetHierarchyEnabled : Allow user to set HierarchyEnabled
func (*ReplaceCustomControlLibraryOptions) SetID ¶
func (_options *ReplaceCustomControlLibraryOptions) SetID(id string) *ReplaceCustomControlLibraryOptions
SetID : Allow user to set ID
func (*ReplaceCustomControlLibraryOptions) SetInstanceID ¶ added in v5.1.1
func (_options *ReplaceCustomControlLibraryOptions) SetInstanceID(instanceID string) *ReplaceCustomControlLibraryOptions
SetInstanceID : Allow user to set InstanceID
func (*ReplaceCustomControlLibraryOptions) SetLatest ¶
func (_options *ReplaceCustomControlLibraryOptions) SetLatest(latest bool) *ReplaceCustomControlLibraryOptions
SetLatest : Allow user to set Latest
func (*ReplaceCustomControlLibraryOptions) SetUpdatedBy ¶
func (_options *ReplaceCustomControlLibraryOptions) SetUpdatedBy(updatedBy string) *ReplaceCustomControlLibraryOptions
SetUpdatedBy : Allow user to set UpdatedBy
func (*ReplaceCustomControlLibraryOptions) SetUpdatedOn ¶
func (_options *ReplaceCustomControlLibraryOptions) SetUpdatedOn(updatedOn *strfmt.DateTime) *ReplaceCustomControlLibraryOptions
SetUpdatedOn : Allow user to set UpdatedOn
func (*ReplaceCustomControlLibraryOptions) SetVersionGroupLabel ¶
func (_options *ReplaceCustomControlLibraryOptions) SetVersionGroupLabel(versionGroupLabel string) *ReplaceCustomControlLibraryOptions
SetVersionGroupLabel : Allow user to set VersionGroupLabel
func (*ReplaceCustomControlLibraryOptions) SetXCorrelationID ¶
func (_options *ReplaceCustomControlLibraryOptions) SetXCorrelationID(xCorrelationID string) *ReplaceCustomControlLibraryOptions
SetXCorrelationID : Allow user to set XCorrelationID
func (*ReplaceCustomControlLibraryOptions) SetXRequestID ¶
func (_options *ReplaceCustomControlLibraryOptions) SetXRequestID(xRequestID string) *ReplaceCustomControlLibraryOptions
SetXRequestID : Allow user to set XRequestID
type ReplaceProfileAttachmentOptions ¶
type ReplaceProfileAttachmentOptions struct { // The attachment ID. AttachmentID *string `json:"attachment_id" validate:"required,ne="` // The profile ID. ProfileID *string `json:"profile_id" validate:"required,ne="` // The ID of the attachment. ID *string `json:"id,omitempty"` // The account ID that is associated to the attachment. AccountID *string `json:"account_id,omitempty"` // ID of the instance InstanceID *string `json:"instance_id" validate:"required,ne="` // The scope payload for the multi cloud feature. Scope []MultiCloudScope `json:"scope,omitempty"` // The date when the attachment was created. CreatedOn *strfmt.DateTime `json:"created_on,omitempty"` // The user who created the attachment. CreatedBy *string `json:"created_by,omitempty"` // The date when the attachment was updated. UpdatedOn *strfmt.DateTime `json:"updated_on,omitempty"` // The user who updated the attachment. UpdatedBy *string `json:"updated_by,omitempty"` // The status of an attachment evaluation. Status *string `json:"status,omitempty"` // The schedule of an attachment evaluation. Schedule *string `json:"schedule,omitempty"` // The request payload of the attachment notifications. Notifications *AttachmentsNotificationsPrototype `json:"notifications,omitempty"` // The profile parameters for the attachment. AttachmentParameters []AttachmentParameterPrototype `json:"attachment_parameters,omitempty"` // The details of the last scan of an attachment. LastScan *LastScan `json:"last_scan,omitempty"` // The start time of the next scan. NextScanTime *strfmt.DateTime `json:"next_scan_time,omitempty"` // The name of the attachment. Name *string `json:"name,omitempty"` // The description for the attachment. Description *string `json:"description,omitempty"` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is used for downstream requests and retries of those requests. If a value of // this header is not supplied in a request, the service generates a random (version 4) UUID. XCorrelationID *string `json:"X-Correlation-ID,omitempty"` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is not used for downstream requests and retries of those requests. If a value // of this header is not supplied in a request, the service generates a random (version 4) UUID. XRequestID *string `json:"X-Request-ID,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
ReplaceProfileAttachmentOptions : The ReplaceProfileAttachment options.
func (*ReplaceProfileAttachmentOptions) SetAccountID ¶
func (_options *ReplaceProfileAttachmentOptions) SetAccountID(accountID string) *ReplaceProfileAttachmentOptions
SetAccountID : Allow user to set AccountID
func (*ReplaceProfileAttachmentOptions) SetAttachmentID ¶
func (_options *ReplaceProfileAttachmentOptions) SetAttachmentID(attachmentID string) *ReplaceProfileAttachmentOptions
SetAttachmentID : Allow user to set AttachmentID
func (*ReplaceProfileAttachmentOptions) SetAttachmentParameters ¶
func (_options *ReplaceProfileAttachmentOptions) SetAttachmentParameters(attachmentParameters []AttachmentParameterPrototype) *ReplaceProfileAttachmentOptions
SetAttachmentParameters : Allow user to set AttachmentParameters
func (*ReplaceProfileAttachmentOptions) SetCreatedBy ¶
func (_options *ReplaceProfileAttachmentOptions) SetCreatedBy(createdBy string) *ReplaceProfileAttachmentOptions
SetCreatedBy : Allow user to set CreatedBy
func (*ReplaceProfileAttachmentOptions) SetCreatedOn ¶
func (_options *ReplaceProfileAttachmentOptions) SetCreatedOn(createdOn *strfmt.DateTime) *ReplaceProfileAttachmentOptions
SetCreatedOn : Allow user to set CreatedOn
func (*ReplaceProfileAttachmentOptions) SetDescription ¶
func (_options *ReplaceProfileAttachmentOptions) SetDescription(description string) *ReplaceProfileAttachmentOptions
SetDescription : Allow user to set Description
func (*ReplaceProfileAttachmentOptions) SetHeaders ¶
func (options *ReplaceProfileAttachmentOptions) SetHeaders(param map[string]string) *ReplaceProfileAttachmentOptions
SetHeaders : Allow user to set Headers
func (*ReplaceProfileAttachmentOptions) SetID ¶
func (_options *ReplaceProfileAttachmentOptions) SetID(id string) *ReplaceProfileAttachmentOptions
SetID : Allow user to set ID
func (*ReplaceProfileAttachmentOptions) SetInstanceID ¶
func (_options *ReplaceProfileAttachmentOptions) SetInstanceID(instanceID string) *ReplaceProfileAttachmentOptions
SetInstanceID : Allow user to set InstanceID
func (*ReplaceProfileAttachmentOptions) SetLastScan ¶
func (_options *ReplaceProfileAttachmentOptions) SetLastScan(lastScan *LastScan) *ReplaceProfileAttachmentOptions
SetLastScan : Allow user to set LastScan
func (*ReplaceProfileAttachmentOptions) SetName ¶
func (_options *ReplaceProfileAttachmentOptions) SetName(name string) *ReplaceProfileAttachmentOptions
SetName : Allow user to set Name
func (*ReplaceProfileAttachmentOptions) SetNextScanTime ¶
func (_options *ReplaceProfileAttachmentOptions) SetNextScanTime(nextScanTime *strfmt.DateTime) *ReplaceProfileAttachmentOptions
SetNextScanTime : Allow user to set NextScanTime
func (*ReplaceProfileAttachmentOptions) SetNotifications ¶
func (_options *ReplaceProfileAttachmentOptions) SetNotifications(notifications *AttachmentsNotificationsPrototype) *ReplaceProfileAttachmentOptions
SetNotifications : Allow user to set Notifications
func (*ReplaceProfileAttachmentOptions) SetProfileID ¶
func (_options *ReplaceProfileAttachmentOptions) SetProfileID(profileID string) *ReplaceProfileAttachmentOptions
SetProfileID : Allow user to set ProfileID
func (*ReplaceProfileAttachmentOptions) SetSchedule ¶
func (_options *ReplaceProfileAttachmentOptions) SetSchedule(schedule string) *ReplaceProfileAttachmentOptions
SetSchedule : Allow user to set Schedule
func (*ReplaceProfileAttachmentOptions) SetScope ¶
func (_options *ReplaceProfileAttachmentOptions) SetScope(scope []MultiCloudScope) *ReplaceProfileAttachmentOptions
SetScope : Allow user to set Scope
func (*ReplaceProfileAttachmentOptions) SetStatus ¶
func (_options *ReplaceProfileAttachmentOptions) SetStatus(status string) *ReplaceProfileAttachmentOptions
SetStatus : Allow user to set Status
func (*ReplaceProfileAttachmentOptions) SetUpdatedBy ¶
func (_options *ReplaceProfileAttachmentOptions) SetUpdatedBy(updatedBy string) *ReplaceProfileAttachmentOptions
SetUpdatedBy : Allow user to set UpdatedBy
func (*ReplaceProfileAttachmentOptions) SetUpdatedOn ¶
func (_options *ReplaceProfileAttachmentOptions) SetUpdatedOn(updatedOn *strfmt.DateTime) *ReplaceProfileAttachmentOptions
SetUpdatedOn : Allow user to set UpdatedOn
func (*ReplaceProfileAttachmentOptions) SetXCorrelationID ¶
func (_options *ReplaceProfileAttachmentOptions) SetXCorrelationID(xCorrelationID string) *ReplaceProfileAttachmentOptions
SetXCorrelationID : Allow user to set XCorrelationID
func (*ReplaceProfileAttachmentOptions) SetXRequestID ¶
func (_options *ReplaceProfileAttachmentOptions) SetXRequestID(xRequestID string) *ReplaceProfileAttachmentOptions
SetXRequestID : Allow user to set XRequestID
type ReplaceProfileOptions ¶
type ReplaceProfileOptions struct { // ID of the instance InstanceID *string `json:"instance_id" validate:"required,ne="` // The profile ID. ProfileID *string `json:"profile_id" validate:"required,ne="` // The name of the profile. ProfileName *string `json:"profile_name" validate:"required"` // The description of the profile. ProfileDescription *string `json:"profile_description" validate:"required"` // The profile type. ProfileType *string `json:"profile_type" validate:"required"` // The version status of the profile. ProfileVersion *string `json:"profile_version,omitempty"` // The controls that are in the profile. Controls []ProfileControlsPrototype `json:"controls" validate:"required"` // The default parameters of the profile. DefaultParameters []DefaultParametersPrototype `json:"default_parameters" validate:"required"` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is used for downstream requests and retries of those requests. If a value of // this header is not supplied in a request, the service generates a random (version 4) UUID. XCorrelationID *string `json:"X-Correlation-ID,omitempty"` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is not used for downstream requests and retries of those requests. If a value // of this header is not supplied in a request, the service generates a random (version 4) UUID. XRequestID *string `json:"X-Request-ID,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
ReplaceProfileOptions : The ReplaceProfile options.
func (*ReplaceProfileOptions) SetControls ¶
func (_options *ReplaceProfileOptions) SetControls(controls []ProfileControlsPrototype) *ReplaceProfileOptions
SetControls : Allow user to set Controls
func (*ReplaceProfileOptions) SetDefaultParameters ¶
func (_options *ReplaceProfileOptions) SetDefaultParameters(defaultParameters []DefaultParametersPrototype) *ReplaceProfileOptions
SetDefaultParameters : Allow user to set DefaultParameters
func (*ReplaceProfileOptions) SetHeaders ¶
func (options *ReplaceProfileOptions) SetHeaders(param map[string]string) *ReplaceProfileOptions
SetHeaders : Allow user to set Headers
func (*ReplaceProfileOptions) SetInstanceID ¶ added in v5.1.1
func (_options *ReplaceProfileOptions) SetInstanceID(instanceID string) *ReplaceProfileOptions
SetInstanceID : Allow user to set InstanceID
func (*ReplaceProfileOptions) SetProfileDescription ¶
func (_options *ReplaceProfileOptions) SetProfileDescription(profileDescription string) *ReplaceProfileOptions
SetProfileDescription : Allow user to set ProfileDescription
func (*ReplaceProfileOptions) SetProfileID ¶ added in v5.0.2
func (_options *ReplaceProfileOptions) SetProfileID(profileID string) *ReplaceProfileOptions
SetProfileID : Allow user to set ProfileID
func (*ReplaceProfileOptions) SetProfileName ¶
func (_options *ReplaceProfileOptions) SetProfileName(profileName string) *ReplaceProfileOptions
SetProfileName : Allow user to set ProfileName
func (*ReplaceProfileOptions) SetProfileType ¶
func (_options *ReplaceProfileOptions) SetProfileType(profileType string) *ReplaceProfileOptions
SetProfileType : Allow user to set ProfileType
func (*ReplaceProfileOptions) SetProfileVersion ¶ added in v5.1.3
func (_options *ReplaceProfileOptions) SetProfileVersion(profileVersion string) *ReplaceProfileOptions
SetProfileVersion : Allow user to set ProfileType
func (*ReplaceProfileOptions) SetXCorrelationID ¶
func (_options *ReplaceProfileOptions) SetXCorrelationID(xCorrelationID string) *ReplaceProfileOptions
SetXCorrelationID : Allow user to set XCorrelationID
func (*ReplaceProfileOptions) SetXRequestID ¶
func (_options *ReplaceProfileOptions) SetXRequestID(xRequestID string) *ReplaceProfileOptions
SetXRequestID : Allow user to set XRequestID
type ReplaceRuleOptions ¶
type ReplaceRuleOptions struct { // ID of the instance InstanceID *string `json:"instance_id" validate:"required,ne="` // The ID of the corresponding rule. RuleID *string `json:"rule_id" validate:"required,ne="` // This field compares a supplied `Etag` value with the version that is stored for the requested resource. If the // values match, the server allows the request method to continue. // // To find the `Etag` value, run a GET request on the resource that you want to modify, and check the response headers. IfMatch *string `json:"If-Match" validate:"required"` // The rule description. Description *string `json:"description" validate:"required"` // The rule target. Target *Target `json:"target" validate:"required"` // The required configurations. RequiredConfig RequiredConfigIntf `json:"required_config" validate:"required"` // The rule type (user_defined or system_defined). Type *string `json:"type,omitempty"` // The rule version number. Version *string `json:"version,omitempty"` // The collection of import parameters. Import *Import `json:"import,omitempty"` // The list of labels that correspond to a rule. Labels []string `json:"labels,omitempty"` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is used for downstream requests and retries of those requests. If a value of // this header is not supplied in a request, the service generates a random (version 4) UUID. XCorrelationID *string `json:"X-Correlation-Id,omitempty"` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is not used for downstream requests and retries of those requests. If a // value of this header is not supplied in a request, the service generates a random (version 4) UUID. XRequestID *string `json:"X-Request-Id,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
ReplaceRuleOptions : The ReplaceRule options.
func (*ReplaceRuleOptions) SetDescription ¶
func (_options *ReplaceRuleOptions) SetDescription(description string) *ReplaceRuleOptions
SetDescription : Allow user to set Description
func (*ReplaceRuleOptions) SetHeaders ¶
func (options *ReplaceRuleOptions) SetHeaders(param map[string]string) *ReplaceRuleOptions
SetHeaders : Allow user to set Headers
func (*ReplaceRuleOptions) SetIfMatch ¶
func (_options *ReplaceRuleOptions) SetIfMatch(ifMatch string) *ReplaceRuleOptions
SetIfMatch : Allow user to set IfMatch
func (*ReplaceRuleOptions) SetImport ¶
func (_options *ReplaceRuleOptions) SetImport(importVar *Import) *ReplaceRuleOptions
SetImport : Allow user to set Import
func (*ReplaceRuleOptions) SetInstanceID ¶ added in v5.1.2
func (_options *ReplaceRuleOptions) SetInstanceID(instanceID string) *ReplaceRuleOptions
SetInstanceID : Allow user to set InstanceID
func (*ReplaceRuleOptions) SetLabels ¶
func (_options *ReplaceRuleOptions) SetLabels(labels []string) *ReplaceRuleOptions
SetLabels : Allow user to set Labels
func (*ReplaceRuleOptions) SetRequiredConfig ¶
func (_options *ReplaceRuleOptions) SetRequiredConfig(requiredConfig RequiredConfigIntf) *ReplaceRuleOptions
SetRequiredConfig : Allow user to set RequiredConfig
func (*ReplaceRuleOptions) SetRuleID ¶
func (_options *ReplaceRuleOptions) SetRuleID(ruleID string) *ReplaceRuleOptions
SetRuleID : Allow user to set RuleID
func (*ReplaceRuleOptions) SetTarget ¶
func (_options *ReplaceRuleOptions) SetTarget(target *Target) *ReplaceRuleOptions
SetTarget : Allow user to set Target
func (*ReplaceRuleOptions) SetType ¶
func (_options *ReplaceRuleOptions) SetType(typeVar string) *ReplaceRuleOptions
SetType : Allow user to set Type
func (*ReplaceRuleOptions) SetVersion ¶
func (_options *ReplaceRuleOptions) SetVersion(version string) *ReplaceRuleOptions
SetVersion : Allow user to set Version
func (*ReplaceRuleOptions) SetXCorrelationID ¶
func (_options *ReplaceRuleOptions) SetXCorrelationID(xCorrelationID string) *ReplaceRuleOptions
SetXCorrelationID : Allow user to set XCorrelationID
func (*ReplaceRuleOptions) SetXRequestID ¶
func (_options *ReplaceRuleOptions) SetXRequestID(xRequestID string) *ReplaceRuleOptions
SetXRequestID : Allow user to set XRequestID
type Report ¶
type Report struct { // The ID of the report. ID *string `json:"id,omitempty"` // The group ID that is associated with the report. The group ID combines profile, scope, and attachment IDs. GroupID *string `json:"group_id,omitempty"` // The date when the report was created. CreatedOn *string `json:"created_on,omitempty"` // The date when the scan was run. ScanTime *string `json:"scan_time,omitempty"` // The type of the scan. Type *string `json:"type,omitempty"` // The Cloud Object Storage object that is associated with the report. CosObject *string `json:"cos_object,omitempty"` // Instance ID. InstanceID *string `json:"instance_id,omitempty"` // The account that is associated with a report. Account *Account `json:"account,omitempty"` // The profile information. Profile *ProfileInfo `json:"profile,omitempty"` // The attachment that is associated with a report. Attachment *Attachment `json:"attachment,omitempty"` }
Report : The report.
type ReportControls ¶
type ReportControls struct { // The allowed values of an aggregated status for controls, specifications, assessments, and resources. Status *string `json:"status,omitempty"` // The total number of checks. TotalCount *int64 `json:"total_count,omitempty"` // The number of compliant checks. CompliantCount *int64 `json:"compliant_count,omitempty"` // The number of checks that are not compliant. NotCompliantCount *int64 `json:"not_compliant_count,omitempty"` // The number of checks that are unable to perform. UnableToPerformCount *int64 `json:"unable_to_perform_count,omitempty"` // The number of checks that require a user evaluation. UserEvaluationRequiredCount *int64 `json:"user_evaluation_required_count,omitempty"` // The ID of the home account. HomeAccountID *string `json:"home_account_id,omitempty"` // The ID of the report. ReportID *string `json:"report_id,omitempty"` // The list of controls that are in the report. Controls []ControlWithStats `json:"controls,omitempty"` }
ReportControls : The list of controls.
type ReportEvaluationsPager ¶
type ReportEvaluationsPager struct {
// contains filtered or unexported fields
}
ReportEvaluationsPager can be used to simplify the use of the "ListReportEvaluations" method.
func (*ReportEvaluationsPager) GetAll ¶
func (pager *ReportEvaluationsPager) GetAll() (allItems []Evaluation, err error)
GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.
func (*ReportEvaluationsPager) GetAllWithContext ¶
func (pager *ReportEvaluationsPager) GetAllWithContext(ctx context.Context) (allItems []Evaluation, err error)
GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.
func (*ReportEvaluationsPager) GetNext ¶
func (pager *ReportEvaluationsPager) GetNext() (page []Evaluation, err error)
GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.
func (*ReportEvaluationsPager) GetNextWithContext ¶
func (pager *ReportEvaluationsPager) GetNextWithContext(ctx context.Context) (page []Evaluation, err error)
GetNextWithContext returns the next page of results using the specified Context.
func (*ReportEvaluationsPager) HasNext ¶
func (pager *ReportEvaluationsPager) HasNext() bool
HasNext returns true if there are potentially more results to be retrieved.
type ReportLatest ¶
type ReportLatest struct { // The ID of the home account. HomeAccountID *string `json:"home_account_id,omitempty"` // The compliance stats. ControlsSummary *ComplianceStats `json:"controls_summary,omitempty"` // The evaluation stats. EvaluationsSummary *EvalStats `json:"evaluations_summary,omitempty"` // The compliance score. Score *ComplianceScore `json:"score,omitempty"` // The list of reports. Reports []Report `json:"reports,omitempty"` }
ReportLatest : The response body of the `get_latest_reports` operation.
type ReportPage ¶
type ReportPage struct { // The total number of resources that are in the collection. TotalCount *int64 `json:"total_count" validate:"required"` // The requested page limi.t. Limit *int64 `json:"limit" validate:"required"` // The token of the next page, when it's present. Start *string `json:"start,omitempty"` // The page reference. First *PageHRef `json:"first" validate:"required"` // The page reference. Next *PageHRef `json:"next,omitempty"` // The ID of the home account. HomeAccountID *string `json:"home_account_id,omitempty"` // The list of reports that are on the page. Reports []Report `json:"reports,omitempty"` }
ReportPage : The page of reports.
func (*ReportPage) GetNextStart ¶
func (resp *ReportPage) GetNextStart() (*string, error)
Retrieve the value to be passed to a request to access the next page of results
type ReportResourcesPager ¶
type ReportResourcesPager struct {
// contains filtered or unexported fields
}
ReportResourcesPager can be used to simplify the use of the "ListReportResources" method.
func (*ReportResourcesPager) GetAll ¶
func (pager *ReportResourcesPager) GetAll() (allItems []Resource, err error)
GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.
func (*ReportResourcesPager) GetAllWithContext ¶
func (pager *ReportResourcesPager) GetAllWithContext(ctx context.Context) (allItems []Resource, err error)
GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.
func (*ReportResourcesPager) GetNext ¶
func (pager *ReportResourcesPager) GetNext() (page []Resource, err error)
GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.
func (*ReportResourcesPager) GetNextWithContext ¶
func (pager *ReportResourcesPager) GetNextWithContext(ctx context.Context) (page []Resource, err error)
GetNextWithContext returns the next page of results using the specified Context.
func (*ReportResourcesPager) HasNext ¶
func (pager *ReportResourcesPager) HasNext() bool
HasNext returns true if there are potentially more results to be retrieved.
type ReportSummary ¶
type ReportSummary struct { // The ID of the report. ReportID *string `json:"report_id,omitempty"` // Instance ID. IsntanceID *string `json:"isntance_id,omitempty"` // The account that is associated with a report. Account *Account `json:"account,omitempty"` // The compliance score. Score *ComplianceScore `json:"score,omitempty"` // The compliance stats. Controls *ComplianceStats `json:"controls,omitempty"` // The evaluation stats. Evaluations *EvalStats `json:"evaluations,omitempty"` // The resource summary. Resources *ResourceSummary `json:"resources,omitempty"` }
ReportSummary : The report summary.
type ReportTags ¶
type ReportTags struct { // The ID of the report. ReportID *string `json:"report_id,omitempty"` // The collection of different types of tags. Tags *Tags `json:"tags,omitempty"` }
ReportTags : The response body of the `get_tags` operation.
type ReportViolationDataPoint ¶
type ReportViolationDataPoint struct { // The ID of the report. ReportID *string `json:"report_id,omitempty"` // The group ID that is associated with the report. The group ID combines profile, scope, and attachment IDs. ReportGroupID *string `json:"report_group_id,omitempty"` // The date when the scan was run. ScanTime *string `json:"scan_time,omitempty"` // The compliance stats. Controls *ComplianceStats `json:"controls,omitempty"` }
ReportViolationDataPoint : The report violation data point.
type ReportViolationsDrift ¶
type ReportViolationsDrift struct { // The ID of the home account. HomeAccountID *string `json:"home_account_id,omitempty"` // The ID of the report. ReportID *string `json:"report_id,omitempty"` // The list of report violations data points. DataPoints []ReportViolationDataPoint `json:"data_points,omitempty"` }
ReportViolationsDrift : The response body of the `get_report_violations_drift` operation.
type ReportsPager ¶
type ReportsPager struct {
// contains filtered or unexported fields
}
ReportsPager can be used to simplify the use of the "ListReports" method.
func (*ReportsPager) GetAll ¶
func (pager *ReportsPager) GetAll() (allItems []Report, err error)
GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.
func (*ReportsPager) GetAllWithContext ¶
func (pager *ReportsPager) GetAllWithContext(ctx context.Context) (allItems []Report, err error)
GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.
func (*ReportsPager) GetNext ¶
func (pager *ReportsPager) GetNext() (page []Report, err error)
GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.
func (*ReportsPager) GetNextWithContext ¶
func (pager *ReportsPager) GetNextWithContext(ctx context.Context) (page []Report, err error)
GetNextWithContext returns the next page of results using the specified Context.
func (*ReportsPager) HasNext ¶
func (pager *ReportsPager) HasNext() bool
HasNext returns true if there are potentially more results to be retrieved.
type RequiredConfig ¶
type RequiredConfig struct { // The required config description. Description *string `json:"description,omitempty"` // The `AND` required configurations. And []RequiredConfigItemsIntf `json:"and,omitempty"` // The `OR` required configurations. Or []RequiredConfigItemsIntf `json:"or,omitempty"` // The property. Property *string `json:"property,omitempty"` // The operator. Operator *string `json:"operator,omitempty"` // Schema for any JSON type. Value interface{} `json:"value,omitempty"` }
RequiredConfig : The required configurations. Models which "extend" this model: - RequiredConfigRequiredConfigAnd - RequiredConfigRequiredConfigOr - RequiredConfigRequiredConfigBase
type RequiredConfigIntf ¶
type RequiredConfigIntf interface {
// contains filtered or unexported methods
}
type RequiredConfigItems ¶
type RequiredConfigItems struct { // The required config description. Description *string `json:"description,omitempty"` // The `OR` required configurations. Or []RequiredConfigItemsIntf `json:"or,omitempty"` // The `AND` required configurations. And []RequiredConfigItemsIntf `json:"and,omitempty"` // The property. Property *string `json:"property,omitempty"` // The operator. Operator *string `json:"operator,omitempty"` // Schema for any JSON type. Value interface{} `json:"value,omitempty"` }
RequiredConfigItems : RequiredConfigItems struct Models which "extend" this model: - RequiredConfigItemsRequiredConfigOr - RequiredConfigItemsRequiredConfigAnd - RequiredConfigItemsRequiredConfigBase
type RequiredConfigItemsIntf ¶
type RequiredConfigItemsIntf interface {
// contains filtered or unexported methods
}
type RequiredConfigItemsRequiredConfigAnd ¶
type RequiredConfigItemsRequiredConfigAnd struct { // The required config description. Description *string `json:"description,omitempty"` // The `AND` required configurations. And []RequiredConfigItemsIntf `json:"and,omitempty"` }
RequiredConfigItemsRequiredConfigAnd : RequiredConfigItemsRequiredConfigAnd struct This model "extends" RequiredConfigItems
type RequiredConfigItemsRequiredConfigBase ¶
type RequiredConfigItemsRequiredConfigBase struct { // The required config description. Description *string `json:"description,omitempty"` // The property. Property *string `json:"property" validate:"required"` // The operator. Operator *string `json:"operator" validate:"required"` // Schema for any JSON type. Value interface{} `json:"value,omitempty"` }
RequiredConfigItemsRequiredConfigBase : The required configuration base object. This model "extends" RequiredConfigItems
type RequiredConfigItemsRequiredConfigOr ¶
type RequiredConfigItemsRequiredConfigOr struct { // The required config description. Description *string `json:"description,omitempty"` // The `OR` required configurations. Or []RequiredConfigItemsIntf `json:"or,omitempty"` }
RequiredConfigItemsRequiredConfigOr : The `OR` required configurations. This model "extends" RequiredConfigItems
type RequiredConfigRequiredConfigAnd ¶
type RequiredConfigRequiredConfigAnd struct { // The required config description. Description *string `json:"description,omitempty"` // The `AND` required configurations. And []RequiredConfigItemsIntf `json:"and,omitempty"` }
RequiredConfigRequiredConfigAnd : RequiredConfigRequiredConfigAnd struct This model "extends" RequiredConfig
type RequiredConfigRequiredConfigBase ¶
type RequiredConfigRequiredConfigBase struct { // The required config description. Description *string `json:"description,omitempty"` // The property. Property *string `json:"property" validate:"required"` // The operator. Operator *string `json:"operator" validate:"required"` // Schema for any JSON type. Value interface{} `json:"value,omitempty"` }
RequiredConfigRequiredConfigBase : The required configuration base object. This model "extends" RequiredConfig
type RequiredConfigRequiredConfigOr ¶
type RequiredConfigRequiredConfigOr struct { // The required config description. Description *string `json:"description,omitempty"` // The `OR` required configurations. Or []RequiredConfigItemsIntf `json:"or,omitempty"` }
RequiredConfigRequiredConfigOr : The `OR` required configurations. This model "extends" RequiredConfig
type Resource ¶
type Resource struct { // The ID of the report. ReportID *string `json:"report_id,omitempty"` // The resource CRN. ID *string `json:"id,omitempty"` // The resource name. ResourceName *string `json:"resource_name,omitempty"` // The ID of the component. ComponentID *string `json:"component_id,omitempty"` // The environment. Environment *string `json:"environment,omitempty"` // The account that is associated with a report. Account *Account `json:"account,omitempty"` // The allowed values of an aggregated status for controls, specifications, assessments, and resources. Status *string `json:"status,omitempty"` // The total number of evaluations. TotalCount *int64 `json:"total_count,omitempty"` // The number of passed evaluations. PassCount *int64 `json:"pass_count,omitempty"` // The number of failed evaluations. FailureCount *int64 `json:"failure_count,omitempty"` // The number of evaluations that started, but did not finish, and ended with errors. ErrorCount *int64 `json:"error_count,omitempty"` // The total number of completed evaluations. CompletedCount *int64 `json:"completed_count,omitempty"` }
Resource : The resource.
type ResourcePage ¶
type ResourcePage struct { // The total number of resources that are in the collection. TotalCount *int64 `json:"total_count" validate:"required"` // The requested page limi.t. Limit *int64 `json:"limit" validate:"required"` // The token of the next page, when it's present. Start *string `json:"start,omitempty"` // The page reference. First *PageHRef `json:"first" validate:"required"` // The page reference. Next *PageHRef `json:"next,omitempty"` // The ID of the home account. HomeAccountID *string `json:"home_account_id,omitempty"` // The ID of the report. ReportID *string `json:"report_id,omitempty"` // The list of resource evaluation summaries that are on the page. Resources []Resource `json:"resources,omitempty"` }
ResourcePage : The page of resource evaluation summaries.
func (*ResourcePage) GetNextStart ¶
func (resp *ResourcePage) GetNextStart() (*string, error)
Retrieve the value to be passed to a request to access the next page of results
type ResourceSummary ¶
type ResourceSummary struct { // The allowed values of an aggregated status for controls, specifications, assessments, and resources. Status *string `json:"status,omitempty"` // The total number of checks. TotalCount *int64 `json:"total_count,omitempty"` // The number of compliant checks. CompliantCount *int64 `json:"compliant_count,omitempty"` // The number of checks that are not compliant. NotCompliantCount *int64 `json:"not_compliant_count,omitempty"` // The number of checks that are unable to perform. UnableToPerformCount *int64 `json:"unable_to_perform_count,omitempty"` // The number of checks that require a user evaluation. UserEvaluationRequiredCount *int64 `json:"user_evaluation_required_count,omitempty"` // The top 10 resources that have the most failures. TopFailed []ResourceSummaryItem `json:"top_failed,omitempty"` }
ResourceSummary : The resource summary.
type ResourceSummaryItem ¶
type ResourceSummaryItem struct { // The resource name. Name *string `json:"name,omitempty"` // The resource ID. ID *string `json:"id,omitempty"` // The service that is managing the resource. Service *string `json:"service,omitempty"` // The collection of different types of tags. Tags *Tags `json:"tags,omitempty"` // The account that owns the resource. Account *string `json:"account,omitempty"` // The allowed values of an aggregated status for controls, specifications, assessments, and resources. Status *string `json:"status,omitempty"` // The total number of evaluations. TotalCount *int64 `json:"total_count,omitempty"` // The number of passed evaluations. PassCount *int64 `json:"pass_count,omitempty"` // The number of failed evaluations. FailureCount *int64 `json:"failure_count,omitempty"` // The number of evaluations that started, but did not finish, and ended with errors. ErrorCount *int64 `json:"error_count,omitempty"` // The total number of completed evaluations. CompletedCount *int64 `json:"completed_count,omitempty"` }
ResourceSummaryItem : The resource summary item.
type Rule ¶
type Rule struct { // The date when the rule was created. CreatedOn *strfmt.DateTime `json:"created_on" validate:"required"` // The user who created the rule. CreatedBy *string `json:"created_by" validate:"required"` // The date when the rule was modified. UpdatedOn *strfmt.DateTime `json:"updated_on" validate:"required"` // The user who modified the rule. UpdatedBy *string `json:"updated_by" validate:"required"` // The rule ID. ID *string `json:"id" validate:"required"` // The account ID. AccountID *string `json:"account_id" validate:"required"` // The details of a rule's response. Description *string `json:"description" validate:"required"` // The rule type (allowable values are `user_defined` or `system_defined`). Type *string `json:"type" validate:"required"` // The version number of a rule. Version *string `json:"version" validate:"required"` // The collection of import parameters. Import *Import `json:"import,omitempty"` // The rule target. Target *Target `json:"target" validate:"required"` // The required configurations. RequiredConfig RequiredConfigIntf `json:"required_config" validate:"required"` // The list of labels. Labels []string `json:"labels" validate:"required"` }
Rule : The rule response that corresponds to an account instance.
type RuleInfo ¶
type RuleInfo struct { // The rule ID. ID *string `json:"id,omitempty"` // The rule type. Type *string `json:"type,omitempty"` // The rule description. Description *string `json:"description,omitempty"` // The rule version. Version *string `json:"version,omitempty"` // The rule account ID. AccountID *string `json:"account_id,omitempty"` // The date when the rule was created. CreatedOn *string `json:"created_on,omitempty"` // The ID of the user who created the rule. CreatedBy *string `json:"created_by,omitempty"` // The date when the rule was updated. UpdatedOn *string `json:"updated_on,omitempty"` // The ID of the user who updated the rule. UpdatedBy *string `json:"updated_by,omitempty"` // The rule labels. Labels []string `json:"labels,omitempty"` }
RuleInfo : The rule.
type RulesPageBase ¶
type RulesPageBase struct { // The requested page limit. Limit *int64 `json:"limit" validate:"required"` // The total number of resources in the collection. TotalCount *int64 `json:"total_count" validate:"required"` // A page reference. First *PageHRefFirst `json:"first" validate:"required"` // A page reference. Next *PageHRefNext `json:"next,omitempty"` // The collection of rules that correspond to an account instance. Maximum of 100/500 custom rules per // stand-alone/enterprise account. Rules []Rule `json:"rules,omitempty"` }
RulesPageBase : Page common fields.
type Scan ¶
type Scan struct { // The scan ID. ID *string `json:"id,omitempty"` // The account ID. AccountID *string `json:"account_id,omitempty"` // The attachment ID of a profile. AttachmentID *string `json:"attachment_id,omitempty"` // The report ID. ReportID *string `json:"report_id,omitempty"` // The status of the scan. Status *string `json:"status,omitempty"` // The last scan time. LastScanTime *string `json:"last_scan_time,omitempty"` // The next scan time. NextScanTime *string `json:"next_scan_time,omitempty"` // The type of scan. ScanType *string `json:"scan_type,omitempty"` // The occurrence of the scan. Occurence *int64 `json:"occurence,omitempty"` }
Scan : The response schema for creating a scan.
type ScopeProperty ¶
type ScopeProperty struct { // The property name. Name *string `json:"name,omitempty"` // The property value. Value *string `json:"value,omitempty"` }
ScopeProperty : The properties that are supported for scoping by this attachment.
type SecurityAndComplianceCenterApiV3 ¶
type SecurityAndComplianceCenterApiV3 struct {
Service *core.BaseService
}
SecurityAndComplianceCenterApiV3 : Security and Compliance Center API
API Version: 3.0.0
func NewSecurityAndComplianceCenterApiV3 ¶
func NewSecurityAndComplianceCenterApiV3(options *SecurityAndComplianceCenterApiV3Options) (service *SecurityAndComplianceCenterApiV3, err error)
NewSecurityAndComplianceCenterApiV3 : constructs an instance of SecurityAndComplianceCenterApiV3 with passed in options.
func NewSecurityAndComplianceCenterApiV3UsingExternalConfig ¶
func NewSecurityAndComplianceCenterApiV3UsingExternalConfig(options *SecurityAndComplianceCenterApiV3Options) (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3, err error)
NewSecurityAndComplianceCenterApiV3UsingExternalConfig : constructs an instance of SecurityAndComplianceCenterApiV3 with passed in options and external configuration.
func (*SecurityAndComplianceCenterApiV3) Clone ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) Clone() *SecurityAndComplianceCenterApiV3
Clone makes a copy of "securityAndComplianceCenterApi" suitable for processing requests.
func (*SecurityAndComplianceCenterApiV3) CreateAttachment ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) CreateAttachment(createAttachmentOptions *CreateAttachmentOptions) (result *AttachmentPrototype, response *core.DetailedResponse, err error)
CreateAttachment : Create an attachment Create an attachment to link to a profile to schedule evaluations of your resources on a recurring schedule, or on-demand. For more information, see [Running an evaluation for IBM Cloud](https://test.cloud.ibm.com/docs/security-compliance?topic=security-compliance-scan-resources).
func (*SecurityAndComplianceCenterApiV3) CreateAttachmentWithContext ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) CreateAttachmentWithContext(ctx context.Context, createAttachmentOptions *CreateAttachmentOptions) (result *AttachmentPrototype, response *core.DetailedResponse, err error)
CreateAttachmentWithContext is an alternate form of the CreateAttachment method which supports a Context parameter
func (*SecurityAndComplianceCenterApiV3) CreateCustomControlLibrary ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) CreateCustomControlLibrary(createCustomControlLibraryOptions *CreateCustomControlLibraryOptions) (result *ControlLibrary, response *core.DetailedResponse, err error)
CreateCustomControlLibrary : Create a custom control library Create a custom control library that is specific to your organization's needs.
With Security and Compliance Center, you can create a custom control library that is specific to your organization's needs. You define the controls and specifications before you map previously created assessments. Each control has several specifications and assessments that are mapped to it. A specification is a defined requirement that is specific to a component. An assessment, or several, are mapped to each specification with a detailed evaluation that is done to check whether the specification is compliant. For more information, see [Creating custom libraries](/docs/security-compliance?topic=security-compliance-custom-library).
func (*SecurityAndComplianceCenterApiV3) CreateCustomControlLibraryWithContext ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) CreateCustomControlLibraryWithContext(ctx context.Context, createCustomControlLibraryOptions *CreateCustomControlLibraryOptions) (result *ControlLibrary, response *core.DetailedResponse, err error)
CreateCustomControlLibraryWithContext is an alternate form of the CreateCustomControlLibrary method which supports a Context parameter
func (*SecurityAndComplianceCenterApiV3) CreateProfile ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) CreateProfile(createProfileOptions *CreateProfileOptions) (result *Profile, response *core.DetailedResponse, err error)
CreateProfile : Create a custom profile Create a custom profile that is specific to your usecase, by using an existing library as a starting point. For more information, see [Building custom profiles](https://test.cloud.ibm.com/docs/security-compliance?topic=security-compliance-build-custom-profiles&interface=api).
func (*SecurityAndComplianceCenterApiV3) CreateProfileWithContext ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) CreateProfileWithContext(ctx context.Context, createProfileOptions *CreateProfileOptions) (result *Profile, response *core.DetailedResponse, err error)
CreateProfileWithContext is an alternate form of the CreateProfile method which supports a Context parameter
func (*SecurityAndComplianceCenterApiV3) CreateProviderTypeInstance ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) CreateProviderTypeInstance(createProviderTypeInstanceOptions *CreateProviderTypeInstanceOptions) (result *ProviderTypeInstanceItem, response *core.DetailedResponse, err error)
CreateProviderTypeInstance : Create a provider type instance Create an instance of a provider type. For more information about integrations, see [Connecting Workload Protection](https://test.cloud.ibm.com/docs/security-compliance?topic=security-compliance-setup-workload-protection).
func (*SecurityAndComplianceCenterApiV3) CreateProviderTypeInstanceWithContext ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) CreateProviderTypeInstanceWithContext(ctx context.Context, createProviderTypeInstanceOptions *CreateProviderTypeInstanceOptions) (result *ProviderTypeInstanceItem, response *core.DetailedResponse, err error)
CreateProviderTypeInstanceWithContext is an alternate form of the CreateProviderTypeInstance method which supports a Context parameter
func (*SecurityAndComplianceCenterApiV3) CreateRule ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) CreateRule(createRuleOptions *CreateRuleOptions) (result *Rule, response *core.DetailedResponse, err error)
CreateRule : Create a custom rule Create a custom rule to to target the exact configuration properties that you need to evaluate your resources for compliance. For more information, see [Defining custom rules](https://test.cloud.ibm.com/docs/security-compliance?topic=security-compliance-rules-define).
func (*SecurityAndComplianceCenterApiV3) CreateRuleWithContext ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) CreateRuleWithContext(ctx context.Context, createRuleOptions *CreateRuleOptions) (result *Rule, response *core.DetailedResponse, err error)
CreateRuleWithContext is an alternate form of the CreateRule method which supports a Context parameter
func (*SecurityAndComplianceCenterApiV3) CreateScan ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) CreateScan(createScanOptions *CreateScanOptions) (result *Scan, response *core.DetailedResponse, err error)
CreateScan : Create a scan Create a scan to evaluate your resources on a recurring basis or on demand.
func (*SecurityAndComplianceCenterApiV3) CreateScanWithContext ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) CreateScanWithContext(ctx context.Context, createScanOptions *CreateScanOptions) (result *Scan, response *core.DetailedResponse, err error)
CreateScanWithContext is an alternate form of the CreateScan method which supports a Context parameter
func (*SecurityAndComplianceCenterApiV3) DeleteCustomControlLibrary ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) DeleteCustomControlLibrary(deleteCustomControlLibraryOptions *DeleteCustomControlLibraryOptions) (result *ControlLibraryDelete, response *core.DetailedResponse, err error)
DeleteCustomControlLibrary : Delete a control library Delete a custom control library by providing the control library ID. You can find this ID by looking in the Security and Compliance Center UI.
With Security and Compliance Center, you can manage a custom control library that is specific to your organization's needs. Each control has several specifications and assessments that are mapped to it. For more information, see [Creating custom libraries](/docs/security-compliance?topic=security-compliance-custom-library).
func (*SecurityAndComplianceCenterApiV3) DeleteCustomControlLibraryWithContext ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) DeleteCustomControlLibraryWithContext(ctx context.Context, deleteCustomControlLibraryOptions *DeleteCustomControlLibraryOptions) (result *ControlLibraryDelete, response *core.DetailedResponse, err error)
DeleteCustomControlLibraryWithContext is an alternate form of the DeleteCustomControlLibrary method which supports a Context parameter
func (*SecurityAndComplianceCenterApiV3) DeleteCustomProfile ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) DeleteCustomProfile(deleteCustomProfileOptions *DeleteCustomProfileOptions) (result *Profile, response *core.DetailedResponse, err error)
DeleteCustomProfile : Delete a custom profile Delete a custom profile by providing the profile ID. You can find the ID in the Security and Compliance Center UI. For more information about managing your custom profiles, see [Building custom profiles](https://test.cloud.ibm.com/docs/security-compliance?topic=security-compliance-build-custom-profiles&interface=api).
func (*SecurityAndComplianceCenterApiV3) DeleteCustomProfileWithContext ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) DeleteCustomProfileWithContext(ctx context.Context, deleteCustomProfileOptions *DeleteCustomProfileOptions) (result *Profile, response *core.DetailedResponse, err error)
DeleteCustomProfileWithContext is an alternate form of the DeleteCustomProfile method which supports a Context parameter
func (*SecurityAndComplianceCenterApiV3) DeleteProfileAttachment ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) DeleteProfileAttachment(deleteProfileAttachmentOptions *DeleteProfileAttachmentOptions) (result *AttachmentItem, response *core.DetailedResponse, err error)
DeleteProfileAttachment : Delete an attachment Delete an attachment. Alternatively, if you think that you might need this configuration in the future, you can pause an attachment to stop being charged. For more information, see [Running an evaluation for IBM Cloud](https://test.cloud.ibm.com/docs/security-compliance?topic=security-compliance-scan-resources).
func (*SecurityAndComplianceCenterApiV3) DeleteProfileAttachmentWithContext ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) DeleteProfileAttachmentWithContext(ctx context.Context, deleteProfileAttachmentOptions *DeleteProfileAttachmentOptions) (result *AttachmentItem, response *core.DetailedResponse, err error)
DeleteProfileAttachmentWithContext is an alternate form of the DeleteProfileAttachment method which supports a Context parameter
func (*SecurityAndComplianceCenterApiV3) DeleteProviderTypeInstance ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) DeleteProviderTypeInstance(deleteProviderTypeInstanceOptions *DeleteProviderTypeInstanceOptions) (response *core.DetailedResponse, err error)
DeleteProviderTypeInstance : Remove a specific instance of a provider type Remove a specific instance of a provider type.
func (*SecurityAndComplianceCenterApiV3) DeleteProviderTypeInstanceWithContext ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) DeleteProviderTypeInstanceWithContext(ctx context.Context, deleteProviderTypeInstanceOptions *DeleteProviderTypeInstanceOptions) (response *core.DetailedResponse, err error)
DeleteProviderTypeInstanceWithContext is an alternate form of the DeleteProviderTypeInstance method which supports a Context parameter
func (*SecurityAndComplianceCenterApiV3) DeleteRule ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) DeleteRule(deleteRuleOptions *DeleteRuleOptions) (response *core.DetailedResponse, err error)
DeleteRule : Delete a custom rule Delete a custom rule that you no longer require to evaluate your resources. For more information, see [Defining custom rules](https://test.cloud.ibm.com/docs/security-compliance?topic=security-compliance-rules-define).
func (*SecurityAndComplianceCenterApiV3) DeleteRuleWithContext ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) DeleteRuleWithContext(ctx context.Context, deleteRuleOptions *DeleteRuleOptions) (response *core.DetailedResponse, err error)
DeleteRuleWithContext is an alternate form of the DeleteRule method which supports a Context parameter
func (*SecurityAndComplianceCenterApiV3) DisableRetries ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) DisableRetries()
DisableRetries disables automatic retries for requests invoked for this service instance.
func (*SecurityAndComplianceCenterApiV3) EnableRetries ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) EnableRetries(maxRetries int, maxRetryInterval time.Duration)
EnableRetries enables automatic retries for requests invoked for this service instance. If either parameter is specified as 0, then a default value is used instead.
func (*SecurityAndComplianceCenterApiV3) GetControlLibrary ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) GetControlLibrary(getControlLibraryOptions *GetControlLibraryOptions) (result *ControlLibrary, response *core.DetailedResponse, err error)
GetControlLibrary : Get a control library View the details of a control library by specifying its ID.
With Security and Compliance Center, you can create a custom control library that is specific to your organization's needs. You define the controls and specifications before you map previously created assessments. Each control has several specifications and assessments that are mapped to it. A specification is a defined requirement that is specific to a component. An assessment, or several, are mapped to each specification with a detailed evaluation that is done to check whether the specification is compliant. For more information, see [Creating custom libraries](/docs/security-compliance?topic=security-compliance-custom-library).
func (*SecurityAndComplianceCenterApiV3) GetControlLibraryWithContext ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) GetControlLibraryWithContext(ctx context.Context, getControlLibraryOptions *GetControlLibraryOptions) (result *ControlLibrary, response *core.DetailedResponse, err error)
GetControlLibraryWithContext is an alternate form of the GetControlLibrary method which supports a Context parameter
func (*SecurityAndComplianceCenterApiV3) GetEnableGzipCompression ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) GetEnableGzipCompression() bool
GetEnableGzipCompression returns the service's EnableGzipCompression field
func (*SecurityAndComplianceCenterApiV3) GetLatestReports ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) GetLatestReports(getLatestReportsOptions *GetLatestReportsOptions) (result *ReportLatest, response *core.DetailedResponse, err error)
GetLatestReports : Get the latest reports Retrieve the latest reports, which are grouped by profile ID, scope ID, and attachment ID. For more information, see [Viewing results](https://cloud.ibm.com/docs/security-compliance?topic=security-compliance-results).
func (*SecurityAndComplianceCenterApiV3) GetLatestReportsWithContext ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) GetLatestReportsWithContext(ctx context.Context, getLatestReportsOptions *GetLatestReportsOptions) (result *ReportLatest, response *core.DetailedResponse, err error)
GetLatestReportsWithContext is an alternate form of the GetLatestReports method which supports a Context parameter
func (*SecurityAndComplianceCenterApiV3) GetProfile ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) GetProfile(getProfileOptions *GetProfileOptions) (result *Profile, response *core.DetailedResponse, err error)
GetProfile : Get a profile View the details of a profile by providing the profile ID. You can find the profile ID in the Security and Compliance Center UI. For more information, see [Building custom profiles](https://test.cloud.ibm.com/docs/security-compliance?topic=security-compliance-build-custom-profiles&interface=api).
func (*SecurityAndComplianceCenterApiV3) GetProfileAttachment ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) GetProfileAttachment(getProfileAttachmentOptions *GetProfileAttachmentOptions) (result *AttachmentItem, response *core.DetailedResponse, err error)
GetProfileAttachment : Get an attachment View the details of an attachment a profile by providing the attachment ID. You can find this value in the Security and Compliance Center UI. For more information, see [Running an evaluation for IBM Cloud](https://test.cloud.ibm.com/docs/security-compliance?topic=security-compliance-scan-resources).
func (*SecurityAndComplianceCenterApiV3) GetProfileAttachmentWithContext ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) GetProfileAttachmentWithContext(ctx context.Context, getProfileAttachmentOptions *GetProfileAttachmentOptions) (result *AttachmentItem, response *core.DetailedResponse, err error)
GetProfileAttachmentWithContext is an alternate form of the GetProfileAttachment method which supports a Context parameter
func (*SecurityAndComplianceCenterApiV3) GetProfileWithContext ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) GetProfileWithContext(ctx context.Context, getProfileOptions *GetProfileOptions) (result *Profile, response *core.DetailedResponse, err error)
GetProfileWithContext is an alternate form of the GetProfile method which supports a Context parameter
func (*SecurityAndComplianceCenterApiV3) GetProviderTypeByID ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) GetProviderTypeByID(getProviderTypeByIdOptions *GetProviderTypeByIdOptions) (result *ProviderTypeItem, response *core.DetailedResponse, err error)
GetProviderTypeByID : Get a provider type Retrieve a provider type by specifying its ID. For more information about integrations, see [Connecting Workload Protection](https://test.cloud.ibm.com/docs/security-compliance?topic=security-compliance-setup-workload-protection).
func (*SecurityAndComplianceCenterApiV3) GetProviderTypeByIDWithContext ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) GetProviderTypeByIDWithContext(ctx context.Context, getProviderTypeByIdOptions *GetProviderTypeByIdOptions) (result *ProviderTypeItem, response *core.DetailedResponse, err error)
GetProviderTypeByIDWithContext is an alternate form of the GetProviderTypeByID method which supports a Context parameter
func (*SecurityAndComplianceCenterApiV3) GetProviderTypeInstance ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) GetProviderTypeInstance(getProviderTypeInstanceOptions *GetProviderTypeInstanceOptions) (result *ProviderTypeInstanceItem, response *core.DetailedResponse, err error)
GetProviderTypeInstance : List a provider type instance Retrieve a provider type instance by specifying the provider type ID, and Security and Compliance Center instance ID. For more information about integrations, see [Connecting Workload Protection](https://test.cloud.ibm.com/docs/security-compliance?topic=security-compliance-setup-workload-protection).
func (*SecurityAndComplianceCenterApiV3) GetProviderTypeInstanceWithContext ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) GetProviderTypeInstanceWithContext(ctx context.Context, getProviderTypeInstanceOptions *GetProviderTypeInstanceOptions) (result *ProviderTypeInstanceItem, response *core.DetailedResponse, err error)
GetProviderTypeInstanceWithContext is an alternate form of the GetProviderTypeInstance method which supports a Context parameter
func (*SecurityAndComplianceCenterApiV3) GetProviderTypesInstances ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) GetProviderTypesInstances(getProviderTypesInstancesOptions *GetProviderTypesInstancesOptions) (result *ProviderTypesInstancesResponse, response *core.DetailedResponse, err error)
GetProviderTypesInstances : Get a list of instances for all provider types Get a list of instances for all provider types.
func (*SecurityAndComplianceCenterApiV3) GetProviderTypesInstancesWithContext ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) GetProviderTypesInstancesWithContext(ctx context.Context, getProviderTypesInstancesOptions *GetProviderTypesInstancesOptions) (result *ProviderTypesInstancesResponse, response *core.DetailedResponse, err error)
GetProviderTypesInstancesWithContext is an alternate form of the GetProviderTypesInstances method which supports a Context parameter
func (*SecurityAndComplianceCenterApiV3) GetReport ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) GetReport(getReportOptions *GetReportOptions) (result *Report, response *core.DetailedResponse, err error)
GetReport : Get a report Retrieve a report by specifying its ID. For more information, see [Viewing results](https://cloud.ibm.com/docs/security-compliance?topic=security-compliance-results).
func (*SecurityAndComplianceCenterApiV3) GetReportControls ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) GetReportControls(getReportControlsOptions *GetReportControlsOptions) (result *ReportControls, response *core.DetailedResponse, err error)
GetReportControls : Get report controls Retrieve a sorted and filtered list of controls for the specified report. For more information, see [Viewing results](https://cloud.ibm.com/docs/security-compliance?topic=security-compliance-results).
func (*SecurityAndComplianceCenterApiV3) GetReportControlsWithContext ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) GetReportControlsWithContext(ctx context.Context, getReportControlsOptions *GetReportControlsOptions) (result *ReportControls, response *core.DetailedResponse, err error)
GetReportControlsWithContext is an alternate form of the GetReportControls method which supports a Context parameter
func (*SecurityAndComplianceCenterApiV3) GetReportEvaluation ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) GetReportEvaluation(getReportEvaluationOptions *GetReportEvaluationOptions) (result io.ReadCloser, response *core.DetailedResponse, err error)
GetReportEvaluation : Get report evaluation details Retrieve the evaluation details of a report by specifying the report ID. For more information, see [Viewing results](https://cloud.ibm.com/docs/security-compliance?topic=security-compliance-results).
func (*SecurityAndComplianceCenterApiV3) GetReportEvaluationWithContext ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) GetReportEvaluationWithContext(ctx context.Context, getReportEvaluationOptions *GetReportEvaluationOptions) (result io.ReadCloser, response *core.DetailedResponse, err error)
GetReportEvaluationWithContext is an alternate form of the GetReportEvaluation method which supports a Context parameter
func (*SecurityAndComplianceCenterApiV3) GetReportRule ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) GetReportRule(getReportRuleOptions *GetReportRuleOptions) (result *RuleInfo, response *core.DetailedResponse, err error)
GetReportRule : Get a report rule Retrieve the rule by specifying the report ID and rule ID. For more information, see [Viewing results](https://cloud.ibm.com/docs/security-compliance?topic=security-compliance-results).
func (*SecurityAndComplianceCenterApiV3) GetReportRuleWithContext ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) GetReportRuleWithContext(ctx context.Context, getReportRuleOptions *GetReportRuleOptions) (result *RuleInfo, response *core.DetailedResponse, err error)
GetReportRuleWithContext is an alternate form of the GetReportRule method which supports a Context parameter
func (*SecurityAndComplianceCenterApiV3) GetReportSummary ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) GetReportSummary(getReportSummaryOptions *GetReportSummaryOptions) (result *ReportSummary, response *core.DetailedResponse, err error)
GetReportSummary : Get a report summary Retrieve the complete summarized information for a report. For more information, see [Viewing results](https://cloud.ibm.com/docs/security-compliance?topic=security-compliance-results).
func (*SecurityAndComplianceCenterApiV3) GetReportSummaryWithContext ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) GetReportSummaryWithContext(ctx context.Context, getReportSummaryOptions *GetReportSummaryOptions) (result *ReportSummary, response *core.DetailedResponse, err error)
GetReportSummaryWithContext is an alternate form of the GetReportSummary method which supports a Context parameter
func (*SecurityAndComplianceCenterApiV3) GetReportTags ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) GetReportTags(getReportTagsOptions *GetReportTagsOptions) (result *ReportTags, response *core.DetailedResponse, err error)
GetReportTags : Get report tags Retrieve a list of tags for the specified report. For more information, see [Viewing results](https://cloud.ibm.com/docs/security-compliance?topic=security-compliance-results).
func (*SecurityAndComplianceCenterApiV3) GetReportTagsWithContext ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) GetReportTagsWithContext(ctx context.Context, getReportTagsOptions *GetReportTagsOptions) (result *ReportTags, response *core.DetailedResponse, err error)
GetReportTagsWithContext is an alternate form of the GetReportTags method which supports a Context parameter
func (*SecurityAndComplianceCenterApiV3) GetReportViolationsDrift ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) GetReportViolationsDrift(getReportViolationsDriftOptions *GetReportViolationsDriftOptions) (result *ReportViolationsDrift, response *core.DetailedResponse, err error)
GetReportViolationsDrift : Get report violations drift Get a list of report violation data points for the specified report and time frame. For more information, see [Viewing results](https://cloud.ibm.com/docs/security-compliance?topic=security-compliance-results).
func (*SecurityAndComplianceCenterApiV3) GetReportViolationsDriftWithContext ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) GetReportViolationsDriftWithContext(ctx context.Context, getReportViolationsDriftOptions *GetReportViolationsDriftOptions) (result *ReportViolationsDrift, response *core.DetailedResponse, err error)
GetReportViolationsDriftWithContext is an alternate form of the GetReportViolationsDrift method which supports a Context parameter
func (*SecurityAndComplianceCenterApiV3) GetReportWithContext ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) GetReportWithContext(ctx context.Context, getReportOptions *GetReportOptions) (result *Report, response *core.DetailedResponse, err error)
GetReportWithContext is an alternate form of the GetReport method which supports a Context parameter
func (*SecurityAndComplianceCenterApiV3) GetRule ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) GetRule(getRuleOptions *GetRuleOptions) (result *Rule, response *core.DetailedResponse, err error)
GetRule : Get a custom rule Retrieve a rule that you created to evaluate your resources. For more information, see [Defining custom rules](https://test.cloud.ibm.com/docs/security-compliance?topic=security-compliance-rules-define).
func (*SecurityAndComplianceCenterApiV3) GetRuleWithContext ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) GetRuleWithContext(ctx context.Context, getRuleOptions *GetRuleOptions) (result *Rule, response *core.DetailedResponse, err error)
GetRuleWithContext is an alternate form of the GetRule method which supports a Context parameter
func (*SecurityAndComplianceCenterApiV3) GetServiceURL ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) GetServiceURL() string
GetServiceURL returns the service URL
func (*SecurityAndComplianceCenterApiV3) GetSettings ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) GetSettings(getSettingsOptions *GetSettingsOptions) (result *Settings, response *core.DetailedResponse, err error)
GetSettings : Get settings Retrieve the settings of your service instance.
func (*SecurityAndComplianceCenterApiV3) GetSettingsWithContext ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) GetSettingsWithContext(ctx context.Context, getSettingsOptions *GetSettingsOptions) (result *Settings, response *core.DetailedResponse, err error)
GetSettingsWithContext is an alternate form of the GetSettings method which supports a Context parameter
func (*SecurityAndComplianceCenterApiV3) ListAttachments ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) ListAttachments(listAttachmentsOptions *ListAttachmentsOptions) (result *AttachmentCollection, response *core.DetailedResponse, err error)
ListAttachments : Get all attachments linked to a specific profile View all of the attachments that are linked to a specific profile. An attachment is the association between the set of resources that you want to evaluate and a profile that contains the specific controls that you want to use. For more information, see [Running an evaluation for IBM Cloud](https://test.cloud.ibm.com/docs/security-compliance?topic=security-compliance-scan-resources).
func (*SecurityAndComplianceCenterApiV3) ListAttachmentsAccount ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) ListAttachmentsAccount(listAttachmentsAccountOptions *ListAttachmentsAccountOptions) (result *AttachmentCollection, response *core.DetailedResponse, err error)
ListAttachmentsAccount : Get all attachments in an instance View all of the attachments that are linked to an account. An attachment is the association between the set of resources that you want to evaluate and a profile that contains the specific controls that you want to use. For more information, see [Running an evaluation for IBM Cloud](https://test.cloud.ibm.com/docs/security-compliance?topic=security-compliance-scan-resources).
func (*SecurityAndComplianceCenterApiV3) ListAttachmentsAccountWithContext ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) ListAttachmentsAccountWithContext(ctx context.Context, listAttachmentsAccountOptions *ListAttachmentsAccountOptions) (result *AttachmentCollection, response *core.DetailedResponse, err error)
ListAttachmentsAccountWithContext is an alternate form of the ListAttachmentsAccount method which supports a Context parameter
func (*SecurityAndComplianceCenterApiV3) ListAttachmentsWithContext ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) ListAttachmentsWithContext(ctx context.Context, listAttachmentsOptions *ListAttachmentsOptions) (result *AttachmentCollection, response *core.DetailedResponse, err error)
ListAttachmentsWithContext is an alternate form of the ListAttachments method which supports a Context parameter
func (*SecurityAndComplianceCenterApiV3) ListControlLibraries ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) ListControlLibraries(listControlLibrariesOptions *ListControlLibrariesOptions) (result *ControlLibraryCollection, response *core.DetailedResponse, err error)
ListControlLibraries : Get control libraries Retrieve all of the control libraries that are available in your account, including predefined, and custom libraries.
With Security and Compliance Center, you can create a custom control library that is specific to your organization's needs. You define the controls and specifications before you map previously created assessments. Each control has several specifications and assessments that are mapped to it. A specification is a defined requirement that is specific to a component. An assessment, or several, are mapped to each specification with a detailed evaluation that is done to check whether the specification is compliant. For more information, see [Creating custom libraries](/docs/security-compliance?topic=security-compliance-custom-library).
func (*SecurityAndComplianceCenterApiV3) ListControlLibrariesWithContext ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) ListControlLibrariesWithContext(ctx context.Context, listControlLibrariesOptions *ListControlLibrariesOptions) (result *ControlLibraryCollection, response *core.DetailedResponse, err error)
ListControlLibrariesWithContext is an alternate form of the ListControlLibraries method which supports a Context parameter
func (*SecurityAndComplianceCenterApiV3) ListProfiles ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) ListProfiles(listProfilesOptions *ListProfilesOptions) (result *ProfileCollection, response *core.DetailedResponse, err error)
ListProfiles : Get all profiles View all of the predefined and custom profiles that are available in your account.
func (*SecurityAndComplianceCenterApiV3) ListProfilesWithContext ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) ListProfilesWithContext(ctx context.Context, listProfilesOptions *ListProfilesOptions) (result *ProfileCollection, response *core.DetailedResponse, err error)
ListProfilesWithContext is an alternate form of the ListProfiles method which supports a Context parameter
func (*SecurityAndComplianceCenterApiV3) ListProviderTypeInstances ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) ListProviderTypeInstances(listProviderTypeInstancesOptions *ListProviderTypeInstancesOptions) (result *ProviderTypeInstancesResponse, response *core.DetailedResponse, err error)
ListProviderTypeInstances : List all provider type instances Retrieve all instances of provider type. For more information about integrations, see [Connecting Workload Protection](https://test.cloud.ibm.com/docs/security-compliance?topic=security-compliance-setup-workload-protection).
func (*SecurityAndComplianceCenterApiV3) ListProviderTypeInstancesWithContext ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) ListProviderTypeInstancesWithContext(ctx context.Context, listProviderTypeInstancesOptions *ListProviderTypeInstancesOptions) (result *ProviderTypeInstancesResponse, response *core.DetailedResponse, err error)
ListProviderTypeInstancesWithContext is an alternate form of the ListProviderTypeInstances method which supports a Context parameter
func (*SecurityAndComplianceCenterApiV3) ListProviderTypes ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) ListProviderTypes(listProviderTypesOptions *ListProviderTypesOptions) (result *ProviderTypesCollection, response *core.DetailedResponse, err error)
ListProviderTypes : List all provider types List all the registered provider types. For more information about connecting Workload Protection with the Security and Compliance Center, see [Connecting Workload Protection](/docs/security-compliance?topic=security-compliance-setup-workload-protection&interface=api#wp-register).
func (*SecurityAndComplianceCenterApiV3) ListProviderTypesWithContext ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) ListProviderTypesWithContext(ctx context.Context, listProviderTypesOptions *ListProviderTypesOptions) (result *ProviderTypesCollection, response *core.DetailedResponse, err error)
ListProviderTypesWithContext is an alternate form of the ListProviderTypes method which supports a Context parameter
func (*SecurityAndComplianceCenterApiV3) ListReportEvaluations ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) ListReportEvaluations(listReportEvaluationsOptions *ListReportEvaluationsOptions) (result *EvaluationPage, response *core.DetailedResponse, err error)
ListReportEvaluations : List report evaluations Get a paginated list of evaluations for the specified report. For more information, see [Viewing results](https://cloud.ibm.com/docs/security-compliance?topic=security-compliance-results).
func (*SecurityAndComplianceCenterApiV3) ListReportEvaluationsWithContext ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) ListReportEvaluationsWithContext(ctx context.Context, listReportEvaluationsOptions *ListReportEvaluationsOptions) (result *EvaluationPage, response *core.DetailedResponse, err error)
ListReportEvaluationsWithContext is an alternate form of the ListReportEvaluations method which supports a Context parameter
func (*SecurityAndComplianceCenterApiV3) ListReportResources ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) ListReportResources(listReportResourcesOptions *ListReportResourcesOptions) (result *ResourcePage, response *core.DetailedResponse, err error)
ListReportResources : List report resources Get a paginated list of resources for the specified report. For more information, see [Viewing results](https://cloud.ibm.com/docs/security-compliance?topic=security-compliance-results).
func (*SecurityAndComplianceCenterApiV3) ListReportResourcesWithContext ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) ListReportResourcesWithContext(ctx context.Context, listReportResourcesOptions *ListReportResourcesOptions) (result *ResourcePage, response *core.DetailedResponse, err error)
ListReportResourcesWithContext is an alternate form of the ListReportResources method which supports a Context parameter
func (*SecurityAndComplianceCenterApiV3) ListReports ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) ListReports(listReportsOptions *ListReportsOptions) (result *ReportPage, response *core.DetailedResponse, err error)
ListReports : List reports Retrieve a page of reports that are filtered by the specified parameters. For more information, see [Viewing results](https://cloud.ibm.com/docs/security-compliance?topic=security-compliance-results).
func (*SecurityAndComplianceCenterApiV3) ListReportsWithContext ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) ListReportsWithContext(ctx context.Context, listReportsOptions *ListReportsOptions) (result *ReportPage, response *core.DetailedResponse, err error)
ListReportsWithContext is an alternate form of the ListReports method which supports a Context parameter
func (*SecurityAndComplianceCenterApiV3) ListRules ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) ListRules(listRulesOptions *ListRulesOptions) (result *RulesPageBase, response *core.DetailedResponse, err error)
ListRules : List all rules Retrieve all the rules that you use to target the exact configuration properties that you need to ensure are compliant. For more information, see [Defining custom rules](https://test.cloud.ibm.com/docs/security-compliance?topic=security-compliance-rules-define).
func (*SecurityAndComplianceCenterApiV3) ListRulesWithContext ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) ListRulesWithContext(ctx context.Context, listRulesOptions *ListRulesOptions) (result *RulesPageBase, response *core.DetailedResponse, err error)
ListRulesWithContext is an alternate form of the ListRules method which supports a Context parameter
func (*SecurityAndComplianceCenterApiV3) NewAttachmentPrototype ¶
func (*SecurityAndComplianceCenterApiV3) NewAttachmentPrototype(attachments []AttachmentsPrototype) (_model *AttachmentPrototype, err error)
NewAttachmentPrototype : Instantiate AttachmentPrototype (Generic Model Constructor)
func (*SecurityAndComplianceCenterApiV3) NewAttachmentsAccountPager ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) NewAttachmentsAccountPager(options *ListAttachmentsAccountOptions) (pager *AttachmentsAccountPager, err error)
NewAttachmentsAccountPager returns a new AttachmentsAccountPager instance.
func (*SecurityAndComplianceCenterApiV3) NewAttachmentsNotificationsPrototype ¶
func (*SecurityAndComplianceCenterApiV3) NewAttachmentsNotificationsPrototype(enabled bool, controls *FailedControls) (_model *AttachmentsNotificationsPrototype, err error)
NewAttachmentsNotificationsPrototype : Instantiate AttachmentsNotificationsPrototype (Generic Model Constructor)
func (*SecurityAndComplianceCenterApiV3) NewAttachmentsPager ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) NewAttachmentsPager(options *ListAttachmentsOptions) (pager *AttachmentsPager, err error)
NewAttachmentsPager returns a new AttachmentsPager instance.
func (*SecurityAndComplianceCenterApiV3) NewAttachmentsPrototype ¶
func (*SecurityAndComplianceCenterApiV3) NewAttachmentsPrototype(name string, scope []MultiCloudScope, status string, schedule string, attachmentParameters []AttachmentParameterPrototype) (_model *AttachmentsPrototype, err error)
NewAttachmentsPrototype : Instantiate AttachmentsPrototype (Generic Model Constructor)
func (*SecurityAndComplianceCenterApiV3) NewControlLibrariesPager ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) NewControlLibrariesPager(options *ListControlLibrariesOptions) (pager *ControlLibrariesPager, err error)
NewControlLibrariesPager returns a new ControlLibrariesPager instance.
func (*SecurityAndComplianceCenterApiV3) NewCreateAttachmentOptions ¶
func (*SecurityAndComplianceCenterApiV3) NewCreateAttachmentOptions(instanceID string, profileID string, attachments []AttachmentsPrototype) *CreateAttachmentOptions
NewCreateAttachmentOptions : Instantiate CreateAttachmentOptions
func (*SecurityAndComplianceCenterApiV3) NewCreateCustomControlLibraryOptions ¶
func (*SecurityAndComplianceCenterApiV3) NewCreateCustomControlLibraryOptions(instanceID string, controlLibraryName string, controlLibraryDescription string, controlLibraryType string, controls []ControlsInControlLib) *CreateCustomControlLibraryOptions
NewCreateCustomControlLibraryOptions : Instantiate CreateCustomControlLibraryOptions
func (*SecurityAndComplianceCenterApiV3) NewCreateProfileOptions ¶
func (*SecurityAndComplianceCenterApiV3) NewCreateProfileOptions(instanceID string, profileName string, profileDescription string, profileType string, controls []ProfileControlsPrototype, defaultParameters []DefaultParametersPrototype) *CreateProfileOptions
NewCreateProfileOptions : Instantiate CreateProfileOptions
func (*SecurityAndComplianceCenterApiV3) NewCreateProviderTypeInstanceOptions ¶
func (*SecurityAndComplianceCenterApiV3) NewCreateProviderTypeInstanceOptions(instanceID string, providerTypeID string) *CreateProviderTypeInstanceOptions
NewCreateProviderTypeInstanceOptions : Instantiate CreateProviderTypeInstanceOptions
func (*SecurityAndComplianceCenterApiV3) NewCreateRuleOptions ¶
func (*SecurityAndComplianceCenterApiV3) NewCreateRuleOptions(instanceID string, description string, target *Target, requiredConfig RequiredConfigIntf) *CreateRuleOptions
NewCreateRuleOptions : Instantiate CreateRuleOptions
func (*SecurityAndComplianceCenterApiV3) NewCreateScanOptions ¶
func (*SecurityAndComplianceCenterApiV3) NewCreateScanOptions(instanceID string, attachmentID string) *CreateScanOptions
NewCreateScanOptions : Instantiate CreateScanOptions
func (*SecurityAndComplianceCenterApiV3) NewDeleteCustomControlLibraryOptions ¶
func (*SecurityAndComplianceCenterApiV3) NewDeleteCustomControlLibraryOptions(instanceID string, controlLibrariesID string) *DeleteCustomControlLibraryOptions
NewDeleteCustomControlLibraryOptions : Instantiate DeleteCustomControlLibraryOptions
func (*SecurityAndComplianceCenterApiV3) NewDeleteCustomProfileOptions ¶
func (*SecurityAndComplianceCenterApiV3) NewDeleteCustomProfileOptions(instanceID string, profileID string) *DeleteCustomProfileOptions
NewDeleteCustomProfileOptions : Instantiate DeleteCustomProfileOptions
func (*SecurityAndComplianceCenterApiV3) NewDeleteProfileAttachmentOptions ¶
func (*SecurityAndComplianceCenterApiV3) NewDeleteProfileAttachmentOptions(instanceID string, attachmentID string, profileID string) *DeleteProfileAttachmentOptions
NewDeleteProfileAttachmentOptions : Instantiate DeleteProfileAttachmentOptions
func (*SecurityAndComplianceCenterApiV3) NewDeleteProviderTypeInstanceOptions ¶
func (*SecurityAndComplianceCenterApiV3) NewDeleteProviderTypeInstanceOptions(instanceID string, providerTypeID string, providerTypeInstanceID string) *DeleteProviderTypeInstanceOptions
NewDeleteProviderTypeInstanceOptions : Instantiate DeleteProviderTypeInstanceOptions
func (*SecurityAndComplianceCenterApiV3) NewDeleteRuleOptions ¶
func (*SecurityAndComplianceCenterApiV3) NewDeleteRuleOptions(instanceID string, ruleID string) *DeleteRuleOptions
NewDeleteRuleOptions : Instantiate DeleteRuleOptions
func (*SecurityAndComplianceCenterApiV3) NewGetControlLibraryOptions ¶
func (*SecurityAndComplianceCenterApiV3) NewGetControlLibraryOptions(instanceID string, controlLibrariesID string) *GetControlLibraryOptions
NewGetControlLibraryOptions : Instantiate GetControlLibraryOptions
func (*SecurityAndComplianceCenterApiV3) NewGetLatestReportsOptions ¶
func (*SecurityAndComplianceCenterApiV3) NewGetLatestReportsOptions(instanceID string) *GetLatestReportsOptions
NewGetLatestReportsOptions : Instantiate GetLatestReportsOptions
func (*SecurityAndComplianceCenterApiV3) NewGetProfileAttachmentOptions ¶
func (*SecurityAndComplianceCenterApiV3) NewGetProfileAttachmentOptions(instanceID string, attachmentID string, profileID string) *GetProfileAttachmentOptions
NewGetProfileAttachmentOptions : Instantiate GetProfileAttachmentOptions
func (*SecurityAndComplianceCenterApiV3) NewGetProfileOptions ¶
func (*SecurityAndComplianceCenterApiV3) NewGetProfileOptions(instanceID string, profileID string) *GetProfileOptions
NewGetProfileOptions : Instantiate GetProfileOptions
func (*SecurityAndComplianceCenterApiV3) NewGetProviderTypeByIdOptions ¶
func (*SecurityAndComplianceCenterApiV3) NewGetProviderTypeByIdOptions(instanceID, providerTypeID string) *GetProviderTypeByIdOptions
NewGetProviderTypeByIdOptions : Instantiate GetProviderTypeByIdOptions
func (*SecurityAndComplianceCenterApiV3) NewGetProviderTypeInstanceOptions ¶
func (*SecurityAndComplianceCenterApiV3) NewGetProviderTypeInstanceOptions(instanceID string, providerTypeID string, providerTypeInstanceID string) *GetProviderTypeInstanceOptions
NewGetProviderTypeInstanceOptions : Instantiate GetProviderTypeInstanceOptions
func (*SecurityAndComplianceCenterApiV3) NewGetProviderTypesInstancesOptions ¶
func (*SecurityAndComplianceCenterApiV3) NewGetProviderTypesInstancesOptions(instanceID string) *GetProviderTypesInstancesOptions
NewGetProviderTypesInstancesOptions : Instantiate GetProviderTypesInstancesOptions
func (*SecurityAndComplianceCenterApiV3) NewGetReportControlsOptions ¶
func (*SecurityAndComplianceCenterApiV3) NewGetReportControlsOptions(instanceID string, reportID string) *GetReportControlsOptions
NewGetReportControlsOptions : Instantiate GetReportControlsOptions
func (*SecurityAndComplianceCenterApiV3) NewGetReportEvaluationOptions ¶
func (*SecurityAndComplianceCenterApiV3) NewGetReportEvaluationOptions(instanceID string, reportID string) *GetReportEvaluationOptions
NewGetReportEvaluationOptions : Instantiate GetReportEvaluationOptions
func (*SecurityAndComplianceCenterApiV3) NewGetReportOptions ¶
func (*SecurityAndComplianceCenterApiV3) NewGetReportOptions(instanceID string, reportID string) *GetReportOptions
NewGetReportOptions : Instantiate GetReportOptions
func (*SecurityAndComplianceCenterApiV3) NewGetReportRuleOptions ¶
func (*SecurityAndComplianceCenterApiV3) NewGetReportRuleOptions(instanceID string, reportID string, ruleID string) *GetReportRuleOptions
NewGetReportRuleOptions : Instantiate GetReportRuleOptions
func (*SecurityAndComplianceCenterApiV3) NewGetReportSummaryOptions ¶
func (*SecurityAndComplianceCenterApiV3) NewGetReportSummaryOptions(instanceID string, reportID string) *GetReportSummaryOptions
NewGetReportSummaryOptions : Instantiate GetReportSummaryOptions
func (*SecurityAndComplianceCenterApiV3) NewGetReportTagsOptions ¶
func (*SecurityAndComplianceCenterApiV3) NewGetReportTagsOptions(instanceID string, reportID string) *GetReportTagsOptions
NewGetReportTagsOptions : Instantiate GetReportTagsOptions
func (*SecurityAndComplianceCenterApiV3) NewGetReportViolationsDriftOptions ¶
func (*SecurityAndComplianceCenterApiV3) NewGetReportViolationsDriftOptions(instanceID string, reportID string) *GetReportViolationsDriftOptions
NewGetReportViolationsDriftOptions : Instantiate GetReportViolationsDriftOptions
func (*SecurityAndComplianceCenterApiV3) NewGetRuleOptions ¶
func (*SecurityAndComplianceCenterApiV3) NewGetRuleOptions(instanceID string, ruleID string) *GetRuleOptions
NewGetRuleOptions : Instantiate GetRuleOptions
func (*SecurityAndComplianceCenterApiV3) NewGetSettingsOptions ¶
func (*SecurityAndComplianceCenterApiV3) NewGetSettingsOptions(instanceID string) *GetSettingsOptions
NewGetSettingsOptions : Instantiate GetSettingsOptions
func (*SecurityAndComplianceCenterApiV3) NewListAttachmentsAccountOptions ¶
func (*SecurityAndComplianceCenterApiV3) NewListAttachmentsAccountOptions(instanceID string) *ListAttachmentsAccountOptions
NewListAttachmentsAccountOptions : Instantiate ListAttachmentsAccountOptions
func (*SecurityAndComplianceCenterApiV3) NewListAttachmentsOptions ¶
func (*SecurityAndComplianceCenterApiV3) NewListAttachmentsOptions(instanceID string, profileID string) *ListAttachmentsOptions
NewListAttachmentsOptions : Instantiate ListAttachmentsOptions
func (*SecurityAndComplianceCenterApiV3) NewListControlLibrariesOptions ¶
func (*SecurityAndComplianceCenterApiV3) NewListControlLibrariesOptions(instanceID string) *ListControlLibrariesOptions
NewListControlLibrariesOptions : Instantiate ListControlLibrariesOptions
func (*SecurityAndComplianceCenterApiV3) NewListProfilesOptions ¶
func (*SecurityAndComplianceCenterApiV3) NewListProfilesOptions(instanceID string) *ListProfilesOptions
NewListProfilesOptions : Instantiate ListProfilesOptions
func (*SecurityAndComplianceCenterApiV3) NewListProviderTypeInstancesOptions ¶
func (*SecurityAndComplianceCenterApiV3) NewListProviderTypeInstancesOptions(instanceID string, providerTypeID string) *ListProviderTypeInstancesOptions
NewListProviderTypeInstancesOptions : Instantiate ListProviderTypeInstancesOptions
func (*SecurityAndComplianceCenterApiV3) NewListProviderTypesOptions ¶
func (*SecurityAndComplianceCenterApiV3) NewListProviderTypesOptions() *ListProviderTypesOptions
NewListProviderTypesOptions : Instantiate ListProviderTypesOptions
func (*SecurityAndComplianceCenterApiV3) NewListReportEvaluationsOptions ¶
func (*SecurityAndComplianceCenterApiV3) NewListReportEvaluationsOptions(instanceID string, reportID string) *ListReportEvaluationsOptions
NewListReportEvaluationsOptions : Instantiate ListReportEvaluationsOptions
func (*SecurityAndComplianceCenterApiV3) NewListReportResourcesOptions ¶
func (*SecurityAndComplianceCenterApiV3) NewListReportResourcesOptions(instanceID string, reportID string) *ListReportResourcesOptions
NewListReportResourcesOptions : Instantiate ListReportResourcesOptions
func (*SecurityAndComplianceCenterApiV3) NewListReportsOptions ¶
func (*SecurityAndComplianceCenterApiV3) NewListReportsOptions(instanceID string) *ListReportsOptions
NewListReportsOptions : Instantiate ListReportsOptions
func (*SecurityAndComplianceCenterApiV3) NewListRulesOptions ¶
func (*SecurityAndComplianceCenterApiV3) NewListRulesOptions(instanceID string) *ListRulesOptions
NewListRulesOptions : Instantiate ListRulesOptions
func (*SecurityAndComplianceCenterApiV3) NewMultiCloudScope ¶
func (*SecurityAndComplianceCenterApiV3) NewMultiCloudScope(environment string, properties []PropertyItem) (_model *MultiCloudScope, err error)
NewMultiCloudScope : Instantiate MultiCloudScope (Generic Model Constructor)
func (*SecurityAndComplianceCenterApiV3) NewPostTestEventOptions ¶
func (*SecurityAndComplianceCenterApiV3) NewPostTestEventOptions(instanceID string) *PostTestEventOptions
NewPostTestEventOptions : Instantiate PostTestEventOptions
func (*SecurityAndComplianceCenterApiV3) NewProfilesPager ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) NewProfilesPager(options *ListProfilesOptions) (pager *ProfilesPager, err error)
NewProfilesPager returns a new ProfilesPager instance.
func (*SecurityAndComplianceCenterApiV3) NewReplaceCustomControlLibraryOptions ¶
func (*SecurityAndComplianceCenterApiV3) NewReplaceCustomControlLibraryOptions(instanceID string, controlLibrariesID string) *ReplaceCustomControlLibraryOptions
NewReplaceCustomControlLibraryOptions : Instantiate ReplaceCustomControlLibraryOptions
func (*SecurityAndComplianceCenterApiV3) NewReplaceProfileAttachmentOptions ¶
func (*SecurityAndComplianceCenterApiV3) NewReplaceProfileAttachmentOptions(instanceID string, attachmentID string, profileID string) *ReplaceProfileAttachmentOptions
NewReplaceProfileAttachmentOptions : Instantiate ReplaceProfileAttachmentOptions
func (*SecurityAndComplianceCenterApiV3) NewReplaceProfileOptions ¶
func (*SecurityAndComplianceCenterApiV3) NewReplaceProfileOptions(instanceID string, profileID string, profileName string, profileDescription string, profileType string, controls []ProfileControlsPrototype, defaultParameters []DefaultParametersPrototype) *ReplaceProfileOptions
NewReplaceProfileOptions : Instantiate ReplaceProfileOptions
func (*SecurityAndComplianceCenterApiV3) NewReplaceRuleOptions ¶
func (*SecurityAndComplianceCenterApiV3) NewReplaceRuleOptions(instanceID string, ruleID string, ifMatch string, description string, target *Target, requiredConfig RequiredConfigIntf) *ReplaceRuleOptions
NewReplaceRuleOptions : Instantiate ReplaceRuleOptions
func (*SecurityAndComplianceCenterApiV3) NewReportEvaluationsPager ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) NewReportEvaluationsPager(options *ListReportEvaluationsOptions) (pager *ReportEvaluationsPager, err error)
NewReportEvaluationsPager returns a new ReportEvaluationsPager instance.
func (*SecurityAndComplianceCenterApiV3) NewReportResourcesPager ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) NewReportResourcesPager(options *ListReportResourcesOptions) (pager *ReportResourcesPager, err error)
NewReportResourcesPager returns a new ReportResourcesPager instance.
func (*SecurityAndComplianceCenterApiV3) NewReportsPager ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) NewReportsPager(options *ListReportsOptions) (pager *ReportsPager, err error)
NewReportsPager returns a new ReportsPager instance.
func (*SecurityAndComplianceCenterApiV3) NewRequiredConfigItemsRequiredConfigBase ¶
func (*SecurityAndComplianceCenterApiV3) NewRequiredConfigItemsRequiredConfigBase(property string, operator string) (_model *RequiredConfigItemsRequiredConfigBase, err error)
NewRequiredConfigItemsRequiredConfigBase : Instantiate RequiredConfigItemsRequiredConfigBase (Generic Model Constructor)
func (*SecurityAndComplianceCenterApiV3) NewRequiredConfigRequiredConfigBase ¶
func (*SecurityAndComplianceCenterApiV3) NewRequiredConfigRequiredConfigBase(property string, operator string) (_model *RequiredConfigRequiredConfigBase, err error)
NewRequiredConfigRequiredConfigBase : Instantiate RequiredConfigRequiredConfigBase (Generic Model Constructor)
func (*SecurityAndComplianceCenterApiV3) NewTarget ¶
func (*SecurityAndComplianceCenterApiV3) NewTarget(serviceName string, resourceKind string) (_model *Target, err error)
NewTarget : Instantiate Target (Generic Model Constructor)
func (*SecurityAndComplianceCenterApiV3) NewUpdateProviderTypeInstanceOptions ¶
func (*SecurityAndComplianceCenterApiV3) NewUpdateProviderTypeInstanceOptions(instanceID string, providerTypeID string, providerTypeInstanceID string) *UpdateProviderTypeInstanceOptions
NewUpdateProviderTypeInstanceOptions : Instantiate UpdateProviderTypeInstanceOptions
func (*SecurityAndComplianceCenterApiV3) NewUpdateSettingsOptions ¶
func (*SecurityAndComplianceCenterApiV3) NewUpdateSettingsOptions(instanceID string) *UpdateSettingsOptions
NewUpdateSettingsOptions : Instantiate UpdateSettingsOptions
func (*SecurityAndComplianceCenterApiV3) PostTestEvent ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) PostTestEvent(postTestEventOptions *PostTestEventOptions) (result *TestEvent, response *core.DetailedResponse, err error)
PostTestEvent : Create a test event Send a test event to your Event Notifications instance to ensure that the events that are generated by Security and Compliance Center are being forwarded to Event Notifications. For more information, see [Enabling event notifications](/docs/security-compliance?topic=security-compliance-event-notifications#event-notifications-test-api).
func (*SecurityAndComplianceCenterApiV3) PostTestEventWithContext ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) PostTestEventWithContext(ctx context.Context, postTestEventOptions *PostTestEventOptions) (result *TestEvent, response *core.DetailedResponse, err error)
PostTestEventWithContext is an alternate form of the PostTestEvent method which supports a Context parameter
func (*SecurityAndComplianceCenterApiV3) ReplaceCustomControlLibrary ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) ReplaceCustomControlLibrary(replaceCustomControlLibraryOptions *ReplaceCustomControlLibraryOptions) (result *ControlLibrary, response *core.DetailedResponse, err error)
ReplaceCustomControlLibrary : Update a control library Update a custom control library by providing the control library ID. You can find this ID in the Security and Compliance Center UI.
With Security and Compliance Center, you can create and update a custom control library that is specific to your organization's needs. You define the controls and specifications before you map previously created assessments. Each control has several specifications and assessments that are mapped to it. For more information, see [Creating custom libraries](/docs/security-compliance?topic=security-compliance-custom-library).
func (*SecurityAndComplianceCenterApiV3) ReplaceCustomControlLibraryWithContext ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) ReplaceCustomControlLibraryWithContext(ctx context.Context, replaceCustomControlLibraryOptions *ReplaceCustomControlLibraryOptions) (result *ControlLibrary, response *core.DetailedResponse, err error)
ReplaceCustomControlLibraryWithContext is an alternate form of the ReplaceCustomControlLibrary method which supports a Context parameter
func (*SecurityAndComplianceCenterApiV3) ReplaceProfile ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) ReplaceProfile(replaceProfileOptions *ReplaceProfileOptions) (result *Profile, response *core.DetailedResponse, err error)
ReplaceProfile : Update a profile Update the details of a custom profile. With Security and Compliance Center, you can manage a profile that is specific to your usecase, by using an existing library as a starting point. For more information, see [Building custom profiles](https://test.cloud.ibm.com/docs/security-compliance?topic=security-compliance-build-custom-profiles&interface=api).
func (*SecurityAndComplianceCenterApiV3) ReplaceProfileAttachment ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) ReplaceProfileAttachment(replaceProfileAttachmentOptions *ReplaceProfileAttachmentOptions) (result *AttachmentItem, response *core.DetailedResponse, err error)
ReplaceProfileAttachment : Update an attachment Update an attachment that is linked to a profile to evaluate your resources on a recurring schedule, or on-demand. For more information, see [Running an evaluation for IBM Cloud](https://test.cloud.ibm.com/docs/security-compliance?topic=security-compliance-scan-resources).
func (*SecurityAndComplianceCenterApiV3) ReplaceProfileAttachmentWithContext ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) ReplaceProfileAttachmentWithContext(ctx context.Context, replaceProfileAttachmentOptions *ReplaceProfileAttachmentOptions) (result *AttachmentItem, response *core.DetailedResponse, err error)
ReplaceProfileAttachmentWithContext is an alternate form of the ReplaceProfileAttachment method which supports a Context parameter
func (*SecurityAndComplianceCenterApiV3) ReplaceProfileWithContext ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) ReplaceProfileWithContext(ctx context.Context, replaceProfileOptions *ReplaceProfileOptions) (result *Profile, response *core.DetailedResponse, err error)
ReplaceProfileWithContext is an alternate form of the ReplaceProfile method which supports a Context parameter
func (*SecurityAndComplianceCenterApiV3) ReplaceRule ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) ReplaceRule(replaceRuleOptions *ReplaceRuleOptions) (result *Rule, response *core.DetailedResponse, err error)
ReplaceRule : Update a custom rule Update a custom rule that you use to target the exact configuration properties that you need to evaluate your resources for compliance. For more information, see [Defining custom rules](https://test.cloud.ibm.com/docs/security-compliance?topic=security-compliance-rules-define).
func (*SecurityAndComplianceCenterApiV3) ReplaceRuleWithContext ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) ReplaceRuleWithContext(ctx context.Context, replaceRuleOptions *ReplaceRuleOptions) (result *Rule, response *core.DetailedResponse, err error)
ReplaceRuleWithContext is an alternate form of the ReplaceRule method which supports a Context parameter
func (*SecurityAndComplianceCenterApiV3) SetDefaultHeaders ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) SetDefaultHeaders(headers http.Header)
SetDefaultHeaders sets HTTP headers to be sent in every request
func (*SecurityAndComplianceCenterApiV3) SetEnableGzipCompression ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) SetEnableGzipCompression(enableGzip bool)
SetEnableGzipCompression sets the service's EnableGzipCompression field
func (*SecurityAndComplianceCenterApiV3) SetServiceURL ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) SetServiceURL(url string) error
SetServiceURL sets the service URL
func (*SecurityAndComplianceCenterApiV3) UpdateProviderTypeInstance ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) UpdateProviderTypeInstance(updateProviderTypeInstanceOptions *UpdateProviderTypeInstanceOptions) (result *ProviderTypeInstanceItem, response *core.DetailedResponse, err error)
UpdateProviderTypeInstance : Patch a specific instance of a provider type Patch a specific instance of a provider type.
func (*SecurityAndComplianceCenterApiV3) UpdateProviderTypeInstanceWithContext ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) UpdateProviderTypeInstanceWithContext(ctx context.Context, updateProviderTypeInstanceOptions *UpdateProviderTypeInstanceOptions) (result *ProviderTypeInstanceItem, response *core.DetailedResponse, err error)
UpdateProviderTypeInstanceWithContext is an alternate form of the UpdateProviderTypeInstance method which supports a Context parameter
func (*SecurityAndComplianceCenterApiV3) UpdateSettings ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) UpdateSettings(updateSettingsOptions *UpdateSettingsOptions) (result *Settings, response *core.DetailedResponse, err error)
UpdateSettings : Update settings Update the settings of your service instance.
func (*SecurityAndComplianceCenterApiV3) UpdateSettingsWithContext ¶
func (securityAndComplianceCenterApi *SecurityAndComplianceCenterApiV3) UpdateSettingsWithContext(ctx context.Context, updateSettingsOptions *UpdateSettingsOptions) (result *Settings, response *core.DetailedResponse, err error)
UpdateSettingsWithContext is an alternate form of the UpdateSettings method which supports a Context parameter
type SecurityAndComplianceCenterApiV3Options ¶
type SecurityAndComplianceCenterApiV3Options struct { ServiceName string URL string Authenticator core.Authenticator }
SecurityAndComplianceCenterApiV3Options : Service options
type Settings ¶
type Settings struct { // The Event Notifications settings. EventNotifications *EventNotifications `json:"event_notifications,omitempty"` // The Cloud Object Storage settings. ObjectStorage *ObjectStorage `json:"object_storage,omitempty"` }
Settings : The settings.
type Tags ¶
type Tags struct { // The collection of user tags. User []string `json:"user,omitempty"` // The collection of access tags. Access []string `json:"access,omitempty"` // The collection of service tags. Service []string `json:"service,omitempty"` }
Tags : The collection of different types of tags.
type Target ¶
type Target struct { // The target service name. ServiceName *string `json:"service_name" validate:"required"` // The display name of the target service. ServiceDisplayName *string `json:"service_display_name,omitempty"` // The target resource kind. ResourceKind *string `json:"resource_kind" validate:"required"` // The list of targets supported properties. AdditionalTargetAttributes []AdditionalTargetAttribute `json:"additional_target_attributes,omitempty"` }
Target : The rule target.
type TargetInfo ¶
type TargetInfo struct { // The target ID. ID *string `json:"id,omitempty"` // The target account ID. AccountID *string `json:"account_id,omitempty"` // The target resource CRN. ResourceCrn *string `json:"resource_crn,omitempty"` // The target resource name. ResourceName *string `json:"resource_name,omitempty"` // The target service name. ServiceName *string `json:"service_name,omitempty"` }
TargetInfo : The evaluation target.
type TestEvent ¶
type TestEvent struct { // The indication of whether the event was received by Event Notifications. Success *bool `json:"success" validate:"required"` }
TestEvent : The details of a test event response.
type UpdateProviderTypeInstanceOptions ¶
type UpdateProviderTypeInstanceOptions struct { // ID of the instance InstanceID *string `json:"instance_id" validate:"required,ne="` // The provider type ID. ProviderTypeID *string `json:"provider_type_id" validate:"required,ne="` // The provider type instance ID. ProviderTypeInstanceID *string `json:"provider_type_instance_id" validate:"required,ne="` // The provider type instance name. Name *string `json:"name,omitempty"` // The attributes for connecting to the provider type instance. Attributes map[string]interface{} `json:"attributes,omitempty"` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is used for downstream requests and retries of those requests. If a value of // this headers is not supplied in a request, the service generates a random (version 4) UUID. XCorrelationID *string `json:"X-Correlation-ID,omitempty"` // The supplied or generated value of this header is logged for a request and repeated in a response header for the // corresponding response. The same value is not used for downstream requests and retries of those requests. If a // value of this headers is not supplied in a request, the service generates a random (version 4) UUID. XRequestID *string `json:"X-Request-ID,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
UpdateProviderTypeInstanceOptions : The UpdateProviderTypeInstance options.
func (*UpdateProviderTypeInstanceOptions) SetAttributes ¶
func (_options *UpdateProviderTypeInstanceOptions) SetAttributes(attributes map[string]interface{}) *UpdateProviderTypeInstanceOptions
SetAttributes : Allow user to set Attributes
func (*UpdateProviderTypeInstanceOptions) SetHeaders ¶
func (options *UpdateProviderTypeInstanceOptions) SetHeaders(param map[string]string) *UpdateProviderTypeInstanceOptions
SetHeaders : Allow user to set Headers
func (*UpdateProviderTypeInstanceOptions) SetInstanceID ¶ added in v5.1.2
func (_options *UpdateProviderTypeInstanceOptions) SetInstanceID(instanceID string) *UpdateProviderTypeInstanceOptions
SetInstanceID : Allow user to set InstanceID
func (*UpdateProviderTypeInstanceOptions) SetName ¶
func (_options *UpdateProviderTypeInstanceOptions) SetName(name string) *UpdateProviderTypeInstanceOptions
SetName : Allow user to set Name
func (*UpdateProviderTypeInstanceOptions) SetProviderTypeID ¶
func (_options *UpdateProviderTypeInstanceOptions) SetProviderTypeID(providerTypeID string) *UpdateProviderTypeInstanceOptions
SetProviderTypeID : Allow user to set ProviderTypeID
func (*UpdateProviderTypeInstanceOptions) SetProviderTypeInstanceID ¶
func (_options *UpdateProviderTypeInstanceOptions) SetProviderTypeInstanceID(providerTypeInstanceID string) *UpdateProviderTypeInstanceOptions
SetProviderTypeInstanceID : Allow user to set ProviderTypeInstanceID
func (*UpdateProviderTypeInstanceOptions) SetXCorrelationID ¶
func (_options *UpdateProviderTypeInstanceOptions) SetXCorrelationID(xCorrelationID string) *UpdateProviderTypeInstanceOptions
SetXCorrelationID : Allow user to set XCorrelationID
func (*UpdateProviderTypeInstanceOptions) SetXRequestID ¶
func (_options *UpdateProviderTypeInstanceOptions) SetXRequestID(xRequestID string) *UpdateProviderTypeInstanceOptions
SetXRequestID : Allow user to set XRequestID
type UpdateSettingsOptions ¶
type UpdateSettingsOptions struct { // ID of the instance InstanceID *string `json:"instance_id" validate:"required,ne="` // The Event Notifications settings. EventNotifications *EventNotifications `json:"event_notifications,omitempty"` // The Cloud Object Storage settings. ObjectStorage *ObjectStorage `json:"object_storage,omitempty"` // The supplied or generated value of this header is logged for a request, and repeated in a response header for the // corresponding response. The same value is used for downstream requests and retries of those requests. If a value of // this header is not supplied in a request, the service generates a random (version 4) UUID. XCorrelationID *string `json:"X-Correlation-Id,omitempty"` // The supplied or generated value of this header is logged for a request, and repeated in a response header for the // corresponding response. The same value is not used for downstream requests and retries of those requests. If a // value of this header is not supplied in a request, the service generates a random (version 4) UUID. XRequestID *string `json:"X-Request-Id,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
UpdateSettingsOptions : The UpdateSettings options.
func (*UpdateSettingsOptions) SetEventNotifications ¶
func (_options *UpdateSettingsOptions) SetEventNotifications(eventNotifications *EventNotifications) *UpdateSettingsOptions
SetEventNotifications : Allow user to set EventNotifications
func (*UpdateSettingsOptions) SetHeaders ¶
func (options *UpdateSettingsOptions) SetHeaders(param map[string]string) *UpdateSettingsOptions
SetHeaders : Allow user to set Headers
func (*UpdateSettingsOptions) SetInstanceID ¶ added in v5.1.1
func (_options *UpdateSettingsOptions) SetInstanceID(instanceID string) *UpdateSettingsOptions
SetInstanceID : Allow user to set InstanceID
func (*UpdateSettingsOptions) SetObjectStorage ¶
func (_options *UpdateSettingsOptions) SetObjectStorage(objectStorage *ObjectStorage) *UpdateSettingsOptions
SetObjectStorage : Allow user to set ObjectStorage
func (*UpdateSettingsOptions) SetXCorrelationID ¶
func (_options *UpdateSettingsOptions) SetXCorrelationID(xCorrelationID string) *UpdateSettingsOptions
SetXCorrelationID : Allow user to set XCorrelationID
func (*UpdateSettingsOptions) SetXRequestID ¶
func (_options *UpdateSettingsOptions) SetXRequestID(xRequestID string) *UpdateSettingsOptions
SetXRequestID : Allow user to set XRequestID