Documentation ¶
Index ¶
- type ActionWithEntities
- type ApkComponentInfo
- type ApkComponentItem
- type BasicInfo
- type CheckerRule
- type CreateSecAppTaskRequest
- type CreateSecAppTaskRequestBody
- type CreateSecAppTaskResponse
- type CreateSecAppTaskResponseInfoCode
- type CreateSecAppTaskResponseInfoCodeEnum
- type CreateSecAppTaskResponseTaskStatus
- type CreateSecAppTaskResponseTaskStatusEnum
- type DeleteSecAppTaskRequest
- type DeleteSecAppTaskResponse
- type DeleteSecAppTaskResponseInfoCode
- type DeleteSecAppTaskResponseInfoCodeEnum
- type HapComponentInfo
- type HapComponentItem
- type OperateInfoResponseBody
- type OperateInfoResponseBodyInfoCode
- type OperateInfoResponseBodyInfoCodeEnum
- type PermissionItem
- type PrivacyComplianceInfo
- type PrivacyComplianceSubtype
- type ShowSecAppTaskResultRequest
- type ShowSecAppTaskResultResponse
- type ShowSecAppTaskStatusRequest
- type ShowSecAppTaskStatusResponse
- type ShowSecAppTaskStatusResponseTaskStatus
- type ShowSecAppTaskStatusResponseTaskStatusEnum
- type VulnInfo
- type VulnItem
- type VulnRule
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionWithEntities ¶
type ActionWithEntities struct { // 动作列表 Actions *[]string `json:"actions,omitempty"` // 实体列表 Entities *[]string `json:"entities,omitempty"` }
func (ActionWithEntities) String ¶
func (o ActionWithEntities) String() string
type ApkComponentInfo ¶
type ApkComponentInfo struct { // 权限列表 Permission *[]PermissionItem `json:"permission,omitempty"` // 安卓activity列表,仅安卓任务存在该组件 Activity *[]ApkComponentItem `json:"activity,omitempty"` // 安卓service列表,仅安卓任务存在该组件 Service *[]ApkComponentItem `json:"service,omitempty"` // 安卓provider列表,仅安卓任务存在该组件 Provider *[]ApkComponentItem `json:"provider,omitempty"` // 安卓receive列表,仅安卓任务存在该组件 Receive *[]ApkComponentItem `json:"receive,omitempty"` }
func (ApkComponentInfo) String ¶
func (o ApkComponentInfo) String() string
type ApkComponentItem ¶
type ApkComponentItem struct { // 组件名称 Name *string `json:"name,omitempty"` // 动作列表 ActionList *[]string `json:"action_list,omitempty"` // 类别列表 CategoryList *[]string `json:"category_list,omitempty"` // 主要活动 IsMainActivity *bool `json:"is_main_activity,omitempty"` // 导出 Exported *string `json:"exported,omitempty"` }
func (ApkComponentItem) String ¶
func (o ApkComponentItem) String() string
type BasicInfo ¶
type BasicInfo struct { // 应用名称,移动应用特有 AppName *string `json:"app_name,omitempty"` // 文件包名 PackageName *string `json:"package_name,omitempty"` // 文件大小 FileSize *int32 `json:"file_size,omitempty"` // 版本号 VersionCode *int32 `json:"version_code,omitempty"` // 最小SDK版本 MinSdk *string `json:"min_sdk,omitempty"` // 目标SDK版本 TargetSdk *string `json:"target_sdk,omitempty"` // 文件SHA1值 Sha1 *string `json:"sha1,omitempty"` // 文件SHA256值 Sha256 *string `json:"sha256,omitempty"` // 文件MD5值 Md5 *string `json:"md5,omitempty"` // 证书发布者 Issuer *string `json:"issuer,omitempty"` // 证书拥有者 Owner *string `json:"owner,omitempty"` // 证书有效日期 EffectiveDate *string `json:"effective_date,omitempty"` // 算法 Algorithm *string `json:"algorithm,omitempty"` // 证书公钥 PublicKey *string `json:"public_key,omitempty"` }
type CheckerRule ¶
type CheckerRule struct { // 检测项 CheckerRule *string `json:"checker_rule,omitempty"` // 规范检测项条目 CheckerEntry *string `json:"checker_entry,omitempty"` // 规则检测项结果 CheckerResult *string `json:"checker_result,omitempty"` // 调用栈信息 CheckerStack *string `json:"checker_stack,omitempty"` // 隐私声明 PrivacyPolicyEvidences *string `json:"privacy_policy_evidences,omitempty"` // 是否通过 Pass *bool `json:"pass,omitempty"` // 修复建议 RectifySuggestion *string `json:"rectify_suggestion,omitempty"` }
func (CheckerRule) String ¶
func (o CheckerRule) String() string
type CreateSecAppTaskRequest ¶
type CreateSecAppTaskRequest struct {
Body *CreateSecAppTaskRequestBody `json:"body,omitempty" type:"multipart"`
}
Request Object
func (CreateSecAppTaskRequest) String ¶
func (o CreateSecAppTaskRequest) String() string
type CreateSecAppTaskRequestBody ¶
type CreateSecAppTaskRequestBody struct { // 版本:0免费版,1专业版 Version *def.MultiPart `json:"version"` // 待扫描文件,后缀为.apk或.hap,专业版大小限制为2G,免费版大小限制为100M File *def.FilePart `json:"file"` // 隐私申明URL PrivacyStatementUrl *def.MultiPart `json:"privacy_statement_url,omitempty"` PersonalInfoShareUrl *def.MultiPart `json:"personal_info_share_url,omitempty"` }
func (CreateSecAppTaskRequestBody) String ¶
func (o CreateSecAppTaskRequestBody) String() string
func (*CreateSecAppTaskRequestBody) UnmarshalJSON ¶
func (o *CreateSecAppTaskRequestBody) UnmarshalJSON(b []byte) error
type CreateSecAppTaskResponse ¶
type CreateSecAppTaskResponse struct { // 状态码: * success - 成功 * failure - 失败 InfoCode *CreateSecAppTaskResponseInfoCode `json:"info_code,omitempty"` // 返回的提示信息 InfoDescription *string `json:"info_description,omitempty"` // 任务ID TaskId *string `json:"task_id,omitempty"` // 任务状态: * WAITING - 等待 * RUNNING - 进行 * SUCCESS - 完成 * FAILURE - 失败 * STOP - 停止 * DELETED - 删除 TaskStatus *CreateSecAppTaskResponseTaskStatus `json:"task_status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateSecAppTaskResponse) String ¶
func (o CreateSecAppTaskResponse) String() string
type CreateSecAppTaskResponseInfoCode ¶
type CreateSecAppTaskResponseInfoCode struct {
// contains filtered or unexported fields
}
func (CreateSecAppTaskResponseInfoCode) MarshalJSON ¶
func (c CreateSecAppTaskResponseInfoCode) MarshalJSON() ([]byte, error)
func (*CreateSecAppTaskResponseInfoCode) UnmarshalJSON ¶
func (c *CreateSecAppTaskResponseInfoCode) UnmarshalJSON(b []byte) error
func (CreateSecAppTaskResponseInfoCode) Value ¶
func (c CreateSecAppTaskResponseInfoCode) Value() string
type CreateSecAppTaskResponseInfoCodeEnum ¶
type CreateSecAppTaskResponseInfoCodeEnum struct { SUCCESS CreateSecAppTaskResponseInfoCode FAILURE CreateSecAppTaskResponseInfoCode }
func GetCreateSecAppTaskResponseInfoCodeEnum ¶
func GetCreateSecAppTaskResponseInfoCodeEnum() CreateSecAppTaskResponseInfoCodeEnum
type CreateSecAppTaskResponseTaskStatus ¶
type CreateSecAppTaskResponseTaskStatus struct {
// contains filtered or unexported fields
}
func (CreateSecAppTaskResponseTaskStatus) MarshalJSON ¶
func (c CreateSecAppTaskResponseTaskStatus) MarshalJSON() ([]byte, error)
func (*CreateSecAppTaskResponseTaskStatus) UnmarshalJSON ¶
func (c *CreateSecAppTaskResponseTaskStatus) UnmarshalJSON(b []byte) error
func (CreateSecAppTaskResponseTaskStatus) Value ¶
func (c CreateSecAppTaskResponseTaskStatus) Value() string
type CreateSecAppTaskResponseTaskStatusEnum ¶
type CreateSecAppTaskResponseTaskStatusEnum struct { WAITING CreateSecAppTaskResponseTaskStatus RUNNING CreateSecAppTaskResponseTaskStatus SUCCESS CreateSecAppTaskResponseTaskStatus FAILURE CreateSecAppTaskResponseTaskStatus STOP CreateSecAppTaskResponseTaskStatus DELETED CreateSecAppTaskResponseTaskStatus }
func GetCreateSecAppTaskResponseTaskStatusEnum ¶
func GetCreateSecAppTaskResponseTaskStatusEnum() CreateSecAppTaskResponseTaskStatusEnum
type DeleteSecAppTaskRequest ¶
type DeleteSecAppTaskRequest struct { // 任务ID TaskId string `json:"task_id"` }
Request Object
func (DeleteSecAppTaskRequest) String ¶
func (o DeleteSecAppTaskRequest) String() string
type DeleteSecAppTaskResponse ¶
type DeleteSecAppTaskResponse struct { // 状态码: * success - 成功 * failure - 失败 InfoCode *DeleteSecAppTaskResponseInfoCode `json:"info_code,omitempty"` // 返回的提示信息 InfoDescription *string `json:"info_description,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (DeleteSecAppTaskResponse) String ¶
func (o DeleteSecAppTaskResponse) String() string
type DeleteSecAppTaskResponseInfoCode ¶
type DeleteSecAppTaskResponseInfoCode struct {
// contains filtered or unexported fields
}
func (DeleteSecAppTaskResponseInfoCode) MarshalJSON ¶
func (c DeleteSecAppTaskResponseInfoCode) MarshalJSON() ([]byte, error)
func (*DeleteSecAppTaskResponseInfoCode) UnmarshalJSON ¶
func (c *DeleteSecAppTaskResponseInfoCode) UnmarshalJSON(b []byte) error
func (DeleteSecAppTaskResponseInfoCode) Value ¶
func (c DeleteSecAppTaskResponseInfoCode) Value() string
type DeleteSecAppTaskResponseInfoCodeEnum ¶
type DeleteSecAppTaskResponseInfoCodeEnum struct { SUCCESS DeleteSecAppTaskResponseInfoCode FAILURE DeleteSecAppTaskResponseInfoCode }
func GetDeleteSecAppTaskResponseInfoCodeEnum ¶
func GetDeleteSecAppTaskResponseInfoCodeEnum() DeleteSecAppTaskResponseInfoCodeEnum
type HapComponentInfo ¶
type HapComponentInfo struct { // 权限列表 Permission *[]PermissionItem `json:"permission,omitempty"` // 鸿蒙Page列表,仅鸿蒙任务存在该组件 Page *[]HapComponentItem `json:"page,omitempty"` // 鸿蒙service列表,仅鸿蒙任务存在该组件 Service *[]HapComponentItem `json:"service,omitempty"` // 鸿蒙data息列表,仅鸿蒙任务存在该组件 Data *[]HapComponentItem `json:"data,omitempty"` }
func (HapComponentInfo) String ¶
func (o HapComponentInfo) String() string
type HapComponentItem ¶
type HapComponentItem struct { // 组件名称 Name *string `json:"name,omitempty"` // 元能力可见 Visible *bool `json:"visible,omitempty"` // 动作和实体列表 ActionsWithEntities *[]ActionWithEntities `json:"actions_with_entities,omitempty"` }
func (HapComponentItem) String ¶
func (o HapComponentItem) String() string
type OperateInfoResponseBody ¶
type OperateInfoResponseBody struct { // 状态码: * success - 成功 * failure - 失败 InfoCode *OperateInfoResponseBodyInfoCode `json:"info_code,omitempty"` // 返回的提示信息 InfoDescription *string `json:"info_description,omitempty"` }
func (OperateInfoResponseBody) String ¶
func (o OperateInfoResponseBody) String() string
type OperateInfoResponseBodyInfoCode ¶
type OperateInfoResponseBodyInfoCode struct {
// contains filtered or unexported fields
}
func (OperateInfoResponseBodyInfoCode) MarshalJSON ¶
func (c OperateInfoResponseBodyInfoCode) MarshalJSON() ([]byte, error)
func (*OperateInfoResponseBodyInfoCode) UnmarshalJSON ¶
func (c *OperateInfoResponseBodyInfoCode) UnmarshalJSON(b []byte) error
func (OperateInfoResponseBodyInfoCode) Value ¶
func (c OperateInfoResponseBodyInfoCode) Value() string
type OperateInfoResponseBodyInfoCodeEnum ¶
type OperateInfoResponseBodyInfoCodeEnum struct { SUCCESS OperateInfoResponseBodyInfoCode FAILURE OperateInfoResponseBodyInfoCode }
func GetOperateInfoResponseBodyInfoCodeEnum ¶
func GetOperateInfoResponseBodyInfoCodeEnum() OperateInfoResponseBodyInfoCodeEnum
type PermissionItem ¶
type PermissionItem struct { // 权限名称 PermName *string `json:"perm_name,omitempty"` // 权限描述 Desc *string `json:"desc,omitempty"` // 权限保护级别 ProLevelName *string `json:"pro_level_name,omitempty"` // 权限类型 PermTypeName *string `json:"perm_type_name,omitempty"` }
func (PermissionItem) String ¶
func (o PermissionItem) String() string
type PrivacyComplianceInfo ¶
type PrivacyComplianceInfo struct { // 隐私合规类型 Category *string `json:"category,omitempty"` // 隐私合规子类型列表 SubtypeList *[]PrivacyComplianceSubtype `json:"subtype_list,omitempty"` }
func (PrivacyComplianceInfo) String ¶
func (o PrivacyComplianceInfo) String() string
type PrivacyComplianceSubtype ¶
type PrivacyComplianceSubtype struct { // 隐私合规子类型描述 Desc *string `json:"desc,omitempty"` // 检测项列表 CheckerRules *[]CheckerRule `json:"checker_rules,omitempty"` }
func (PrivacyComplianceSubtype) String ¶
func (o PrivacyComplianceSubtype) String() string
type ShowSecAppTaskResultRequest ¶
type ShowSecAppTaskResultRequest struct { // 任务ID TaskId string `json:"task_id"` }
Request Object
func (ShowSecAppTaskResultRequest) String ¶
func (o ShowSecAppTaskResultRequest) String() string
type ShowSecAppTaskResultResponse ¶
type ShowSecAppTaskResultResponse struct { BasicInfo *BasicInfo `json:"basic_info,omitempty"` ApkComponentInfo *ApkComponentInfo `json:"apk_component_info,omitempty"` HapComponentInfo *HapComponentInfo `json:"hap_component_info,omitempty"` // 漏洞列表 VulnList *[]VulnInfo `json:"vuln_list,omitempty"` // 隐私合规列表 PrivacyComplianceList *[]PrivacyComplianceInfo `json:"privacy_compliance_list,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowSecAppTaskResultResponse) String ¶
func (o ShowSecAppTaskResultResponse) String() string
type ShowSecAppTaskStatusRequest ¶
type ShowSecAppTaskStatusRequest struct { // 任务ID TaskId string `json:"task_id"` }
Request Object
func (ShowSecAppTaskStatusRequest) String ¶
func (o ShowSecAppTaskStatusRequest) String() string
type ShowSecAppTaskStatusResponse ¶
type ShowSecAppTaskStatusResponse struct { // 任务ID TaskId *string `json:"task_id,omitempty"` // 创建任务的时间 CreateTime *string `json:"create_time,omitempty"` // 任务启动的时间 BeginTime *string `json:"begin_time,omitempty"` // 任务结束的时间 EndTime *string `json:"end_time,omitempty"` // 任务状态: * WAITING - 等待 * RUNNING - 进行 * SUCCESS - 完成 * FAILURE - 失败 * STOP - 停止 * DELETED - 删除 TaskStatus *ShowSecAppTaskStatusResponseTaskStatus `json:"task_status,omitempty"` // 任务失败时返回失败原因 FailReason *string `json:"fail_reason,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowSecAppTaskStatusResponse) String ¶
func (o ShowSecAppTaskStatusResponse) String() string
type ShowSecAppTaskStatusResponseTaskStatus ¶
type ShowSecAppTaskStatusResponseTaskStatus struct {
// contains filtered or unexported fields
}
func (ShowSecAppTaskStatusResponseTaskStatus) MarshalJSON ¶
func (c ShowSecAppTaskStatusResponseTaskStatus) MarshalJSON() ([]byte, error)
func (*ShowSecAppTaskStatusResponseTaskStatus) UnmarshalJSON ¶
func (c *ShowSecAppTaskStatusResponseTaskStatus) UnmarshalJSON(b []byte) error
func (ShowSecAppTaskStatusResponseTaskStatus) Value ¶
func (c ShowSecAppTaskStatusResponseTaskStatus) Value() string
type ShowSecAppTaskStatusResponseTaskStatusEnum ¶
type ShowSecAppTaskStatusResponseTaskStatusEnum struct { WAITING ShowSecAppTaskStatusResponseTaskStatus RUNNING ShowSecAppTaskStatusResponseTaskStatus SUCCESS ShowSecAppTaskStatusResponseTaskStatus FAILURE ShowSecAppTaskStatusResponseTaskStatus STOP ShowSecAppTaskStatusResponseTaskStatus DELETED ShowSecAppTaskStatusResponseTaskStatus }
func GetShowSecAppTaskStatusResponseTaskStatusEnum ¶
func GetShowSecAppTaskStatusResponseTaskStatusEnum() ShowSecAppTaskStatusResponseTaskStatusEnum
type VulnInfo ¶
Source Files ¶
- model_action_with_entities.go
- model_apk_component_info.go
- model_apk_component_item.go
- model_basic_info.go
- model_checker_rule.go
- model_create_sec_app_task_request.go
- model_create_sec_app_task_request_body.go
- model_create_sec_app_task_response.go
- model_delete_sec_app_task_request.go
- model_delete_sec_app_task_response.go
- model_hap_component_info.go
- model_hap_component_item.go
- model_operate_info_response_body.go
- model_permission_item.go
- model_privacy_compliance_info.go
- model_privacy_compliance_subtype.go
- model_show_sec_app_task_result_request.go
- model_show_sec_app_task_result_response.go
- model_show_sec_app_task_status_request.go
- model_show_sec_app_task_status_response.go
- model_vuln_info.go
- model_vuln_item.go
- model_vuln_rule.go
Click to show internal directories.
Click to hide internal directories.