Documentation ¶
Index ¶
- type ActionWithEntities
- type ApkComponentInfo
- type ApkComponentItem
- type BasicInfo
- 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 HmVulnInfoData
- type HmVulnInfoDataDetail
- type HmVulnInfoDataDetailVulnInfo
- type HmVulnInfoDataReport
- type OperateInfoResponseBody
- type OperateInfoResponseBodyInfoCode
- type OperateInfoResponseBodyInfoCodeEnum
- type PermissionItem
- type PrivacyComplianceInfo
- type PrivacyComplianceSubtype
- type ShowHmReportRequest
- type ShowHmReportResponse
- type ShowSecAppTaskResultRequest
- type ShowSecAppTaskResultResponse
- type ShowSecAppTaskStatusRequest
- type ShowSecAppTaskStatusResponse
- type ShowSecAppTaskStatusResponseTaskStatus
- type ShowSecAppTaskStatusResponseTaskStatusEnum
- type VulCheckerRule
- 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 CreateSecAppTaskRequest ¶
type CreateSecAppTaskRequest struct {
Body *CreateSecAppTaskRequestBody `json:"body,omitempty" type:"multipart"`
}
CreateSecAppTaskRequest 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:"-"` }
CreateSecAppTaskResponse 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"` }
DeleteSecAppTaskRequest 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:"-"` }
DeleteSecAppTaskResponse 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 HmVulnInfoData ¶
type HmVulnInfoData struct { // 报告 Report *[]HmVulnInfoDataReport `json:"report,omitempty"` }
HmVulnInfoData 数据
func (HmVulnInfoData) String ¶
func (o HmVulnInfoData) String() string
type HmVulnInfoDataDetail ¶
type HmVulnInfoDataDetail struct { // 问题 VulnInfo *[]HmVulnInfoDataDetailVulnInfo `json:"vuln_info,omitempty"` }
HmVulnInfoDataDetail 报告详情
func (HmVulnInfoDataDetail) String ¶
func (o HmVulnInfoDataDetail) String() string
type HmVulnInfoDataDetailVulnInfo ¶
type HmVulnInfoDataDetailVulnInfo struct { // 问题文件路径 ProblemFilePath *string `json:"problem_file_path,omitempty"` // 问题特征信息 IdentityInfo *string `json:"identity_info,omitempty"` // 问题等级 RiskLevel *string `json:"risk_level,omitempty"` // 应用名称 AppName *string `json:"app_name,omitempty"` // 问题项大类id CategoryId *string `json:"category_id,omitempty"` // 问题项大类中文名 TypeCn *string `json:"type_cn,omitempty"` // 问题项大类英文名 TypeEn *string `json:"type_en,omitempty"` // 问题描述中文 ProblemCn *string `json:"problem_cn,omitempty"` // 问题描述英文 ProblemEn *string `json:"problem_en,omitempty"` // 解决办法中文 SolutionCn *string `json:"solution_cn,omitempty"` // 解决办法英文 SolutionEn *string `json:"solution_en,omitempty"` // 问题详细描述中文 DetectionScenarioCn *string `json:"detection_scenario_cn,omitempty"` // 问题详细描述英文 DetectionScenarioEn *string `json:"detection_scenario_en,omitempty"` // 问题wiki WikiUrl *string `json:"wiki_url,omitempty"` // 问题来源规范 StandardInfo *string `json:"standard_info,omitempty"` // 漏洞确认: 0 - 未确认 1 - 已确认 ConfirmState *int32 `json:"confirm_state,omitempty"` // 漏洞确认结果: 0 - 未误报 1 - 误报 ConfirmResult *int32 `json:"confirm_result,omitempty"` // 确认人 Confirmer *string `json:"confirmer,omitempty"` // 确认描述 ConfirmDescription *string `json:"confirm_description,omitempty"` // 确认时间 ConfirmTime *string `json:"confirm_time,omitempty"` // 问题单编号 DtsId *string `json:"dts_id,omitempty"` // 标准标号 StandardNo *string `json:"standard_no,omitempty"` }
func (HmVulnInfoDataDetailVulnInfo) String ¶
func (o HmVulnInfoDataDetailVulnInfo) String() string
type HmVulnInfoDataReport ¶
type HmVulnInfoDataReport struct { Detail *HmVulnInfoDataDetail `json:"detail,omitempty"` // 文件名 FileName *string `json:"file_name,omitempty"` }
func (HmVulnInfoDataReport) String ¶
func (o HmVulnInfoDataReport) 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 *[]VulCheckerRule `json:"checker_rules,omitempty"` }
func (PrivacyComplianceSubtype) String ¶
func (o PrivacyComplianceSubtype) String() string
type ShowHmReportRequest ¶
type ShowHmReportRequest struct { // 任务ID TaskId *string `json:"task_id,omitempty"` }
ShowHmReportRequest Request Object
func (ShowHmReportRequest) String ¶
func (o ShowHmReportRequest) String() string
type ShowHmReportResponse ¶
type ShowHmReportResponse struct { // 响应码 Code *string `json:"code,omitempty"` Data *HmVulnInfoData `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
ShowHmReportResponse Response Object
func (ShowHmReportResponse) String ¶
func (o ShowHmReportResponse) String() string
type ShowSecAppTaskResultRequest ¶
type ShowSecAppTaskResultRequest struct { // 任务ID TaskId string `json:"task_id"` }
ShowSecAppTaskResultRequest 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:"-"` }
ShowSecAppTaskResultResponse Response Object
func (ShowSecAppTaskResultResponse) String ¶
func (o ShowSecAppTaskResultResponse) String() string
type ShowSecAppTaskStatusRequest ¶
type ShowSecAppTaskStatusRequest struct { // 任务ID TaskId string `json:"task_id"` }
ShowSecAppTaskStatusRequest 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:"-"` }
ShowSecAppTaskStatusResponse 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 VulCheckerRule ¶
type VulCheckerRule 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 (VulCheckerRule) String ¶
func (o VulCheckerRule) String() string
type VulnInfo ¶
Source Files ¶
- model_action_with_entities.go
- model_apk_component_info.go
- model_apk_component_item.go
- model_basic_info.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_hm_vuln_info_data.go
- model_hm_vuln_info_data_detail.go
- model_hm_vuln_info_data_detail_vuln_info.go
- model_hm_vuln_info_data_report.go
- model_operate_info_response_body.go
- model_permission_item.go
- model_privacy_compliance_info.go
- model_privacy_compliance_subtype.go
- model_show_hm_report_request.go
- model_show_hm_report_response.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_vul_checker_rule.go
- model_vuln_info.go
- model_vuln_item.go
- model_vuln_rule.go
Click to show internal directories.
Click to hide internal directories.