Documentation ¶
Index ¶
- type AccessPreview
- type AccessPreviewId
- type AccessPreviewStatus
- type AccessPreviewStatusEnum
- type AccessPreviewSummary
- type AnalyzerId
- type AnalyzerName
- type AnalyzerSummary
- type AnalyzerSummaryStatus
- type AnalyzerSummaryStatusEnum
- type AnalyzerType
- type AnalyzerTypeEnum
- type ApplyArchiveRuleRequest
- type ApplyArchiveRuleResponse
- type ArchiveRuleId
- type ArchiveRuleName
- type ArchiveRuleSummary
- type Configuration
- type CreateAccessPreviewReqBody
- type CreateAccessPreviewRequest
- type CreateAccessPreviewResponse
- type CreateAnalyzerReqBody
- type CreateAnalyzerRequest
- type CreateAnalyzerResponse
- type CreateArchiveRuleReqBody
- type CreateArchiveRuleRequest
- type CreateArchiveRuleResponse
- type Criterion
- type CurrentCount
- type DeleteAnalyzerRequest
- type DeleteAnalyzerResponse
- type DeleteArchiveRuleRequest
- type DeleteArchiveRuleResponse
- type Finding
- type FindingCondition
- type FindingFilter
- type FindingFilterKey
- type FindingFilterKeyEnum
- type FindingId
- type FindingPrincipal
- type FindingPrincipalType
- type FindingPrincipalTypeEnum
- type FindingSourceType
- type FindingSourceTypeEnum
- type FindingStatus
- type FindingStatusEnum
- type GetAccessPreviewRequest
- type GetAccessPreviewResponse
- type IamAgency
- type Limit
- type ListAccessPreviewsRequest
- type ListAccessPreviewsResponse
- type ListAnalyzersRequest
- type ListAnalyzersResponse
- type ListArchiveRulesRequest
- type ListArchiveRulesResponse
- type ListFindingsReqBody
- type ListFindingsRequest
- type ListFindingsResponse
- type ListPreviewFindingsReqBody
- type ListPreviewFindingsRequest
- type ListPreviewFindingsResponse
- type Location
- type Marker
- type NextMarker
- type ObsBucket
- type PageInfo
- type PathElement
- type PolicyDocument
- type PolicyType
- type PolicyTypeEnum
- type Position
- type PreviewFinding
- type PreviewFindingChangeType
- type PreviewFindingChangeTypeEnum
- type PreviewFindingExistingFindingStatus
- type PreviewFindingExistingFindingStatusEnum
- type PreviewFindingStatus
- type PreviewFindingStatusEnum
- type PreviewStatusReason
- type PreviewStatusReasonCode
- type PreviewStatusReasonCodeEnum
- type ResourceOwnerAccount
- type ResourceType
- type ResourceTypeEnum
- type ShowAnalyzerRequest
- type ShowAnalyzerResponse
- type ShowArchiveRuleRequest
- type ShowArchiveRuleResponse
- type ShowFindingRequest
- type ShowFindingResponse
- type Span
- type StartResourceScanReqBody
- type StartResourceScanRequest
- type StartResourceScanResponse
- type StatusReason
- type StatusReasonCode
- type StatusReasonCodeEnum
- type Substring
- type Tag
- type TagKey
- type TagResourceReqBody
- type TagResourceRequest
- type TagResourceRequestResourceType
- type TagResourceRequestResourceTypeEnum
- type TagResourceResponse
- type TagValue
- type UntagResourceReqBody
- type UntagResourceRequest
- type UntagResourceRequestResourceType
- type UntagResourceRequestResourceTypeEnum
- type UntagResourceResponse
- type UpdateArchiveRuleReqBody
- type UpdateArchiveRuleRequest
- type UpdateArchiveRuleResponse
- type UpdateFindingsReqBody
- type UpdateFindingsReqBodyStatus
- type UpdateFindingsReqBodyStatusEnum
- type UpdateFindingsRequest
- type UpdateFindingsResponse
- type Urn
- type ValidatePolicyFinding
- type ValidatePolicyFindingFindingType
- type ValidatePolicyFindingFindingTypeEnum
- type ValidatePolicyReqBody
- type ValidatePolicyRequest
- type ValidatePolicyRequestXLanguage
- type ValidatePolicyRequestXLanguageEnum
- type ValidatePolicyResourceType
- type ValidatePolicyResourceTypeEnum
- type ValidatePolicyResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessPreview ¶
type AccessPreview struct { // 分析预览的唯一标识符。 AccessPreviewId string `json:"access_preview_id"` // 分析器的唯一标识符。 AnalyzerId string `json:"analyzer_id"` Configurations *Configuration `json:"configurations"` CreatedAt *sdktime.SdkTime `json:"created_at"` Status *AccessPreviewStatus `json:"status"` StatusReason *PreviewStatusReason `json:"status_reason,omitempty"` }
func (AccessPreview) String ¶
func (o AccessPreview) String() string
type AccessPreviewId ¶
type AccessPreviewId struct { }
AccessPreviewId 分析预览的唯一标识符。
func (AccessPreviewId) String ¶
func (o AccessPreviewId) String() string
type AccessPreviewStatus ¶
type AccessPreviewStatus struct {
// contains filtered or unexported fields
}
AccessPreviewStatus 分析预览的状态
func (AccessPreviewStatus) MarshalJSON ¶
func (c AccessPreviewStatus) MarshalJSON() ([]byte, error)
func (*AccessPreviewStatus) UnmarshalJSON ¶
func (c *AccessPreviewStatus) UnmarshalJSON(b []byte) error
func (AccessPreviewStatus) Value ¶
func (c AccessPreviewStatus) Value() string
type AccessPreviewStatusEnum ¶
type AccessPreviewStatusEnum struct { CREATING AccessPreviewStatus COMPLETED AccessPreviewStatus FAILED AccessPreviewStatus }
func GetAccessPreviewStatusEnum ¶
func GetAccessPreviewStatusEnum() AccessPreviewStatusEnum
type AccessPreviewSummary ¶
type AccessPreviewSummary struct { // 分析预览的唯一标识符。 AccessPreviewId string `json:"access_preview_id"` // 分析器的唯一标识符。 AnalyzerId string `json:"analyzer_id"` CreatedAt *sdktime.SdkTime `json:"created_at"` Status *AccessPreviewStatus `json:"status"` StatusReason *PreviewStatusReason `json:"status_reason,omitempty"` }
func (AccessPreviewSummary) String ¶
func (o AccessPreviewSummary) String() string
type AnalyzerId ¶
type AnalyzerId struct { }
AnalyzerId 分析器的唯一标识符。
func (AnalyzerId) String ¶
func (o AnalyzerId) String() string
type AnalyzerName ¶
type AnalyzerName struct { }
AnalyzerName 分析器的名称。
func (AnalyzerName) String ¶
func (o AnalyzerName) String() string
type AnalyzerSummary ¶
type AnalyzerSummary struct { // 分析器创建的时间。 CreatedAt *sdktime.SdkTime `json:"created_at"` // 分析器的唯一标识符。 Id string `json:"id"` // 唯一的资源名称。 LastAnalyzedResource *string `json:"last_analyzed_resource,omitempty"` // 分析最近分析的资源的时间。 LastResourceAnalyzedAt *sdktime.SdkTime `json:"last_resource_analyzed_at,omitempty"` // 分析器的名称。 Name string `json:"name"` // 分析器的状态 Status AnalyzerSummaryStatus `json:"status"` StatusReason *StatusReason `json:"status_reason,omitempty"` Tags *[]Tag `json:"tags,omitempty"` Type *AnalyzerType `json:"type"` // 唯一的资源名称。 Urn string `json:"urn"` }
AnalyzerSummary 包含有关分析器的信息。
func (AnalyzerSummary) String ¶
func (o AnalyzerSummary) String() string
type AnalyzerSummaryStatus ¶
type AnalyzerSummaryStatus struct {
// contains filtered or unexported fields
}
func (AnalyzerSummaryStatus) MarshalJSON ¶
func (c AnalyzerSummaryStatus) MarshalJSON() ([]byte, error)
func (*AnalyzerSummaryStatus) UnmarshalJSON ¶
func (c *AnalyzerSummaryStatus) UnmarshalJSON(b []byte) error
func (AnalyzerSummaryStatus) Value ¶
func (c AnalyzerSummaryStatus) Value() string
type AnalyzerSummaryStatusEnum ¶
type AnalyzerSummaryStatusEnum struct { ACTIVE AnalyzerSummaryStatus CREATING AnalyzerSummaryStatus FAILED AnalyzerSummaryStatus }
func GetAnalyzerSummaryStatusEnum ¶
func GetAnalyzerSummaryStatusEnum() AnalyzerSummaryStatusEnum
type AnalyzerType ¶
type AnalyzerType struct {
// contains filtered or unexported fields
}
AnalyzerType 分析器的类型。
func (AnalyzerType) MarshalJSON ¶
func (c AnalyzerType) MarshalJSON() ([]byte, error)
func (*AnalyzerType) UnmarshalJSON ¶
func (c *AnalyzerType) UnmarshalJSON(b []byte) error
func (AnalyzerType) Value ¶
func (c AnalyzerType) Value() string
type AnalyzerTypeEnum ¶
type AnalyzerTypeEnum struct {
ACCOUNT AnalyzerType
}
func GetAnalyzerTypeEnum ¶
func GetAnalyzerTypeEnum() AnalyzerTypeEnum
type ApplyArchiveRuleRequest ¶
type ApplyArchiveRuleRequest struct { // 分析器的唯一标识符。 AnalyzerId string `json:"analyzer_id"` // 存档规则的唯一标识符。 ArchiveRuleId string `json:"archive_rule_id"` }
ApplyArchiveRuleRequest Request Object
func (ApplyArchiveRuleRequest) String ¶
func (o ApplyArchiveRuleRequest) String() string
type ApplyArchiveRuleResponse ¶
type ApplyArchiveRuleResponse struct {
HttpStatusCode int `json:"-"`
}
ApplyArchiveRuleResponse Response Object
func (ApplyArchiveRuleResponse) String ¶
func (o ApplyArchiveRuleResponse) String() string
type ArchiveRuleId ¶
type ArchiveRuleId struct { }
ArchiveRuleId 存档规则的唯一标识符。
func (ArchiveRuleId) String ¶
func (o ArchiveRuleId) String() string
type ArchiveRuleName ¶
type ArchiveRuleName struct { }
ArchiveRuleName 创建归档规则的名称。
func (ArchiveRuleName) String ¶
func (o ArchiveRuleName) String() string
type ArchiveRuleSummary ¶
type ArchiveRuleSummary struct { // 创建归档规则的时间。 CreatedAt *sdktime.SdkTime `json:"created_at"` Filters []FindingFilter `json:"filters"` // 存档规则的唯一标识符。 Id string `json:"id"` // 创建归档规则的名称。 Name string `json:"name"` // 上次更新存档规则的时间。 UpdatedAt *sdktime.SdkTime `json:"updated_at"` // 唯一的资源名称。 Urn string `json:"urn"` }
ArchiveRuleSummary 为指定分析器创建的存档规则的列表。
func (ArchiveRuleSummary) String ¶
func (o ArchiveRuleSummary) String() string
type Configuration ¶
type Configuration struct { IamAgency *IamAgency `json:"iam_agency,omitempty"` ObsBucket *ObsBucket `json:"obs_bucket,omitempty"` }
func (Configuration) String ¶
func (o Configuration) String() string
type CreateAccessPreviewReqBody ¶
type CreateAccessPreviewReqBody struct { Configurations *Configuration `json:"configurations"` // 唯一的资源名称。 ResourceUrn string `json:"resource_urn"` }
func (CreateAccessPreviewReqBody) String ¶
func (o CreateAccessPreviewReqBody) String() string
type CreateAccessPreviewRequest ¶
type CreateAccessPreviewRequest struct { // 分析器的唯一标识符。 AnalyzerId string `json:"analyzer_id"` Body *CreateAccessPreviewReqBody `json:"body,omitempty"` }
CreateAccessPreviewRequest Request Object
func (CreateAccessPreviewRequest) String ¶
func (o CreateAccessPreviewRequest) String() string
type CreateAccessPreviewResponse ¶
type CreateAccessPreviewResponse struct { // 分析预览的唯一标识符。 AccessPreviewId *string `json:"access_preview_id,omitempty"` HttpStatusCode int `json:"-"` }
CreateAccessPreviewResponse Response Object
func (CreateAccessPreviewResponse) String ¶
func (o CreateAccessPreviewResponse) String() string
type CreateAnalyzerReqBody ¶
type CreateAnalyzerReqBody struct { // 分析器的名称。 Name string `json:"name"` Tags *[]Tag `json:"tags,omitempty"` Type *AnalyzerType `json:"type"` }
func (CreateAnalyzerReqBody) String ¶
func (o CreateAnalyzerReqBody) String() string
type CreateAnalyzerRequest ¶
type CreateAnalyzerRequest struct {
Body *CreateAnalyzerReqBody `json:"body,omitempty"`
}
CreateAnalyzerRequest Request Object
func (CreateAnalyzerRequest) String ¶
func (o CreateAnalyzerRequest) String() string
type CreateAnalyzerResponse ¶
type CreateAnalyzerResponse struct { // 分析器的唯一标识符。 Id *string `json:"id,omitempty"` // 唯一的资源名称。 Urn *string `json:"urn,omitempty"` HttpStatusCode int `json:"-"` }
CreateAnalyzerResponse Response Object
func (CreateAnalyzerResponse) String ¶
func (o CreateAnalyzerResponse) String() string
type CreateArchiveRuleReqBody ¶
type CreateArchiveRuleReqBody struct { Filters []FindingFilter `json:"filters"` // 创建归档规则的名称。 Name string `json:"name"` }
func (CreateArchiveRuleReqBody) String ¶
func (o CreateArchiveRuleReqBody) String() string
type CreateArchiveRuleRequest ¶
type CreateArchiveRuleRequest struct { // 分析器的唯一标识符。 AnalyzerId string `json:"analyzer_id"` Body *CreateArchiveRuleReqBody `json:"body,omitempty"` }
CreateArchiveRuleRequest Request Object
func (CreateArchiveRuleRequest) String ¶
func (o CreateArchiveRuleRequest) String() string
type CreateArchiveRuleResponse ¶
type CreateArchiveRuleResponse struct { // 存档规则的唯一标识符。 Id *string `json:"id,omitempty"` // 唯一的资源名称。 Urn *string `json:"urn,omitempty"` HttpStatusCode int `json:"-"` }
CreateArchiveRuleResponse Response Object
func (CreateArchiveRuleResponse) String ¶
func (o CreateArchiveRuleResponse) String() string
type Criterion ¶
type Criterion struct { // 要匹配筛选器的“包含”运算符。 Contains *[]string `json:"contains,omitempty"` // 要匹配筛选器的“等于”运算符。 Eq *[]string `json:"eq,omitempty"` // 要匹配筛选器的“存在”运算符。 Exists *bool `json:"exists,omitempty"` // 要匹配筛选器的“不等于”运算符。 Neq *[]string `json:"neq,omitempty"` }
Criterion 要在查找筛选器中使用的条件。最多只能有一个运算符。
type CurrentCount ¶
type CurrentCount struct { }
CurrentCount 当前页中的项数。
func (CurrentCount) String ¶
func (o CurrentCount) String() string
type DeleteAnalyzerRequest ¶
type DeleteAnalyzerRequest struct { // 分析器的唯一标识符。 AnalyzerId string `json:"analyzer_id"` }
DeleteAnalyzerRequest Request Object
func (DeleteAnalyzerRequest) String ¶
func (o DeleteAnalyzerRequest) String() string
type DeleteAnalyzerResponse ¶
type DeleteAnalyzerResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteAnalyzerResponse Response Object
func (DeleteAnalyzerResponse) String ¶
func (o DeleteAnalyzerResponse) String() string
type DeleteArchiveRuleRequest ¶
type DeleteArchiveRuleRequest struct { // 分析器的唯一标识符。 AnalyzerId string `json:"analyzer_id"` // 存档规则的唯一标识符。 ArchiveRuleId string `json:"archive_rule_id"` }
DeleteArchiveRuleRequest Request Object
func (DeleteArchiveRuleRequest) String ¶
func (o DeleteArchiveRuleRequest) String() string
type DeleteArchiveRuleResponse ¶
type DeleteArchiveRuleResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteArchiveRuleResponse Response Object
func (DeleteArchiveRuleResponse) String ¶
func (o DeleteArchiveRuleResponse) String() string
type Finding ¶
type Finding struct { // 访问信任区域内资源的外部主体。 Action []string `json:"action"` // 分析资源的时间。 AnalyzedAt *sdktime.SdkTime `json:"analyzed_at"` Condition []FindingCondition `json:"condition"` // 生成查找结果的时间。 CreatedAt *sdktime.SdkTime `json:"created_at"` // 要检索的结果的ID。 Id string `json:"id"` // 表示生成查找结果的策略是否允许公共访问资源。 IsPublic bool `json:"is_public"` Principal *FindingPrincipal `json:"principal"` // 唯一的资源名称。 Resource string `json:"resource"` // 资源的唯一标识符。 ResourceId *string `json:"resource_id,omitempty"` // 拥有资源的帐户ID。 ResourceOwnerAccount string `json:"resource_owner_account"` ResourceType *ResourceType `json:"resource_type"` Sources *[]FindingSourceType `json:"sources,omitempty"` // 结果的当前状态。 Status FindingStatus `json:"status"` // 更新调查结果的时间。 UpdatedAt *sdktime.SdkTime `json:"updated_at"` }
Finding 包含有关查找结果的信息。
type FindingCondition ¶
type FindingCondition struct { // 标签\"键\"的标识符或名称。 Key string `json:"key"` // 标签\"键\"对应的\"值\"。 Value string `json:"value"` }
FindingCondition 分析的策略语句中导致查找结果的条件。
func (FindingCondition) String ¶
func (o FindingCondition) String() string
type FindingFilter ¶
type FindingFilter struct { Criterion *Criterion `json:"criterion"` // 过滤键。 Key FindingFilterKey `json:"key"` }
FindingFilter 匹配要返回的调查结果的筛选器。
func (FindingFilter) String ¶
func (o FindingFilter) String() string
type FindingFilterKey ¶
type FindingFilterKey struct {
// contains filtered or unexported fields
}
func (FindingFilterKey) MarshalJSON ¶
func (c FindingFilterKey) MarshalJSON() ([]byte, error)
func (*FindingFilterKey) UnmarshalJSON ¶
func (c *FindingFilterKey) UnmarshalJSON(b []byte) error
func (FindingFilterKey) Value ¶
func (c FindingFilterKey) Value() string
type FindingFilterKeyEnum ¶
type FindingFilterKeyEnum struct { RESOURCE FindingFilterKey RESOURCE_TYPE FindingFilterKey RESOURCE_OWNER_ACCOUNT FindingFilterKey IS_PUBLIC FindingFilterKey ID FindingFilterKey STATUS FindingFilterKey PRINCIPAL_TYPE FindingFilterKey PRINCIPAL_IDENTIFIER FindingFilterKey CHANGE_TYPE FindingFilterKey EXISTING_FINDING_ID FindingFilterKey EXISTING_FINDING_STATUS FindingFilterKey CONDITION_GPRINCIPAL_URN FindingFilterKey CONDITION_GPRINCIPAL_ID FindingFilterKey CONDITION_GPRINCIPAL_ACCOUNT FindingFilterKey CONDITION_GPRINCIPAL_ORG_ID FindingFilterKey CONDITION_GPRINCIPAL_ORG_PATH FindingFilterKey CONDITION_GPRINCIPAL_ORG_MANAGEMENT_ACCOUNT_ID FindingFilterKey CONDITION_GSOURCE_IP FindingFilterKey CONDITION_GSOURCE_VPC FindingFilterKey }
func GetFindingFilterKeyEnum ¶
func GetFindingFilterKeyEnum() FindingFilterKeyEnum
type FindingPrincipal ¶
type FindingPrincipal struct { // 检索结果的身份的类型。 Identifier string `json:"identifier"` // 检索结果的标识符。 Type FindingPrincipalType `json:"type"` }
FindingPrincipal 访问信任区域内资源的外部主体。
func (FindingPrincipal) String ¶
func (o FindingPrincipal) String() string
type FindingPrincipalType ¶
type FindingPrincipalType struct {
// contains filtered or unexported fields
}
func (FindingPrincipalType) MarshalJSON ¶
func (c FindingPrincipalType) MarshalJSON() ([]byte, error)
func (*FindingPrincipalType) UnmarshalJSON ¶
func (c *FindingPrincipalType) UnmarshalJSON(b []byte) error
func (FindingPrincipalType) Value ¶
func (c FindingPrincipalType) Value() string
type FindingPrincipalTypeEnum ¶
type FindingPrincipalTypeEnum struct { ALL_PRINCIPAL FindingPrincipalType ACCOUNT FindingPrincipalType ALL_USER_IN_ACCOUNT FindingPrincipalType ALL_AGENCY_IN_ACCOUNT FindingPrincipalType ALL_IDENTITY_PROVIDER_IN_ACCOUNT FindingPrincipalType SPECIFIC_USER FindingPrincipalType SPECIFIC_AGENCY FindingPrincipalType SPECIFIC_GROUP FindingPrincipalType SPECIFIC_IDENTITY_PROVIDER FindingPrincipalType }
func GetFindingPrincipalTypeEnum ¶
func GetFindingPrincipalTypeEnum() FindingPrincipalTypeEnum
type FindingSourceType ¶
type FindingSourceType struct {
// contains filtered or unexported fields
}
FindingSourceType 发现的来源。这指示如何授予生成查找结果的访问权限。OBS桶查找结果会填充它。
func (FindingSourceType) MarshalJSON ¶
func (c FindingSourceType) MarshalJSON() ([]byte, error)
func (*FindingSourceType) UnmarshalJSON ¶
func (c *FindingSourceType) UnmarshalJSON(b []byte) error
func (FindingSourceType) Value ¶
func (c FindingSourceType) Value() string
type FindingSourceTypeEnum ¶
type FindingSourceTypeEnum struct { BUCKET_ACL FindingSourceType BUCKET_POLICY FindingSourceType }
func GetFindingSourceTypeEnum ¶
func GetFindingSourceTypeEnum() FindingSourceTypeEnum
type FindingStatus ¶
type FindingStatus struct {
// contains filtered or unexported fields
}
func (FindingStatus) MarshalJSON ¶
func (c FindingStatus) MarshalJSON() ([]byte, error)
func (*FindingStatus) UnmarshalJSON ¶
func (c *FindingStatus) UnmarshalJSON(b []byte) error
func (FindingStatus) Value ¶
func (c FindingStatus) Value() string
type FindingStatusEnum ¶
type FindingStatusEnum struct { ACTIVE FindingStatus ARCHIVED FindingStatus RESOLVED FindingStatus }
func GetFindingStatusEnum ¶
func GetFindingStatusEnum() FindingStatusEnum
type GetAccessPreviewRequest ¶
type GetAccessPreviewRequest struct { // 分析器的唯一标识符。 AnalyzerId string `json:"analyzer_id"` // 分析预览的唯一标识符。 AccessPreviewId string `json:"access_preview_id"` }
GetAccessPreviewRequest Request Object
func (GetAccessPreviewRequest) String ¶
func (o GetAccessPreviewRequest) String() string
type GetAccessPreviewResponse ¶
type GetAccessPreviewResponse struct { AccessPreview *AccessPreview `json:"access_preview,omitempty"` HttpStatusCode int `json:"-"` }
GetAccessPreviewResponse Response Object
func (GetAccessPreviewResponse) String ¶
func (o GetAccessPreviewResponse) String() string
type IamAgency ¶
type IamAgency struct { // 此策略的json格式策略文档。 TrustPolicy string `json:"trust_policy"` }
type ListAccessPreviewsRequest ¶
type ListAccessPreviewsRequest struct { // 分析器的唯一标识符。 AnalyzerId string `json:"analyzer_id"` // 单页最大结果数。 Limit *int32 `json:"limit,omitempty"` // 页面标记。 Marker *string `json:"marker,omitempty"` }
ListAccessPreviewsRequest Request Object
func (ListAccessPreviewsRequest) String ¶
func (o ListAccessPreviewsRequest) String() string
type ListAccessPreviewsResponse ¶
type ListAccessPreviewsResponse struct { AccessPreviews *[]AccessPreviewSummary `json:"access_previews,omitempty"` PageInfo *PageInfo `json:"page_info,omitempty"` HttpStatusCode int `json:"-"` }
ListAccessPreviewsResponse Response Object
func (ListAccessPreviewsResponse) String ¶
func (o ListAccessPreviewsResponse) String() string
type ListAnalyzersRequest ¶
type ListAnalyzersRequest struct { // 单页最大结果数。 Limit *int32 `json:"limit,omitempty"` // 页面标记。 Marker *string `json:"marker,omitempty"` // 分析器的类型。 Type *AnalyzerType `json:"type,omitempty"` }
ListAnalyzersRequest Request Object
func (ListAnalyzersRequest) String ¶
func (o ListAnalyzersRequest) String() string
type ListAnalyzersResponse ¶
type ListAnalyzersResponse struct { Analyzers *[]AnalyzerSummary `json:"analyzers,omitempty"` PageInfo *PageInfo `json:"page_info,omitempty"` HttpStatusCode int `json:"-"` }
ListAnalyzersResponse Response Object
func (ListAnalyzersResponse) String ¶
func (o ListAnalyzersResponse) String() string
type ListArchiveRulesRequest ¶
type ListArchiveRulesRequest struct { // 分析器的唯一标识符。 AnalyzerId string `json:"analyzer_id"` // 单页最大结果数。 Limit *int32 `json:"limit,omitempty"` // 页面标记。 Marker *string `json:"marker,omitempty"` }
ListArchiveRulesRequest Request Object
func (ListArchiveRulesRequest) String ¶
func (o ListArchiveRulesRequest) String() string
type ListArchiveRulesResponse ¶
type ListArchiveRulesResponse struct { ArchiveRules *[]ArchiveRuleSummary `json:"archive_rules,omitempty"` PageInfo *PageInfo `json:"page_info,omitempty"` HttpStatusCode int `json:"-"` }
ListArchiveRulesResponse Response Object
func (ListArchiveRulesResponse) String ¶
func (o ListArchiveRulesResponse) String() string
type ListFindingsReqBody ¶
type ListFindingsReqBody struct { Filters *[]FindingFilter `json:"filters,omitempty"` // 单页最大结果数。 Limit *int32 `json:"limit,omitempty"` // 页面标记。 Marker *string `json:"marker,omitempty"` }
func (ListFindingsReqBody) String ¶
func (o ListFindingsReqBody) String() string
type ListFindingsRequest ¶
type ListFindingsRequest struct { // 分析器的唯一标识符。 AnalyzerId string `json:"analyzer_id"` Body *ListFindingsReqBody `json:"body,omitempty"` }
ListFindingsRequest Request Object
func (ListFindingsRequest) String ¶
func (o ListFindingsRequest) String() string
type ListFindingsResponse ¶
type ListFindingsResponse struct { Findings *[]Finding `json:"findings,omitempty"` PageInfo *PageInfo `json:"page_info,omitempty"` HttpStatusCode int `json:"-"` }
ListFindingsResponse Response Object
func (ListFindingsResponse) String ¶
func (o ListFindingsResponse) String() string
type ListPreviewFindingsReqBody ¶
type ListPreviewFindingsReqBody struct { Filters *[]FindingFilter `json:"filters,omitempty"` // 单页最大结果数。 Limit *int32 `json:"limit,omitempty"` // 页面标记。 Marker *string `json:"marker,omitempty"` }
func (ListPreviewFindingsReqBody) String ¶
func (o ListPreviewFindingsReqBody) String() string
type ListPreviewFindingsRequest ¶
type ListPreviewFindingsRequest struct { // 分析器的唯一标识符。 AnalyzerId string `json:"analyzer_id"` // 分析预览的唯一标识符。 AccessPreviewId string `json:"access_preview_id"` Body *ListPreviewFindingsReqBody `json:"body,omitempty"` }
ListPreviewFindingsRequest Request Object
func (ListPreviewFindingsRequest) String ¶
func (o ListPreviewFindingsRequest) String() string
type ListPreviewFindingsResponse ¶
type ListPreviewFindingsResponse struct { Findings *[]PreviewFinding `json:"findings,omitempty"` PageInfo *PageInfo `json:"page_info,omitempty"` HttpStatusCode int `json:"-"` }
ListPreviewFindingsResponse Response Object
func (ListPreviewFindingsResponse) String ¶
func (o ListPreviewFindingsResponse) String() string
type Location ¶
type Location struct { // 策略中的路径,表示为路径元素的有序序列。 Path []PathElement `json:"path"` Span *Span `json:"span"` }
Location 策略中的位置,形式分别为json表示的路径和相应的行列范围。
type NextMarker ¶
type NextMarker struct { }
NextMarker 如果存在更多可用的输出,那么该值表示可用输出比当前响应中包含的更多。在后续调用此操作时,您可以在标记请求参数中使用此值,以获取输出的下一部分。您应该重复这个过程,直到next_marker返回为null。
func (NextMarker) String ¶
func (o NextMarker) String() string
type ObsBucket ¶
type PageInfo ¶
type PageInfo struct { // 当前页中的项数。 CurrentCount int32 `json:"current_count"` // 如果存在更多可用的输出,那么该值表示可用输出比当前响应中包含的更多。在后续调用此操作时,您可以在标记请求参数中使用此值,以获取输出的下一部分。您应该重复这个过程,直到next_marker返回为null。 NextMarker *string `json:"next_marker,omitempty"` }
PageInfo 页面的信息。
type PathElement ¶
type PathElement struct { // 数组中的索引,从0开始。 Index *int32 `json:"index,omitempty"` // 对象中的键。 Key *string `json:"key,omitempty"` Substring *Substring `json:"substring,omitempty"` // 与对象中给定键关联的值。 Value *string `json:"value,omitempty"` }
PathElement 策略的json表示的路径的单个元素。
func (PathElement) String ¶
func (o PathElement) String() string
type PolicyDocument ¶
type PolicyDocument struct { }
PolicyDocument 此策略的json格式策略文档。
func (PolicyDocument) String ¶
func (o PolicyDocument) String() string
type PolicyType ¶
type PolicyType struct {
// contains filtered or unexported fields
}
PolicyType 要校验的策略类型。
func (PolicyType) MarshalJSON ¶
func (c PolicyType) MarshalJSON() ([]byte, error)
func (*PolicyType) UnmarshalJSON ¶
func (c *PolicyType) UnmarshalJSON(b []byte) error
func (PolicyType) Value ¶
func (c PolicyType) Value() string
type PolicyTypeEnum ¶
type PolicyTypeEnum struct { IDENTITY_POLICY PolicyType RESOURCE_POLICY PolicyType SERVICE_CONTROL_POLICY PolicyType }
func GetPolicyTypeEnum ¶
func GetPolicyTypeEnum() PolicyTypeEnum
type Position ¶
type Position struct { // 位置的行号,从1开始。 Line int32 `json:"line"` // 位置的列号,从0开开始。 Column int32 `json:"column"` // 策略中与位置对应的偏移量,从0开始。 Offset int32 `json:"offset"` }
Position 策略中的位置。
type PreviewFinding ¶
type PreviewFinding struct { // 访问信任区域内资源的外部主体。 Action []string `json:"action"` // 结果状态的变化 ChangeType PreviewFindingChangeType `json:"change_type"` Condition []FindingCondition `json:"condition"` // 生成查找结果的时间。 CreatedAt *sdktime.SdkTime `json:"created_at"` // 要检索的结果的ID。 ExistingFindingId *string `json:"existing_finding_id,omitempty"` // 结果的当前状态。 ExistingFindingStatus *PreviewFindingExistingFindingStatus `json:"existing_finding_status,omitempty"` // 要检索的结果的ID。 Id string `json:"id"` // 表示生成查找结果的策略是否允许公共访问资源。 IsPublic bool `json:"is_public"` Principal *FindingPrincipal `json:"principal"` // 唯一的资源名称。 Resource string `json:"resource"` // 拥有资源的帐户ID。 ResourceOwnerAccount string `json:"resource_owner_account"` ResourceType *ResourceType `json:"resource_type"` Sources *[]FindingSourceType `json:"sources,omitempty"` // 变化后的状态。 Status PreviewFindingStatus `json:"status"` }
PreviewFinding 包含有关查找结果的信息。
func (PreviewFinding) String ¶
func (o PreviewFinding) String() string
type PreviewFindingChangeType ¶
type PreviewFindingChangeType struct {
// contains filtered or unexported fields
}
func (PreviewFindingChangeType) MarshalJSON ¶
func (c PreviewFindingChangeType) MarshalJSON() ([]byte, error)
func (*PreviewFindingChangeType) UnmarshalJSON ¶
func (c *PreviewFindingChangeType) UnmarshalJSON(b []byte) error
func (PreviewFindingChangeType) Value ¶
func (c PreviewFindingChangeType) Value() string
type PreviewFindingChangeTypeEnum ¶
type PreviewFindingChangeTypeEnum struct { UNCHANGED PreviewFindingChangeType NEW PreviewFindingChangeType CHANGED PreviewFindingChangeType }
func GetPreviewFindingChangeTypeEnum ¶
func GetPreviewFindingChangeTypeEnum() PreviewFindingChangeTypeEnum
type PreviewFindingExistingFindingStatus ¶
type PreviewFindingExistingFindingStatus struct {
// contains filtered or unexported fields
}
func (PreviewFindingExistingFindingStatus) MarshalJSON ¶
func (c PreviewFindingExistingFindingStatus) MarshalJSON() ([]byte, error)
func (*PreviewFindingExistingFindingStatus) UnmarshalJSON ¶
func (c *PreviewFindingExistingFindingStatus) UnmarshalJSON(b []byte) error
func (PreviewFindingExistingFindingStatus) Value ¶
func (c PreviewFindingExistingFindingStatus) Value() string
type PreviewFindingExistingFindingStatusEnum ¶
type PreviewFindingExistingFindingStatusEnum struct { ACTIVE PreviewFindingExistingFindingStatus ARCHIVED PreviewFindingExistingFindingStatus RESOLVED PreviewFindingExistingFindingStatus }
func GetPreviewFindingExistingFindingStatusEnum ¶
func GetPreviewFindingExistingFindingStatusEnum() PreviewFindingExistingFindingStatusEnum
type PreviewFindingStatus ¶
type PreviewFindingStatus struct {
// contains filtered or unexported fields
}
func (PreviewFindingStatus) MarshalJSON ¶
func (c PreviewFindingStatus) MarshalJSON() ([]byte, error)
func (*PreviewFindingStatus) UnmarshalJSON ¶
func (c *PreviewFindingStatus) UnmarshalJSON(b []byte) error
func (PreviewFindingStatus) Value ¶
func (c PreviewFindingStatus) Value() string
type PreviewFindingStatusEnum ¶
type PreviewFindingStatusEnum struct { ACTIVE PreviewFindingStatus ARCHIVED PreviewFindingStatus RESOLVED PreviewFindingStatus }
func GetPreviewFindingStatusEnum ¶
func GetPreviewFindingStatusEnum() PreviewFindingStatusEnum
type PreviewStatusReason ¶
type PreviewStatusReason struct { // 分析预览状态原因 Code PreviewStatusReasonCode `json:"code"` }
func (PreviewStatusReason) String ¶
func (o PreviewStatusReason) String() string
type PreviewStatusReasonCode ¶
type PreviewStatusReasonCode struct {
// contains filtered or unexported fields
}
func (PreviewStatusReasonCode) MarshalJSON ¶
func (c PreviewStatusReasonCode) MarshalJSON() ([]byte, error)
func (*PreviewStatusReasonCode) UnmarshalJSON ¶
func (c *PreviewStatusReasonCode) UnmarshalJSON(b []byte) error
func (PreviewStatusReasonCode) Value ¶
func (c PreviewStatusReasonCode) Value() string
type PreviewStatusReasonCodeEnum ¶
type PreviewStatusReasonCodeEnum struct { INTERNAL_ERROR PreviewStatusReasonCode INVALID_CONFIGURATION PreviewStatusReasonCode }
func GetPreviewStatusReasonCodeEnum ¶
func GetPreviewStatusReasonCodeEnum() PreviewStatusReasonCodeEnum
type ResourceOwnerAccount ¶
type ResourceOwnerAccount struct { }
ResourceOwnerAccount 拥有资源的帐户ID。
func (ResourceOwnerAccount) String ¶
func (o ResourceOwnerAccount) String() string
type ResourceType ¶
type ResourceType struct {
// contains filtered or unexported fields
}
ResourceType 资源的类型。
func (ResourceType) MarshalJSON ¶
func (c ResourceType) MarshalJSON() ([]byte, error)
func (*ResourceType) UnmarshalJSON ¶
func (c *ResourceType) UnmarshalJSON(b []byte) error
func (ResourceType) Value ¶
func (c ResourceType) Value() string
type ResourceTypeEnum ¶
type ResourceTypeEnum struct { IAMAGENCY ResourceType OBSBUCKET ResourceType }
func GetResourceTypeEnum ¶
func GetResourceTypeEnum() ResourceTypeEnum
type ShowAnalyzerRequest ¶
type ShowAnalyzerRequest struct { // 分析器的唯一标识符。 AnalyzerId string `json:"analyzer_id"` }
ShowAnalyzerRequest Request Object
func (ShowAnalyzerRequest) String ¶
func (o ShowAnalyzerRequest) String() string
type ShowAnalyzerResponse ¶
type ShowAnalyzerResponse struct { Analyzer *AnalyzerSummary `json:"analyzer,omitempty"` HttpStatusCode int `json:"-"` }
ShowAnalyzerResponse Response Object
func (ShowAnalyzerResponse) String ¶
func (o ShowAnalyzerResponse) String() string
type ShowArchiveRuleRequest ¶
type ShowArchiveRuleRequest struct { // 分析器的唯一标识符。 AnalyzerId string `json:"analyzer_id"` // 存档规则的唯一标识符。 ArchiveRuleId string `json:"archive_rule_id"` }
ShowArchiveRuleRequest Request Object
func (ShowArchiveRuleRequest) String ¶
func (o ShowArchiveRuleRequest) String() string
type ShowArchiveRuleResponse ¶
type ShowArchiveRuleResponse struct { ArchiveRule *ArchiveRuleSummary `json:"archive_rule,omitempty"` HttpStatusCode int `json:"-"` }
ShowArchiveRuleResponse Response Object
func (ShowArchiveRuleResponse) String ¶
func (o ShowArchiveRuleResponse) String() string
type ShowFindingRequest ¶
type ShowFindingRequest struct { // 分析器的唯一标识符。 AnalyzerId string `json:"analyzer_id"` // 要检索的结果的ID。 FindingId string `json:"finding_id"` }
ShowFindingRequest Request Object
func (ShowFindingRequest) String ¶
func (o ShowFindingRequest) String() string
type ShowFindingResponse ¶
type ShowFindingResponse struct { Finding *Finding `json:"finding,omitempty"` HttpStatusCode int `json:"-"` }
ShowFindingResponse Response Object
func (ShowFindingResponse) String ¶
func (o ShowFindingResponse) String() string
type StartResourceScanReqBody ¶
type StartResourceScanReqBody struct { // 资源的唯一标识符。 ResourceId *string `json:"resource_id,omitempty"` // 拥有资源的帐户ID。 ResourceOwnerAccount string `json:"resource_owner_account"` // 唯一的资源名称。 ResourceUrn string `json:"resource_urn"` }
func (StartResourceScanReqBody) String ¶
func (o StartResourceScanReqBody) String() string
type StartResourceScanRequest ¶
type StartResourceScanRequest struct { // 分析器的唯一标识符。 AnalyzerId string `json:"analyzer_id"` Body *StartResourceScanReqBody `json:"body,omitempty"` }
StartResourceScanRequest Request Object
func (StartResourceScanRequest) String ¶
func (o StartResourceScanRequest) String() string
type StartResourceScanResponse ¶
type StartResourceScanResponse struct {
HttpStatusCode int `json:"-"`
}
StartResourceScanResponse Response Object
func (StartResourceScanResponse) String ¶
func (o StartResourceScanResponse) String() string
type StatusReason ¶
type StatusReason struct { // 分析器的当前状态的原因。 Code StatusReasonCode `json:"code"` }
StatusReason 提供有关分析器当前状态的更多详细信息。
func (StatusReason) String ¶
func (o StatusReason) String() string
type StatusReasonCode ¶
type StatusReasonCode struct {
// contains filtered or unexported fields
}
func (StatusReasonCode) MarshalJSON ¶
func (c StatusReasonCode) MarshalJSON() ([]byte, error)
func (*StatusReasonCode) UnmarshalJSON ¶
func (c *StatusReasonCode) UnmarshalJSON(b []byte) error
func (StatusReasonCode) Value ¶
func (c StatusReasonCode) Value() string
type StatusReasonCodeEnum ¶
type StatusReasonCodeEnum struct {
SERVICE_LINKED_AGENCY_CREATION_FAILED StatusReasonCode
}
func GetStatusReasonCodeEnum ¶
func GetStatusReasonCodeEnum() StatusReasonCodeEnum
type Substring ¶
type Substring struct { // 子字符串的起始索引,从0开始。0表示第一个字符。 Start int32 `json:"start"` // 子字符串的长度。 Length int32 `json:"length"` }
Substring json反序列化后的字符串的子串。
type Tag ¶
type Tag struct { // 标记的密钥标识符或名称。 Key string `json:"key"` // 与标记键关联的字符串值。 Value string `json:"value"` }
Tag 自定义键值对。
type TagResourceReqBody ¶
type TagResourceReqBody struct {
Tags []Tag `json:"tags"`
}
func (TagResourceReqBody) String ¶
func (o TagResourceReqBody) String() string
type TagResourceRequest ¶
type TagResourceRequest struct { // 资源类型。 ResourceType TagResourceRequestResourceType `json:"resource_type"` // 资源的唯一标识符。 ResourceId string `json:"resource_id"` Body *TagResourceReqBody `json:"body,omitempty"` }
TagResourceRequest Request Object
func (TagResourceRequest) String ¶
func (o TagResourceRequest) String() string
type TagResourceRequestResourceType ¶
type TagResourceRequestResourceType struct {
// contains filtered or unexported fields
}
func (TagResourceRequestResourceType) MarshalJSON ¶
func (c TagResourceRequestResourceType) MarshalJSON() ([]byte, error)
func (*TagResourceRequestResourceType) UnmarshalJSON ¶
func (c *TagResourceRequestResourceType) UnmarshalJSON(b []byte) error
func (TagResourceRequestResourceType) Value ¶
func (c TagResourceRequestResourceType) Value() string
type TagResourceRequestResourceTypeEnum ¶
type TagResourceRequestResourceTypeEnum struct {
ANALYZERS TagResourceRequestResourceType
}
func GetTagResourceRequestResourceTypeEnum ¶
func GetTagResourceRequestResourceTypeEnum() TagResourceRequestResourceTypeEnum
type TagResourceResponse ¶
type TagResourceResponse struct {
HttpStatusCode int `json:"-"`
}
TagResourceResponse Response Object
func (TagResourceResponse) String ¶
func (o TagResourceResponse) String() string
type UntagResourceReqBody ¶
type UntagResourceReqBody struct {
TagKeys []string `json:"tag_keys"`
}
func (UntagResourceReqBody) String ¶
func (o UntagResourceReqBody) String() string
type UntagResourceRequest ¶
type UntagResourceRequest struct { // 资源类型。 ResourceType UntagResourceRequestResourceType `json:"resource_type"` // 资源的唯一标识符。 ResourceId string `json:"resource_id"` Body *UntagResourceReqBody `json:"body,omitempty"` }
UntagResourceRequest Request Object
func (UntagResourceRequest) String ¶
func (o UntagResourceRequest) String() string
type UntagResourceRequestResourceType ¶
type UntagResourceRequestResourceType struct {
// contains filtered or unexported fields
}
func (UntagResourceRequestResourceType) MarshalJSON ¶
func (c UntagResourceRequestResourceType) MarshalJSON() ([]byte, error)
func (*UntagResourceRequestResourceType) UnmarshalJSON ¶
func (c *UntagResourceRequestResourceType) UnmarshalJSON(b []byte) error
func (UntagResourceRequestResourceType) Value ¶
func (c UntagResourceRequestResourceType) Value() string
type UntagResourceRequestResourceTypeEnum ¶
type UntagResourceRequestResourceTypeEnum struct {
ANALYZERS UntagResourceRequestResourceType
}
func GetUntagResourceRequestResourceTypeEnum ¶
func GetUntagResourceRequestResourceTypeEnum() UntagResourceRequestResourceTypeEnum
type UntagResourceResponse ¶
type UntagResourceResponse struct {
HttpStatusCode int `json:"-"`
}
UntagResourceResponse Response Object
func (UntagResourceResponse) String ¶
func (o UntagResourceResponse) String() string
type UpdateArchiveRuleReqBody ¶
type UpdateArchiveRuleReqBody struct {
Filters []FindingFilter `json:"filters"`
}
func (UpdateArchiveRuleReqBody) String ¶
func (o UpdateArchiveRuleReqBody) String() string
type UpdateArchiveRuleRequest ¶
type UpdateArchiveRuleRequest struct { // 分析器的唯一标识符。 AnalyzerId string `json:"analyzer_id"` // 存档规则的唯一标识符。 ArchiveRuleId string `json:"archive_rule_id"` Body *UpdateArchiveRuleReqBody `json:"body,omitempty"` }
UpdateArchiveRuleRequest Request Object
func (UpdateArchiveRuleRequest) String ¶
func (o UpdateArchiveRuleRequest) String() string
type UpdateArchiveRuleResponse ¶
type UpdateArchiveRuleResponse struct {
HttpStatusCode int `json:"-"`
}
UpdateArchiveRuleResponse Response Object
func (UpdateArchiveRuleResponse) String ¶
func (o UpdateArchiveRuleResponse) String() string
type UpdateFindingsReqBody ¶
type UpdateFindingsReqBody struct { // 要更新的调查结果的ID。 Ids *[]string `json:"ids,omitempty"` // 唯一的资源名称。 ResourceUrn *string `json:"resource_urn,omitempty"` // 状态表示为更新查找状态而要采取的操作。使用“存档”将活动查找更改为存档查找。使用“活动”将存档的查找更改为活动查找。 Status UpdateFindingsReqBodyStatus `json:"status"` }
func (UpdateFindingsReqBody) String ¶
func (o UpdateFindingsReqBody) String() string
type UpdateFindingsReqBodyStatus ¶
type UpdateFindingsReqBodyStatus struct {
// contains filtered or unexported fields
}
func (UpdateFindingsReqBodyStatus) MarshalJSON ¶
func (c UpdateFindingsReqBodyStatus) MarshalJSON() ([]byte, error)
func (*UpdateFindingsReqBodyStatus) UnmarshalJSON ¶
func (c *UpdateFindingsReqBodyStatus) UnmarshalJSON(b []byte) error
func (UpdateFindingsReqBodyStatus) Value ¶
func (c UpdateFindingsReqBodyStatus) Value() string
type UpdateFindingsReqBodyStatusEnum ¶
type UpdateFindingsReqBodyStatusEnum struct { ACTIVE UpdateFindingsReqBodyStatus ARCHIVED UpdateFindingsReqBodyStatus }
func GetUpdateFindingsReqBodyStatusEnum ¶
func GetUpdateFindingsReqBodyStatusEnum() UpdateFindingsReqBodyStatusEnum
type UpdateFindingsRequest ¶
type UpdateFindingsRequest struct { // 分析器的唯一标识符。 AnalyzerId string `json:"analyzer_id"` Body *UpdateFindingsReqBody `json:"body,omitempty"` }
UpdateFindingsRequest Request Object
func (UpdateFindingsRequest) String ¶
func (o UpdateFindingsRequest) String() string
type UpdateFindingsResponse ¶
type UpdateFindingsResponse struct {
HttpStatusCode int `json:"-"`
}
UpdateFindingsResponse Response Object
func (UpdateFindingsResponse) String ¶
func (o UpdateFindingsResponse) String() string
type ValidatePolicyFinding ¶
type ValidatePolicyFinding struct { // 一条本地化消息提供了如何解决该问题的指导。 FindingDetails string `json:"finding_details"` // 影响级别。 安全警告:策略允许的范围过大。 错误:策略不符合策略语法规则。 警告:非安全问题,策略不符合策略编写最佳实践。 建议:改进策略,不影响访问范围。 FindingType ValidatePolicyFindingFindingType `json:"finding_type"` // 问题码提供了与此查找结果关联的问题的标识符。 IssueCode string `json:"issue_code"` // 指向与此查找结果关联的相关文档的链接。 LearnMoreLink string `json:"learn_more_link"` // 策略文档中与查找结果相关的位置列表。 Locations []Location `json:"locations"` }
ValidatePolicyFinding 可用于改进策略的可操作建议。
func (ValidatePolicyFinding) String ¶
func (o ValidatePolicyFinding) String() string
type ValidatePolicyFindingFindingType ¶
type ValidatePolicyFindingFindingType struct {
// contains filtered or unexported fields
}
func (ValidatePolicyFindingFindingType) MarshalJSON ¶
func (c ValidatePolicyFindingFindingType) MarshalJSON() ([]byte, error)
func (*ValidatePolicyFindingFindingType) UnmarshalJSON ¶
func (c *ValidatePolicyFindingFindingType) UnmarshalJSON(b []byte) error
func (ValidatePolicyFindingFindingType) Value ¶
func (c ValidatePolicyFindingFindingType) Value() string
type ValidatePolicyFindingFindingTypeEnum ¶
type ValidatePolicyFindingFindingTypeEnum struct { SECURITY_WARNING ValidatePolicyFindingFindingType ERROR ValidatePolicyFindingFindingType WARNING ValidatePolicyFindingFindingType SUGGESTION ValidatePolicyFindingFindingType }
func GetValidatePolicyFindingFindingTypeEnum ¶
func GetValidatePolicyFindingFindingTypeEnum() ValidatePolicyFindingFindingTypeEnum
type ValidatePolicyReqBody ¶
type ValidatePolicyReqBody struct { // 此策略的json格式策略文档。 PolicyDocument string `json:"policy_document"` PolicyType *PolicyType `json:"policy_type"` ValidatePolicyResourceType *ValidatePolicyResourceType `json:"validate_policy_resource_type,omitempty"` }
func (ValidatePolicyReqBody) String ¶
func (o ValidatePolicyReqBody) String() string
type ValidatePolicyRequest ¶
type ValidatePolicyRequest struct { // 单页最大结果数。 Limit *int32 `json:"limit,omitempty"` // 页面标记。 Marker *string `json:"marker,omitempty"` // 返回消息的语言,默认值为'zh-cn',表示中文。 XLanguage *ValidatePolicyRequestXLanguage `json:"X-Language,omitempty"` Body *ValidatePolicyReqBody `json:"body,omitempty"` }
ValidatePolicyRequest Request Object
func (ValidatePolicyRequest) String ¶
func (o ValidatePolicyRequest) String() string
type ValidatePolicyRequestXLanguage ¶
type ValidatePolicyRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ValidatePolicyRequestXLanguage) MarshalJSON ¶
func (c ValidatePolicyRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ValidatePolicyRequestXLanguage) UnmarshalJSON ¶
func (c *ValidatePolicyRequestXLanguage) UnmarshalJSON(b []byte) error
func (ValidatePolicyRequestXLanguage) Value ¶
func (c ValidatePolicyRequestXLanguage) Value() string
type ValidatePolicyRequestXLanguageEnum ¶
type ValidatePolicyRequestXLanguageEnum struct { ZH_CN ValidatePolicyRequestXLanguage EN_US ValidatePolicyRequestXLanguage }
func GetValidatePolicyRequestXLanguageEnum ¶
func GetValidatePolicyRequestXLanguageEnum() ValidatePolicyRequestXLanguageEnum
type ValidatePolicyResourceType ¶
type ValidatePolicyResourceType struct {
// contains filtered or unexported fields
}
ValidatePolicyResourceType 要附加到资源策略的资源类型。
func (ValidatePolicyResourceType) MarshalJSON ¶
func (c ValidatePolicyResourceType) MarshalJSON() ([]byte, error)
func (*ValidatePolicyResourceType) UnmarshalJSON ¶
func (c *ValidatePolicyResourceType) UnmarshalJSON(b []byte) error
func (ValidatePolicyResourceType) Value ¶
func (c ValidatePolicyResourceType) Value() string
type ValidatePolicyResourceTypeEnum ¶
type ValidatePolicyResourceTypeEnum struct { OBSBUCKET ValidatePolicyResourceType IAMAGENCY ValidatePolicyResourceType }
func GetValidatePolicyResourceTypeEnum ¶
func GetValidatePolicyResourceTypeEnum() ValidatePolicyResourceTypeEnum
type ValidatePolicyResponse ¶
type ValidatePolicyResponse struct { Findings *[]ValidatePolicyFinding `json:"findings,omitempty"` PageInfo *PageInfo `json:"page_info,omitempty"` HttpStatusCode int `json:"-"` }
ValidatePolicyResponse Response Object
func (ValidatePolicyResponse) String ¶
func (o ValidatePolicyResponse) String() string
Source Files ¶
- model_access_preview.go
- model_access_preview_id.go
- model_access_preview_status.go
- model_access_preview_summary.go
- model_analyzer_id.go
- model_analyzer_name.go
- model_analyzer_summary.go
- model_analyzer_type.go
- model_apply_archive_rule_request.go
- model_apply_archive_rule_response.go
- model_archive_rule_id.go
- model_archive_rule_name.go
- model_archive_rule_summary.go
- model_configuration.go
- model_create_access_preview_req_body.go
- model_create_access_preview_request.go
- model_create_access_preview_response.go
- model_create_analyzer_req_body.go
- model_create_analyzer_request.go
- model_create_analyzer_response.go
- model_create_archive_rule_req_body.go
- model_create_archive_rule_request.go
- model_create_archive_rule_response.go
- model_criterion.go
- model_current_count.go
- model_delete_analyzer_request.go
- model_delete_analyzer_response.go
- model_delete_archive_rule_request.go
- model_delete_archive_rule_response.go
- model_finding.go
- model_finding_condition.go
- model_finding_filter.go
- model_finding_id.go
- model_finding_principal.go
- model_finding_source_type.go
- model_get_access_preview_request.go
- model_get_access_preview_response.go
- model_iam_agency.go
- model_limit.go
- model_list_access_previews_request.go
- model_list_access_previews_response.go
- model_list_analyzers_request.go
- model_list_analyzers_response.go
- model_list_archive_rules_request.go
- model_list_archive_rules_response.go
- model_list_findings_req_body.go
- model_list_findings_request.go
- model_list_findings_response.go
- model_list_preview_findings_req_body.go
- model_list_preview_findings_request.go
- model_list_preview_findings_response.go
- model_location.go
- model_marker.go
- model_next_marker.go
- model_obs_bucket.go
- model_page_info.go
- model_path_element.go
- model_policy_document.go
- model_policy_type.go
- model_position.go
- model_preview_finding.go
- model_preview_status_reason.go
- model_resource_owner_account.go
- model_resource_type.go
- model_show_analyzer_request.go
- model_show_analyzer_response.go
- model_show_archive_rule_request.go
- model_show_archive_rule_response.go
- model_show_finding_request.go
- model_show_finding_response.go
- model_span.go
- model_start_resource_scan_req_body.go
- model_start_resource_scan_request.go
- model_start_resource_scan_response.go
- model_status_reason.go
- model_substring.go
- model_tag.go
- model_tag_key.go
- model_tag_resource_req_body.go
- model_tag_resource_request.go
- model_tag_resource_response.go
- model_tag_value.go
- model_untag_resource_req_body.go
- model_untag_resource_request.go
- model_untag_resource_response.go
- model_update_archive_rule_req_body.go
- model_update_archive_rule_request.go
- model_update_archive_rule_response.go
- model_update_findings_req_body.go
- model_update_findings_request.go
- model_update_findings_response.go
- model_urn.go
- model_validate_policy_finding.go
- model_validate_policy_req_body.go
- model_validate_policy_request.go
- model_validate_policy_resource_type.go
- model_validate_policy_response.go