Documentation
¶
Overview ¶
Package platformapi provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version 2.4.1 DO NOT EDIT.
Index ¶
- Constants
- func GetFindings(ctx context.Context, client *ClientWithResponses, task float64) (*[]GetAssessmentTaskFindings_2XX_Item, error)
- func NewDeleteAppPlatformPackageRunnerRequest(server string, platform DeleteAppPlatformPackageRunnerParamsPlatform, ...) (*http.Request, error)
- func NewGetAccountUserRefRequest(server string, ref openapi_types.UUID) (*http.Request, error)
- func NewGetAccountUserRequest(server string, params *GetAccountUserParams) (*http.Request, error)
- func NewGetAppPlatformPackageAssessmentRequest(server string, platform GetAppPlatformPackageAssessmentParamsPlatform, ...) (*http.Request, error)
- func NewGetAppPlatformPackageAssessmentTaskRawRequest(server string, platform GetAppPlatformPackageAssessmentTaskRawParamsPlatform, ...) (*http.Request, error)
- func NewGetAppPlatformPackageAssessmentTaskReportRequest(server string, ...) (*http.Request, error)
- func NewGetAppPlatformPackageAssessmentTaskRequest(server string, platform GetAppPlatformPackageAssessmentTaskParamsPlatform, ...) (*http.Request, error)
- func NewGetAppPlatformPackageAssessmentTaskResultsRequest(server string, ...) (*http.Request, error)
- func NewGetAppPlatformPackageBuildRequest(server string, platform GetAppPlatformPackageBuildParamsPlatform, ...) (*http.Request, error)
- func NewGetAppPlatformPackageConfigRequest(server string, platform GetAppPlatformPackageConfigParamsPlatform, ...) (*http.Request, error)
- func NewGetAppPlatformPackageRequest(server string, platform GetAppPlatformPackageParamsPlatform, pPackage string, ...) (*http.Request, error)
- func NewGetAppRequest(server string, params *GetAppParams) (*http.Request, error)
- func NewGetAssessmentRefReportHtmlRequest(server string, ref openapi_types.UUID) (*http.Request, error)
- func NewGetAssessmentRefReportJsonRequest(server string, ref openapi_types.UUID) (*http.Request, error)
- func NewGetAssessmentRefReportPdfRequest(server string, ref openapi_types.UUID) (*http.Request, error)
- func NewGetAssessmentTaskFindingsRequest(server string, task float64, params *GetAssessmentTaskFindingsParams) (*http.Request, error)
- func NewGetAssessmentTaskSummaryRequest(server string, task float32, params *GetAssessmentTaskSummaryParams) (*http.Request, error)
- func NewGetBinaryDigestAnalysisRequest(server string, digest string, params *GetBinaryDigestAnalysisParams) (*http.Request, error)
- func NewGetBuildRequest(server string, params *GetBuildParams) (*http.Request, error)
- func NewGetUserTokenRequest(server string) (*http.Request, error)
- func NewPostAppPlatformPackageAssessmentRequest(server string, platform PostAppPlatformPackageAssessmentParamsPlatform, ...) (*http.Request, error)
- func NewPostAppPlatformPackageAssessmentTaskCancelRequest(server string, ...) (*http.Request, error)
- func NewPostAppPlatformPackageBinaryRequest(server string, platform PostAppPlatformPackageBinaryParamsPlatform, ...) (*http.Request, error)
- func NewPostAppPlatformPackageConfigRequest(server string, platform PostAppPlatformPackageConfigParamsPlatform, ...) (*http.Request, error)
- func NewPostAppPlatformPackageConfigRequestWithBody(server string, platform PostAppPlatformPackageConfigParamsPlatform, ...) (*http.Request, error)
- func NewPostAppPlatformPackageRunnerRequest(server string, platform PostAppPlatformPackageRunnerParamsPlatform, ...) (*http.Request, error)
- func NewPostAppPlatformPackageRunnerRequestWithBody(server string, platform PostAppPlatformPackageRunnerParamsPlatform, ...) (*http.Request, error)
- func NewPostAppRequest(server string, params *PostAppParams, body PostAppJSONRequestBody) (*http.Request, error)
- func NewPostAppRequestWithBody(server string, params *PostAppParams, contentType string, body io.Reader) (*http.Request, error)
- func NewPostBinaryRequest(server string, params *PostBinaryParams, body PostBinaryJSONRequestBody) (*http.Request, error)
- func NewPostBinaryRequestWithBody(server string, params *PostBinaryParams, contentType string, body io.Reader) (*http.Request, error)
- func NewPostBuildPlatformPackageRequest(server string, platform PostBuildPlatformPackageParamsPlatform, ...) (*http.Request, error)
- func NewPostBuildPlatformPackageRequestWithBody(server string, platform PostBuildPlatformPackageParamsPlatform, ...) (*http.Request, error)
- func NewPostBuildRequest(server string, params *PostBuildParams, body PostBuildJSONRequestBody) (*http.Request, error)
- func NewPostBuildRequestWithBody(server string, params *PostBuildParams, contentType string, body io.Reader) (*http.Request, error)
- func NewPostLoginTokenRequest(server string) (*http.Request, error)
- func NewPostResourceChangeAppGroupAppRefFromCurrentGroupRefToNewGroupRefRequest(server string, appRef openapi_types.UUID, currentGroupRef openapi_types.UUID, ...) (*http.Request, error)
- func NewPostUserTokenRefreshRequest(server string, body PostUserTokenRefreshJSONRequestBody) (*http.Request, error)
- func NewPostUserTokenRefreshRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostUserTokenRequest(server string, body PostUserTokenJSONRequestBody) (*http.Request, error)
- func NewPostUserTokenRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func Ptr[T any](v T) *T
- type ActionResult
- type AppBuild
- type AppBuildList
- type Client
- func (c *Client) DeleteAppPlatformPackageRunner(ctx context.Context, platform DeleteAppPlatformPackageRunnerParamsPlatform, ...) (*http.Response, error)
- func (c *Client) GetAccountUser(ctx context.Context, params *GetAccountUserParams, ...) (*http.Response, error)
- func (c *Client) GetAccountUserRef(ctx context.Context, ref openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetApp(ctx context.Context, params *GetAppParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAppPlatformPackage(ctx context.Context, platform GetAppPlatformPackageParamsPlatform, ...) (*http.Response, error)
- func (c *Client) GetAppPlatformPackageAssessment(ctx context.Context, platform GetAppPlatformPackageAssessmentParamsPlatform, ...) (*http.Response, error)
- func (c *Client) GetAppPlatformPackageAssessmentTask(ctx context.Context, ...) (*http.Response, error)
- func (c *Client) GetAppPlatformPackageAssessmentTaskRaw(ctx context.Context, ...) (*http.Response, error)
- func (c *Client) GetAppPlatformPackageAssessmentTaskReport(ctx context.Context, ...) (*http.Response, error)
- func (c *Client) GetAppPlatformPackageAssessmentTaskResults(ctx context.Context, ...) (*http.Response, error)
- func (c *Client) GetAppPlatformPackageBuild(ctx context.Context, platform GetAppPlatformPackageBuildParamsPlatform, ...) (*http.Response, error)
- func (c *Client) GetAppPlatformPackageConfig(ctx context.Context, platform GetAppPlatformPackageConfigParamsPlatform, ...) (*http.Response, error)
- func (c *Client) GetAssessmentRefReportHtml(ctx context.Context, ref openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAssessmentRefReportJson(ctx context.Context, ref openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAssessmentRefReportPdf(ctx context.Context, ref openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAssessmentTaskFindings(ctx context.Context, task float64, params *GetAssessmentTaskFindingsParams, ...) (*http.Response, error)
- func (c *Client) GetAssessmentTaskSummary(ctx context.Context, task float32, params *GetAssessmentTaskSummaryParams, ...) (*http.Response, error)
- func (c *Client) GetBinaryDigestAnalysis(ctx context.Context, digest string, params *GetBinaryDigestAnalysisParams, ...) (*http.Response, error)
- func (c *Client) GetBuild(ctx context.Context, params *GetBuildParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetUserToken(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PostApp(ctx context.Context, params *PostAppParams, body PostAppJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostAppPlatformPackageAssessment(ctx context.Context, platform PostAppPlatformPackageAssessmentParamsPlatform, ...) (*http.Response, error)
- func (c *Client) PostAppPlatformPackageAssessmentTaskCancel(ctx context.Context, ...) (*http.Response, error)
- func (c *Client) PostAppPlatformPackageBinary(ctx context.Context, platform PostAppPlatformPackageBinaryParamsPlatform, ...) (*http.Response, error)
- func (c *Client) PostAppPlatformPackageConfig(ctx context.Context, platform PostAppPlatformPackageConfigParamsPlatform, ...) (*http.Response, error)
- func (c *Client) PostAppPlatformPackageConfigWithBody(ctx context.Context, platform PostAppPlatformPackageConfigParamsPlatform, ...) (*http.Response, error)
- func (c *Client) PostAppPlatformPackageRunner(ctx context.Context, platform PostAppPlatformPackageRunnerParamsPlatform, ...) (*http.Response, error)
- func (c *Client) PostAppPlatformPackageRunnerWithBody(ctx context.Context, platform PostAppPlatformPackageRunnerParamsPlatform, ...) (*http.Response, error)
- func (c *Client) PostAppWithBody(ctx context.Context, params *PostAppParams, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostBinary(ctx context.Context, params *PostBinaryParams, body PostBinaryJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostBinaryWithBody(ctx context.Context, params *PostBinaryParams, contentType string, ...) (*http.Response, error)
- func (c *Client) PostBuild(ctx context.Context, params *PostBuildParams, body PostBuildJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostBuildPlatformPackage(ctx context.Context, platform PostBuildPlatformPackageParamsPlatform, ...) (*http.Response, error)
- func (c *Client) PostBuildPlatformPackageWithBody(ctx context.Context, platform PostBuildPlatformPackageParamsPlatform, ...) (*http.Response, error)
- func (c *Client) PostBuildWithBody(ctx context.Context, params *PostBuildParams, contentType string, ...) (*http.Response, error)
- func (c *Client) PostLoginToken(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PostResourceChangeAppGroupAppRefFromCurrentGroupRefToNewGroupRef(ctx context.Context, appRef openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) PostUserToken(ctx context.Context, body PostUserTokenJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostUserTokenRefresh(ctx context.Context, body PostUserTokenRefreshJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostUserTokenRefreshWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostUserTokenWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) DeleteAppPlatformPackageRunnerWithResponse(ctx context.Context, platform DeleteAppPlatformPackageRunnerParamsPlatform, ...) (*DeleteAppPlatformPackageRunnerResponse, error)
- func (c *ClientWithResponses) GetAccountUserRefWithResponse(ctx context.Context, ref openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetAccountUserRefResponse, error)
- func (c *ClientWithResponses) GetAccountUserWithResponse(ctx context.Context, params *GetAccountUserParams, ...) (*GetAccountUserResponse, error)
- func (c *ClientWithResponses) GetAppPlatformPackageAssessmentTaskRawWithResponse(ctx context.Context, ...) (*GetAppPlatformPackageAssessmentTaskRawResponse, error)
- func (c *ClientWithResponses) GetAppPlatformPackageAssessmentTaskReportWithResponse(ctx context.Context, ...) (*GetAppPlatformPackageAssessmentTaskReportResponse, error)
- func (c *ClientWithResponses) GetAppPlatformPackageAssessmentTaskResultsWithResponse(ctx context.Context, ...) (*GetAppPlatformPackageAssessmentTaskResultsResponse, error)
- func (c *ClientWithResponses) GetAppPlatformPackageAssessmentTaskWithResponse(ctx context.Context, ...) (*GetAppPlatformPackageAssessmentTaskResponse, error)
- func (c *ClientWithResponses) GetAppPlatformPackageAssessmentWithResponse(ctx context.Context, platform GetAppPlatformPackageAssessmentParamsPlatform, ...) (*GetAppPlatformPackageAssessmentResponse, error)
- func (c *ClientWithResponses) GetAppPlatformPackageBuildWithResponse(ctx context.Context, platform GetAppPlatformPackageBuildParamsPlatform, ...) (*GetAppPlatformPackageBuildResponse, error)
- func (c *ClientWithResponses) GetAppPlatformPackageConfigWithResponse(ctx context.Context, platform GetAppPlatformPackageConfigParamsPlatform, ...) (*GetAppPlatformPackageConfigResponse, error)
- func (c *ClientWithResponses) GetAppPlatformPackageWithResponse(ctx context.Context, platform GetAppPlatformPackageParamsPlatform, ...) (*GetAppPlatformPackageResponse, error)
- func (c *ClientWithResponses) GetAppWithResponse(ctx context.Context, params *GetAppParams, reqEditors ...RequestEditorFn) (*GetAppResponse, error)
- func (c *ClientWithResponses) GetAssessmentRefReportHtmlWithResponse(ctx context.Context, ref openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetAssessmentRefReportHtmlResponse, error)
- func (c *ClientWithResponses) GetAssessmentRefReportJsonWithResponse(ctx context.Context, ref openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetAssessmentRefReportJsonResponse, error)
- func (c *ClientWithResponses) GetAssessmentRefReportPdfWithResponse(ctx context.Context, ref openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetAssessmentRefReportPdfResponse, error)
- func (c *ClientWithResponses) GetAssessmentTaskFindingsWithResponse(ctx context.Context, task float64, params *GetAssessmentTaskFindingsParams, ...) (*GetAssessmentTaskFindingsResponse, error)
- func (c *ClientWithResponses) GetAssessmentTaskSummaryWithResponse(ctx context.Context, task float32, params *GetAssessmentTaskSummaryParams, ...) (*GetAssessmentTaskSummaryResponse, error)
- func (c *ClientWithResponses) GetBinaryDigestAnalysisWithResponse(ctx context.Context, digest string, params *GetBinaryDigestAnalysisParams, ...) (*GetBinaryDigestAnalysisResponse, error)
- func (c *ClientWithResponses) GetBuildWithResponse(ctx context.Context, params *GetBuildParams, reqEditors ...RequestEditorFn) (*GetBuildResponse, error)
- func (c *ClientWithResponses) GetUserTokenWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetUserTokenResponse, error)
- func (c *ClientWithResponses) PostAppPlatformPackageAssessmentTaskCancelWithResponse(ctx context.Context, ...) (*PostAppPlatformPackageAssessmentTaskCancelResponse, error)
- func (c *ClientWithResponses) PostAppPlatformPackageAssessmentWithResponse(ctx context.Context, platform PostAppPlatformPackageAssessmentParamsPlatform, ...) (*PostAppPlatformPackageAssessmentResponse, error)
- func (c *ClientWithResponses) PostAppPlatformPackageBinaryWithResponse(ctx context.Context, platform PostAppPlatformPackageBinaryParamsPlatform, ...) (*PostAppPlatformPackageBinaryResponse, error)
- func (c *ClientWithResponses) PostAppPlatformPackageConfigWithBodyWithResponse(ctx context.Context, platform PostAppPlatformPackageConfigParamsPlatform, ...) (*PostAppPlatformPackageConfigResponse, error)
- func (c *ClientWithResponses) PostAppPlatformPackageConfigWithResponse(ctx context.Context, platform PostAppPlatformPackageConfigParamsPlatform, ...) (*PostAppPlatformPackageConfigResponse, error)
- func (c *ClientWithResponses) PostAppPlatformPackageRunnerWithBodyWithResponse(ctx context.Context, platform PostAppPlatformPackageRunnerParamsPlatform, ...) (*PostAppPlatformPackageRunnerResponse, error)
- func (c *ClientWithResponses) PostAppPlatformPackageRunnerWithResponse(ctx context.Context, platform PostAppPlatformPackageRunnerParamsPlatform, ...) (*PostAppPlatformPackageRunnerResponse, error)
- func (c *ClientWithResponses) PostAppWithBodyWithResponse(ctx context.Context, params *PostAppParams, contentType string, body io.Reader, ...) (*PostAppResponse, error)
- func (c *ClientWithResponses) PostAppWithResponse(ctx context.Context, params *PostAppParams, body PostAppJSONRequestBody, ...) (*PostAppResponse, error)
- func (c *ClientWithResponses) PostBinaryWithBodyWithResponse(ctx context.Context, params *PostBinaryParams, contentType string, ...) (*PostBinaryResponse, error)
- func (c *ClientWithResponses) PostBinaryWithResponse(ctx context.Context, params *PostBinaryParams, body PostBinaryJSONRequestBody, ...) (*PostBinaryResponse, error)
- func (c *ClientWithResponses) PostBuildPlatformPackageWithBodyWithResponse(ctx context.Context, platform PostBuildPlatformPackageParamsPlatform, ...) (*PostBuildPlatformPackageResponse, error)
- func (c *ClientWithResponses) PostBuildPlatformPackageWithResponse(ctx context.Context, platform PostBuildPlatformPackageParamsPlatform, ...) (*PostBuildPlatformPackageResponse, error)
- func (c *ClientWithResponses) PostBuildWithBodyWithResponse(ctx context.Context, params *PostBuildParams, contentType string, ...) (*PostBuildResponse, error)
- func (c *ClientWithResponses) PostBuildWithResponse(ctx context.Context, params *PostBuildParams, body PostBuildJSONRequestBody, ...) (*PostBuildResponse, error)
- func (c *ClientWithResponses) PostLoginTokenWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostLoginTokenResponse, error)
- func (c *ClientWithResponses) PostResourceChangeAppGroupAppRefFromCurrentGroupRefToNewGroupRefWithResponse(ctx context.Context, appRef openapi_types.UUID, ...) (*PostResourceChangeAppGroupAppRefFromCurrentGroupRefToNewGroupRefResponse, ...)
- func (c *ClientWithResponses) PostUserTokenRefreshWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostUserTokenRefreshResponse, error)
- func (c *ClientWithResponses) PostUserTokenRefreshWithResponse(ctx context.Context, body PostUserTokenRefreshJSONRequestBody, ...) (*PostUserTokenRefreshResponse, error)
- func (c *ClientWithResponses) PostUserTokenWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostUserTokenResponse, error)
- func (c *ClientWithResponses) PostUserTokenWithResponse(ctx context.Context, body PostUserTokenJSONRequestBody, ...) (*PostUserTokenResponse, error)
- type ClientWithResponsesInterface
- type DeleteAppPlatformPackageRunnerParams
- type DeleteAppPlatformPackageRunnerParamsPlatform
- type DeleteAppPlatformPackageRunnerResponse
- type GetAccountUserParams
- type GetAccountUserParamsDomain0
- type GetAccountUserParamsDomain1
- type GetAccountUserParamsExcludeRole0
- type GetAccountUserParamsExcludeRole00
- type GetAccountUserParamsExcludeRole1
- type GetAccountUserParamsExcludeRole01
- type GetAccountUserParamsExcludeRole02
- type GetAccountUserParamsExcludeRole03
- type GetAccountUserParamsExcludeRole04
- type GetAccountUserParamsExcludeRole05
- type GetAccountUserParamsExcludeRole06
- type GetAccountUserParamsExcludeRole07
- type GetAccountUserParamsExcludeRole08
- type GetAccountUserParamsExcludeRole09
- type GetAccountUserParamsExcludeRole10
- type GetAccountUserParamsExcludeRole010
- type GetAccountUserParamsExcludeRole11
- type GetAccountUserParamsExcludeRole011
- type GetAccountUserParamsExcludeRole12
- type GetAccountUserParamsExcludeRole012
- type GetAccountUserParamsExcludeRole13
- type GetAccountUserParamsExcludeRole013
- type GetAccountUserParamsExcludeRole14
- type GetAccountUserParamsExcludeRole15
- type GetAccountUserParamsExcludeRole16
- type GetAccountUserParamsExcludeRole17
- type GetAccountUserParamsExcludeRole18
- type GetAccountUserParamsExcludeRole19
- type GetAccountUserParamsExcludeRole110
- type GetAccountUserParamsExcludeRole111
- type GetAccountUserParamsExcludeRole112
- type GetAccountUserParamsExcludeRole113
- type GetAccountUserParams_ExcludeRole_1_Item
- type GetAccountUserRefResponse
- type GetAccountUserResponse
- type GetAppParams
- type GetAppParamsPlatform
- type GetAppPlatformPackageAssessment2XXAppstoreDownload
- type GetAppPlatformPackageAssessment2XXTaskStatus
- type GetAppPlatformPackageAssessmentParams
- type GetAppPlatformPackageAssessmentParamsPlatform
- type GetAppPlatformPackageAssessmentResponse
- type GetAppPlatformPackageAssessmentTask2XXAppstoreDownload
- type GetAppPlatformPackageAssessmentTask2XXTaskStatus
- type GetAppPlatformPackageAssessmentTaskParams
- type GetAppPlatformPackageAssessmentTaskParamsPlatform
- type GetAppPlatformPackageAssessmentTaskRawParams
- type GetAppPlatformPackageAssessmentTaskRawParamsPlatform
- type GetAppPlatformPackageAssessmentTaskRawResponse
- type GetAppPlatformPackageAssessmentTaskReportParams
- type GetAppPlatformPackageAssessmentTaskReportParamsPlatform
- type GetAppPlatformPackageAssessmentTaskReportResponse
- type GetAppPlatformPackageAssessmentTaskResponse
- type GetAppPlatformPackageAssessmentTaskResults2XX0
- type GetAppPlatformPackageAssessmentTaskResults2XX0Kind
- type GetAppPlatformPackageAssessmentTaskResults2XX1
- type GetAppPlatformPackageAssessmentTaskResults2XX1Kind
- type GetAppPlatformPackageAssessmentTaskResultsParams
- type GetAppPlatformPackageAssessmentTaskResultsParamsPlatform
- type GetAppPlatformPackageAssessmentTaskResultsResponse
- type GetAppPlatformPackageAssessmentTaskResults_2XX_0_Issue
- type GetAppPlatformPackageAssessmentTaskResults_2XX_0_Item
- type GetAppPlatformPackageAssessmentTaskResults_2XX_1_Item
- type GetAppPlatformPackageBuildParams
- type GetAppPlatformPackageBuildParamsPlatform
- type GetAppPlatformPackageBuildResponse
- type GetAppPlatformPackageConfigParams
- type GetAppPlatformPackageConfigParamsPlatform
- type GetAppPlatformPackageConfigResponse
- type GetAppPlatformPackageParams
- type GetAppPlatformPackageParamsPlatform
- type GetAppPlatformPackageResponse
- type GetAppResponse
- type GetAssessmentParams
- type GetAssessmentRefReportHtmlResponse
- type GetAssessmentRefReportJsonResponse
- type GetAssessmentRefReportPdfResponse
- type GetAssessmentTaskFindings2XXAnalysisType
- type GetAssessmentTaskFindingsParams
- type GetAssessmentTaskFindingsParamsReport
- type GetAssessmentTaskFindingsResponse
- type GetAssessmentTaskFindings_2XX_Item
- type GetAssessmentTaskSummary2XXCvssVersion
- type GetAssessmentTaskSummary2XXStatus
- type GetAssessmentTaskSummaryParams
- type GetAssessmentTaskSummaryResponse
- type GetBinaryDigestAnalysis2XX0
- type GetBinaryDigestAnalysis2XX0Status0
- type GetBinaryDigestAnalysis2XX0Status1
- type GetBinaryDigestAnalysis2XX0Status2
- type GetBinaryDigestAnalysis2XX0Status3
- type GetBinaryDigestAnalysis2XX0Status4
- type GetBinaryDigestAnalysis2XX1
- type GetBinaryDigestAnalysis2XX1Status
- type GetBinaryDigestAnalysisParams
- type GetBinaryDigestAnalysisResponse
- type GetBinaryDigestAnalysis_2XX_0_Status
- type GetBinaryDigestAnalysis_2XX_Item
- type GetBuildParams
- type GetBuildResponse
- type GetUserTokenResponse
- type HttpRequestDoer
- type LabApp
- type LabAppConfigDynamic0
- type LabAppConfigDynamic1
- type LabAppConfigDynamic2
- type LabAppConfigLevel
- type LabAppConfigStatic0
- type LabAppConfigStatic1
- type LabAppConfigStatic2
- type LabAppPlatform
- type LabApp_Config_Dynamic
- func (t LabApp_Config_Dynamic) AsLabAppConfigDynamic0() (LabAppConfigDynamic0, error)
- func (t LabApp_Config_Dynamic) AsLabAppConfigDynamic1() (LabAppConfigDynamic1, error)
- func (t LabApp_Config_Dynamic) AsLabAppConfigDynamic2() (LabAppConfigDynamic2, error)
- func (t *LabApp_Config_Dynamic) FromLabAppConfigDynamic0(v LabAppConfigDynamic0) error
- func (t *LabApp_Config_Dynamic) FromLabAppConfigDynamic1(v LabAppConfigDynamic1) error
- func (t *LabApp_Config_Dynamic) FromLabAppConfigDynamic2(v LabAppConfigDynamic2) error
- func (t LabApp_Config_Dynamic) MarshalJSON() ([]byte, error)
- func (t *LabApp_Config_Dynamic) MergeLabAppConfigDynamic0(v LabAppConfigDynamic0) error
- func (t *LabApp_Config_Dynamic) MergeLabAppConfigDynamic1(v LabAppConfigDynamic1) error
- func (t *LabApp_Config_Dynamic) MergeLabAppConfigDynamic2(v LabAppConfigDynamic2) error
- func (t *LabApp_Config_Dynamic) UnmarshalJSON(b []byte) error
- type LabApp_Config_Static
- func (t LabApp_Config_Static) AsLabAppConfigStatic0() (LabAppConfigStatic0, error)
- func (t LabApp_Config_Static) AsLabAppConfigStatic1() (LabAppConfigStatic1, error)
- func (t LabApp_Config_Static) AsLabAppConfigStatic2() (LabAppConfigStatic2, error)
- func (t *LabApp_Config_Static) FromLabAppConfigStatic0(v LabAppConfigStatic0) error
- func (t *LabApp_Config_Static) FromLabAppConfigStatic1(v LabAppConfigStatic1) error
- func (t *LabApp_Config_Static) FromLabAppConfigStatic2(v LabAppConfigStatic2) error
- func (t LabApp_Config_Static) MarshalJSON() ([]byte, error)
- func (t *LabApp_Config_Static) MergeLabAppConfigStatic0(v LabAppConfigStatic0) error
- func (t *LabApp_Config_Static) MergeLabAppConfigStatic1(v LabAppConfigStatic1) error
- func (t *LabApp_Config_Static) MergeLabAppConfigStatic2(v LabAppConfigStatic2) error
- func (t *LabApp_Config_Static) UnmarshalJSON(b []byte) error
- type LabRouteError
- func (w *LabRouteError) Error() string
- func (w *LabRouteError) ExitCode() int
- func (a LabRouteError) Get(fieldName string) (value interface{}, found bool)
- func (a LabRouteError) MarshalJSON() ([]byte, error)
- func (a *LabRouteError) Set(fieldName string, value interface{})
- func (w *LabRouteError) StatusCode() (int, error)
- func (a *LabRouteError) UnmarshalJSON(b []byte) error
- type LoggingDoer
- type PostAppJSONBody
- type PostAppJSONBodyPlatform
- type PostAppJSONRequestBody
- type PostAppParams
- type PostAppPlatformPackageAssessment2XXAppstoreDownload
- type PostAppPlatformPackageAssessment2XXTaskStatus
- type PostAppPlatformPackageAssessmentParams
- type PostAppPlatformPackageAssessmentParamsAnalysisType
- type PostAppPlatformPackageAssessmentParamsPlatform
- type PostAppPlatformPackageAssessmentResponse
- type PostAppPlatformPackageAssessmentTaskCancel2XXStatus
- type PostAppPlatformPackageAssessmentTaskCancelParamsPlatform
- type PostAppPlatformPackageAssessmentTaskCancelResponse
- type PostAppPlatformPackageBinaryParams
- type PostAppPlatformPackageBinaryParamsPlatform
- type PostAppPlatformPackageBinaryResponse
- type PostAppPlatformPackageConfigJSONBody
- type PostAppPlatformPackageConfigJSONRequestBody
- type PostAppPlatformPackageConfigParams
- type PostAppPlatformPackageConfigParamsPlatform
- type PostAppPlatformPackageConfigResponse
- type PostAppPlatformPackageRunnerJSONBody
- type PostAppPlatformPackageRunnerJSONRequestBody
- type PostAppPlatformPackageRunnerParams
- type PostAppPlatformPackageRunnerParamsPlatform
- type PostAppPlatformPackageRunnerResponse
- type PostAppResponse
- type PostBinaryJSONBody
- type PostBinaryJSONRequestBody
- type PostBinaryParams
- type PostBinaryResponse
- type PostBuild2XX0
- type PostBuild2XX1
- type PostBuild2XX1AppstoreDownload
- type PostBuild2XX1TaskStatus
- type PostBuildJSONBody
- type PostBuildJSONRequestBody
- type PostBuildParams
- type PostBuildParamsAnalysisType
- type PostBuildPlatformPackageJSONBody
- type PostBuildPlatformPackageJSONRequestBody
- type PostBuildPlatformPackageParams
- type PostBuildPlatformPackageParamsPlatform
- type PostBuildPlatformPackageResponse
- type PostBuildResponse
- type PostLoginTokenResponse
- type PostResourceChangeAppGroupAppRefFromCurrentGroupRefToNewGroupRefResponse
- type PostUserTokenJSONBody
- type PostUserTokenJSONRequestBody
- type PostUserTokenRefreshJSONBody
- type PostUserTokenRefreshJSONRequestBody
- type PostUserTokenRefreshResponse
- type PostUserTokenResponse
- type RequestEditorFn
- type StandardError
- type Status
- type TriggerAssessmentParams
- type UploadFileParams
Constants ¶
const (
BearerAuthScopes = "bearerAuth.Scopes"
)
Variables ¶
This section is empty.
Functions ¶
func GetFindings ¶
func GetFindings(ctx context.Context, client *ClientWithResponses, task float64) (*[]GetAssessmentTaskFindings_2XX_Item, error)
func NewDeleteAppPlatformPackageRunnerRequest ¶
func NewDeleteAppPlatformPackageRunnerRequest(server string, platform DeleteAppPlatformPackageRunnerParamsPlatform, pPackage string, params *DeleteAppPlatformPackageRunnerParams) (*http.Request, error)
NewDeleteAppPlatformPackageRunnerRequest generates requests for DeleteAppPlatformPackageRunner
func NewGetAccountUserRefRequest ¶
NewGetAccountUserRefRequest generates requests for GetAccountUserRef
func NewGetAccountUserRequest ¶
func NewGetAccountUserRequest(server string, params *GetAccountUserParams) (*http.Request, error)
NewGetAccountUserRequest generates requests for GetAccountUser
func NewGetAppPlatformPackageAssessmentRequest ¶
func NewGetAppPlatformPackageAssessmentRequest(server string, platform GetAppPlatformPackageAssessmentParamsPlatform, pPackage string, params *GetAppPlatformPackageAssessmentParams) (*http.Request, error)
NewGetAppPlatformPackageAssessmentRequest generates requests for GetAppPlatformPackageAssessment
func NewGetAppPlatformPackageAssessmentTaskRawRequest ¶
func NewGetAppPlatformPackageAssessmentTaskRawRequest(server string, platform GetAppPlatformPackageAssessmentTaskRawParamsPlatform, pPackage string, task int, params *GetAppPlatformPackageAssessmentTaskRawParams) (*http.Request, error)
NewGetAppPlatformPackageAssessmentTaskRawRequest generates requests for GetAppPlatformPackageAssessmentTaskRaw
func NewGetAppPlatformPackageAssessmentTaskReportRequest ¶
func NewGetAppPlatformPackageAssessmentTaskReportRequest(server string, platform GetAppPlatformPackageAssessmentTaskReportParamsPlatform, pPackage string, task int, params *GetAppPlatformPackageAssessmentTaskReportParams) (*http.Request, error)
NewGetAppPlatformPackageAssessmentTaskReportRequest generates requests for GetAppPlatformPackageAssessmentTaskReport
func NewGetAppPlatformPackageAssessmentTaskRequest ¶
func NewGetAppPlatformPackageAssessmentTaskRequest(server string, platform GetAppPlatformPackageAssessmentTaskParamsPlatform, pPackage string, task int, params *GetAppPlatformPackageAssessmentTaskParams) (*http.Request, error)
NewGetAppPlatformPackageAssessmentTaskRequest generates requests for GetAppPlatformPackageAssessmentTask
func NewGetAppPlatformPackageAssessmentTaskResultsRequest ¶
func NewGetAppPlatformPackageAssessmentTaskResultsRequest(server string, platform GetAppPlatformPackageAssessmentTaskResultsParamsPlatform, pPackage string, task int, params *GetAppPlatformPackageAssessmentTaskResultsParams) (*http.Request, error)
NewGetAppPlatformPackageAssessmentTaskResultsRequest generates requests for GetAppPlatformPackageAssessmentTaskResults
func NewGetAppPlatformPackageBuildRequest ¶
func NewGetAppPlatformPackageBuildRequest(server string, platform GetAppPlatformPackageBuildParamsPlatform, pPackage string, params *GetAppPlatformPackageBuildParams) (*http.Request, error)
NewGetAppPlatformPackageBuildRequest generates requests for GetAppPlatformPackageBuild
func NewGetAppPlatformPackageConfigRequest ¶
func NewGetAppPlatformPackageConfigRequest(server string, platform GetAppPlatformPackageConfigParamsPlatform, pPackage string, params *GetAppPlatformPackageConfigParams) (*http.Request, error)
NewGetAppPlatformPackageConfigRequest generates requests for GetAppPlatformPackageConfig
func NewGetAppPlatformPackageRequest ¶
func NewGetAppPlatformPackageRequest(server string, platform GetAppPlatformPackageParamsPlatform, pPackage string, params *GetAppPlatformPackageParams) (*http.Request, error)
NewGetAppPlatformPackageRequest generates requests for GetAppPlatformPackage
func NewGetAppRequest ¶
func NewGetAppRequest(server string, params *GetAppParams) (*http.Request, error)
NewGetAppRequest generates requests for GetApp
func NewGetAssessmentRefReportHtmlRequest ¶
func NewGetAssessmentRefReportHtmlRequest(server string, ref openapi_types.UUID) (*http.Request, error)
NewGetAssessmentRefReportHtmlRequest generates requests for GetAssessmentRefReportHtml
func NewGetAssessmentRefReportJsonRequest ¶
func NewGetAssessmentRefReportJsonRequest(server string, ref openapi_types.UUID) (*http.Request, error)
NewGetAssessmentRefReportJsonRequest generates requests for GetAssessmentRefReportJson
func NewGetAssessmentRefReportPdfRequest ¶
func NewGetAssessmentRefReportPdfRequest(server string, ref openapi_types.UUID) (*http.Request, error)
NewGetAssessmentRefReportPdfRequest generates requests for GetAssessmentRefReportPdf
func NewGetAssessmentTaskFindingsRequest ¶
func NewGetAssessmentTaskFindingsRequest(server string, task float64, params *GetAssessmentTaskFindingsParams) (*http.Request, error)
NewGetAssessmentTaskFindingsRequest generates requests for GetAssessmentTaskFindings
func NewGetAssessmentTaskSummaryRequest ¶
func NewGetAssessmentTaskSummaryRequest(server string, task float32, params *GetAssessmentTaskSummaryParams) (*http.Request, error)
NewGetAssessmentTaskSummaryRequest generates requests for GetAssessmentTaskSummary
func NewGetBinaryDigestAnalysisRequest ¶
func NewGetBinaryDigestAnalysisRequest(server string, digest string, params *GetBinaryDigestAnalysisParams) (*http.Request, error)
NewGetBinaryDigestAnalysisRequest generates requests for GetBinaryDigestAnalysis
func NewGetBuildRequest ¶
func NewGetBuildRequest(server string, params *GetBuildParams) (*http.Request, error)
NewGetBuildRequest generates requests for GetBuild
func NewGetUserTokenRequest ¶
NewGetUserTokenRequest generates requests for GetUserToken
func NewPostAppPlatformPackageAssessmentRequest ¶
func NewPostAppPlatformPackageAssessmentRequest(server string, platform PostAppPlatformPackageAssessmentParamsPlatform, pPackage string, params *PostAppPlatformPackageAssessmentParams) (*http.Request, error)
NewPostAppPlatformPackageAssessmentRequest generates requests for PostAppPlatformPackageAssessment
func NewPostAppPlatformPackageAssessmentTaskCancelRequest ¶
func NewPostAppPlatformPackageAssessmentTaskCancelRequest(server string, platform PostAppPlatformPackageAssessmentTaskCancelParamsPlatform, pPackage string, task float32) (*http.Request, error)
NewPostAppPlatformPackageAssessmentTaskCancelRequest generates requests for PostAppPlatformPackageAssessmentTaskCancel
func NewPostAppPlatformPackageBinaryRequest ¶
func NewPostAppPlatformPackageBinaryRequest(server string, platform PostAppPlatformPackageBinaryParamsPlatform, pPackage string, params *PostAppPlatformPackageBinaryParams) (*http.Request, error)
NewPostAppPlatformPackageBinaryRequest generates requests for PostAppPlatformPackageBinary
func NewPostAppPlatformPackageConfigRequest ¶
func NewPostAppPlatformPackageConfigRequest(server string, platform PostAppPlatformPackageConfigParamsPlatform, pPackage string, params *PostAppPlatformPackageConfigParams, body PostAppPlatformPackageConfigJSONRequestBody) (*http.Request, error)
NewPostAppPlatformPackageConfigRequest calls the generic PostAppPlatformPackageConfig builder with application/json body
func NewPostAppPlatformPackageConfigRequestWithBody ¶
func NewPostAppPlatformPackageConfigRequestWithBody(server string, platform PostAppPlatformPackageConfigParamsPlatform, pPackage string, params *PostAppPlatformPackageConfigParams, contentType string, body io.Reader) (*http.Request, error)
NewPostAppPlatformPackageConfigRequestWithBody generates requests for PostAppPlatformPackageConfig with any type of body
func NewPostAppPlatformPackageRunnerRequest ¶
func NewPostAppPlatformPackageRunnerRequest(server string, platform PostAppPlatformPackageRunnerParamsPlatform, pPackage string, params *PostAppPlatformPackageRunnerParams, body PostAppPlatformPackageRunnerJSONRequestBody) (*http.Request, error)
NewPostAppPlatformPackageRunnerRequest calls the generic PostAppPlatformPackageRunner builder with application/json body
func NewPostAppPlatformPackageRunnerRequestWithBody ¶
func NewPostAppPlatformPackageRunnerRequestWithBody(server string, platform PostAppPlatformPackageRunnerParamsPlatform, pPackage string, params *PostAppPlatformPackageRunnerParams, contentType string, body io.Reader) (*http.Request, error)
NewPostAppPlatformPackageRunnerRequestWithBody generates requests for PostAppPlatformPackageRunner with any type of body
func NewPostAppRequest ¶
func NewPostAppRequest(server string, params *PostAppParams, body PostAppJSONRequestBody) (*http.Request, error)
NewPostAppRequest calls the generic PostApp builder with application/json body
func NewPostAppRequestWithBody ¶
func NewPostAppRequestWithBody(server string, params *PostAppParams, contentType string, body io.Reader) (*http.Request, error)
NewPostAppRequestWithBody generates requests for PostApp with any type of body
func NewPostBinaryRequest ¶
func NewPostBinaryRequest(server string, params *PostBinaryParams, body PostBinaryJSONRequestBody) (*http.Request, error)
NewPostBinaryRequest calls the generic PostBinary builder with application/json body
func NewPostBinaryRequestWithBody ¶
func NewPostBinaryRequestWithBody(server string, params *PostBinaryParams, contentType string, body io.Reader) (*http.Request, error)
NewPostBinaryRequestWithBody generates requests for PostBinary with any type of body
func NewPostBuildPlatformPackageRequest ¶
func NewPostBuildPlatformPackageRequest(server string, platform PostBuildPlatformPackageParamsPlatform, pPackage string, params *PostBuildPlatformPackageParams, body PostBuildPlatformPackageJSONRequestBody) (*http.Request, error)
NewPostBuildPlatformPackageRequest calls the generic PostBuildPlatformPackage builder with application/json body
func NewPostBuildPlatformPackageRequestWithBody ¶
func NewPostBuildPlatformPackageRequestWithBody(server string, platform PostBuildPlatformPackageParamsPlatform, pPackage string, params *PostBuildPlatformPackageParams, contentType string, body io.Reader) (*http.Request, error)
NewPostBuildPlatformPackageRequestWithBody generates requests for PostBuildPlatformPackage with any type of body
func NewPostBuildRequest ¶
func NewPostBuildRequest(server string, params *PostBuildParams, body PostBuildJSONRequestBody) (*http.Request, error)
NewPostBuildRequest calls the generic PostBuild builder with application/json body
func NewPostBuildRequestWithBody ¶
func NewPostBuildRequestWithBody(server string, params *PostBuildParams, contentType string, body io.Reader) (*http.Request, error)
NewPostBuildRequestWithBody generates requests for PostBuild with any type of body
func NewPostLoginTokenRequest ¶
NewPostLoginTokenRequest generates requests for PostLoginToken
func NewPostResourceChangeAppGroupAppRefFromCurrentGroupRefToNewGroupRefRequest ¶
func NewPostResourceChangeAppGroupAppRefFromCurrentGroupRefToNewGroupRefRequest(server string, appRef openapi_types.UUID, currentGroupRef openapi_types.UUID, newGroupRef openapi_types.UUID) (*http.Request, error)
NewPostResourceChangeAppGroupAppRefFromCurrentGroupRefToNewGroupRefRequest generates requests for PostResourceChangeAppGroupAppRefFromCurrentGroupRefToNewGroupRef
func NewPostUserTokenRefreshRequest ¶
func NewPostUserTokenRefreshRequest(server string, body PostUserTokenRefreshJSONRequestBody) (*http.Request, error)
NewPostUserTokenRefreshRequest calls the generic PostUserTokenRefresh builder with application/json body
func NewPostUserTokenRefreshRequestWithBody ¶
func NewPostUserTokenRefreshRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPostUserTokenRefreshRequestWithBody generates requests for PostUserTokenRefresh with any type of body
func NewPostUserTokenRequest ¶
func NewPostUserTokenRequest(server string, body PostUserTokenJSONRequestBody) (*http.Request, error)
NewPostUserTokenRequest calls the generic PostUserToken builder with application/json body
Types ¶
type ActionResult ¶
type ActionResult struct {
// Success The success of the operation.
Success bool `json:"success"`
}
ActionResult defines model for ActionResult.
type AppBuild ¶
type AppBuild struct {
// Account Deprecated. Use group instead.
Account openapi_types.UUID `json:"account"`
// Analyzed True if the last analysis of this application has completed.
Analyzed *bool `json:"analyzed,omitempty"`
// Created Creation date of the application record.
Created time.Time `json:"created"`
// Digest The SHA-256 digest of the analyzed binary. Note that some applications are repackaged prior to analysis, so this digest may differ from the digest of the uploaded file.
Digest string `json:"digest"`
// DownloadedAppstoreApplicationKey The App store / Play store key for applications downloaded from a store.
DownloadedAppstoreApplicationKey *string `json:"downloaded_appstore_application_key,omitempty"`
// Group The UUID identifier of the group this application belongs to.
Group openapi_types.UUID `json:"group"`
// Icon The icon of the application in base64 format.
Icon *string `json:"icon,omitempty"`
// Package The package or bundle ID.
Package string `json:"package"`
// Platform The operating system of the application (android or ios).
Platform *string `json:"platform,omitempty"`
// Ref The UUID identifier of the application binary.
Ref openapi_types.UUID `json:"ref"`
// Title The application title.
Title *string `json:"title,omitempty"`
// Uploaded The date-time the binary was uploaded.
Uploaded *string `json:"uploaded,omitempty"`
// Uploader The UUID identifier of the user who uploaded the application.
Uploader *string `json:"uploader,omitempty"`
// Version The application version string.
Version *string `json:"version,omitempty"`
AdditionalProperties map[string]interface{} `json:"-"`
}
AppBuild Builds refer to application binaries either uploaded by the user or downloaded from a store.
func (AppBuild) Get ¶
Getter for additional properties for AppBuild. Returns the specified element and whether it was found
func (AppBuild) MarshalJSON ¶
Override default JSON handling for AppBuild to handle AdditionalProperties
func (*AppBuild) UnmarshalJSON ¶
Override default JSON handling for AppBuild to handle AdditionalProperties
type Client ¶
type Client struct {
// The endpoint of the server conforming to this interface, with scheme,
// https://api.deepmap.com for example. This can contain a path relative
// to the server, such as https://api.deepmap.com/dev-test, and all the
// paths in the swagger spec will be appended to the server.
Server string
// Doer for performing requests, typically a *http.Client with any
// customized settings, such as certificate chains.
Client HttpRequestDoer
// A list of callbacks for modifying requests which are generated before sending over
// the network.
RequestEditors []RequestEditorFn
}
Client which conforms to the OpenAPI3 specification for this service.
func NewClient ¶
func NewClient(server string, opts ...ClientOption) (*Client, error)
Creates a new Client, with reasonable defaults
func (*Client) DeleteAppPlatformPackageRunner ¶
func (c *Client) DeleteAppPlatformPackageRunner(ctx context.Context, platform DeleteAppPlatformPackageRunnerParamsPlatform, pPackage string, params *DeleteAppPlatformPackageRunnerParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetAccountUser ¶
func (c *Client) GetAccountUser(ctx context.Context, params *GetAccountUserParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetAccountUserRef ¶
func (c *Client) GetAccountUserRef(ctx context.Context, ref openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetApp ¶
func (c *Client) GetApp(ctx context.Context, params *GetAppParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetAppPlatformPackage ¶
func (c *Client) GetAppPlatformPackage(ctx context.Context, platform GetAppPlatformPackageParamsPlatform, pPackage string, params *GetAppPlatformPackageParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetAppPlatformPackageAssessment ¶
func (c *Client) GetAppPlatformPackageAssessment(ctx context.Context, platform GetAppPlatformPackageAssessmentParamsPlatform, pPackage string, params *GetAppPlatformPackageAssessmentParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetAppPlatformPackageAssessmentTask ¶
func (c *Client) GetAppPlatformPackageAssessmentTask(ctx context.Context, platform GetAppPlatformPackageAssessmentTaskParamsPlatform, pPackage string, task int, params *GetAppPlatformPackageAssessmentTaskParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetAppPlatformPackageAssessmentTaskRaw ¶
func (c *Client) GetAppPlatformPackageAssessmentTaskRaw(ctx context.Context, platform GetAppPlatformPackageAssessmentTaskRawParamsPlatform, pPackage string, task int, params *GetAppPlatformPackageAssessmentTaskRawParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetAppPlatformPackageAssessmentTaskReport ¶
func (c *Client) GetAppPlatformPackageAssessmentTaskReport(ctx context.Context, platform GetAppPlatformPackageAssessmentTaskReportParamsPlatform, pPackage string, task int, params *GetAppPlatformPackageAssessmentTaskReportParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetAppPlatformPackageAssessmentTaskResults ¶
func (c *Client) GetAppPlatformPackageAssessmentTaskResults(ctx context.Context, platform GetAppPlatformPackageAssessmentTaskResultsParamsPlatform, pPackage string, task int, params *GetAppPlatformPackageAssessmentTaskResultsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetAppPlatformPackageBuild ¶
func (c *Client) GetAppPlatformPackageBuild(ctx context.Context, platform GetAppPlatformPackageBuildParamsPlatform, pPackage string, params *GetAppPlatformPackageBuildParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetAppPlatformPackageConfig ¶
func (c *Client) GetAppPlatformPackageConfig(ctx context.Context, platform GetAppPlatformPackageConfigParamsPlatform, pPackage string, params *GetAppPlatformPackageConfigParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetAssessmentRefReportHtml ¶
func (c *Client) GetAssessmentRefReportHtml(ctx context.Context, ref openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetAssessmentRefReportJson ¶
func (c *Client) GetAssessmentRefReportJson(ctx context.Context, ref openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetAssessmentRefReportPdf ¶
func (c *Client) GetAssessmentRefReportPdf(ctx context.Context, ref openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetAssessmentTaskFindings ¶
func (c *Client) GetAssessmentTaskFindings(ctx context.Context, task float64, params *GetAssessmentTaskFindingsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetAssessmentTaskSummary ¶
func (c *Client) GetAssessmentTaskSummary(ctx context.Context, task float32, params *GetAssessmentTaskSummaryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetBinaryDigestAnalysis ¶
func (c *Client) GetBinaryDigestAnalysis(ctx context.Context, digest string, params *GetBinaryDigestAnalysisParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetBuild ¶
func (c *Client) GetBuild(ctx context.Context, params *GetBuildParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetUserToken ¶
func (*Client) PostApp ¶
func (c *Client) PostApp(ctx context.Context, params *PostAppParams, body PostAppJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostAppPlatformPackageAssessment ¶
func (c *Client) PostAppPlatformPackageAssessment(ctx context.Context, platform PostAppPlatformPackageAssessmentParamsPlatform, pPackage string, params *PostAppPlatformPackageAssessmentParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostAppPlatformPackageAssessmentTaskCancel ¶
func (c *Client) PostAppPlatformPackageAssessmentTaskCancel(ctx context.Context, platform PostAppPlatformPackageAssessmentTaskCancelParamsPlatform, pPackage string, task float32, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostAppPlatformPackageBinary ¶
func (c *Client) PostAppPlatformPackageBinary(ctx context.Context, platform PostAppPlatformPackageBinaryParamsPlatform, pPackage string, params *PostAppPlatformPackageBinaryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostAppPlatformPackageConfig ¶
func (c *Client) PostAppPlatformPackageConfig(ctx context.Context, platform PostAppPlatformPackageConfigParamsPlatform, pPackage string, params *PostAppPlatformPackageConfigParams, body PostAppPlatformPackageConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostAppPlatformPackageConfigWithBody ¶
func (c *Client) PostAppPlatformPackageConfigWithBody(ctx context.Context, platform PostAppPlatformPackageConfigParamsPlatform, pPackage string, params *PostAppPlatformPackageConfigParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostAppPlatformPackageRunner ¶
func (c *Client) PostAppPlatformPackageRunner(ctx context.Context, platform PostAppPlatformPackageRunnerParamsPlatform, pPackage string, params *PostAppPlatformPackageRunnerParams, body PostAppPlatformPackageRunnerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostAppPlatformPackageRunnerWithBody ¶
func (c *Client) PostAppPlatformPackageRunnerWithBody(ctx context.Context, platform PostAppPlatformPackageRunnerParamsPlatform, pPackage string, params *PostAppPlatformPackageRunnerParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostAppWithBody ¶
func (*Client) PostBinary ¶
func (c *Client) PostBinary(ctx context.Context, params *PostBinaryParams, body PostBinaryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostBinaryWithBody ¶
func (*Client) PostBuild ¶
func (c *Client) PostBuild(ctx context.Context, params *PostBuildParams, body PostBuildJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostBuildPlatformPackage ¶
func (c *Client) PostBuildPlatformPackage(ctx context.Context, platform PostBuildPlatformPackageParamsPlatform, pPackage string, params *PostBuildPlatformPackageParams, body PostBuildPlatformPackageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostBuildPlatformPackageWithBody ¶
func (c *Client) PostBuildPlatformPackageWithBody(ctx context.Context, platform PostBuildPlatformPackageParamsPlatform, pPackage string, params *PostBuildPlatformPackageParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostBuildWithBody ¶
func (*Client) PostLoginToken ¶
func (*Client) PostResourceChangeAppGroupAppRefFromCurrentGroupRefToNewGroupRef ¶
func (c *Client) PostResourceChangeAppGroupAppRefFromCurrentGroupRefToNewGroupRef(ctx context.Context, appRef openapi_types.UUID, currentGroupRef openapi_types.UUID, newGroupRef openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostUserToken ¶
func (c *Client) PostUserToken(ctx context.Context, body PostUserTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostUserTokenRefresh ¶
func (c *Client) PostUserTokenRefresh(ctx context.Context, body PostUserTokenRefreshJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostUserTokenRefreshWithBody ¶
type ClientInterface ¶
type ClientInterface interface {
// GetAccountUser request
GetAccountUser(ctx context.Context, params *GetAccountUserParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAccountUserRef request
GetAccountUserRef(ctx context.Context, ref openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetApp request
GetApp(ctx context.Context, params *GetAppParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostAppWithBody request with any body
PostAppWithBody(ctx context.Context, params *PostAppParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostApp(ctx context.Context, params *PostAppParams, body PostAppJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAppPlatformPackage request
GetAppPlatformPackage(ctx context.Context, platform GetAppPlatformPackageParamsPlatform, pPackage string, params *GetAppPlatformPackageParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAppPlatformPackageAssessment request
GetAppPlatformPackageAssessment(ctx context.Context, platform GetAppPlatformPackageAssessmentParamsPlatform, pPackage string, params *GetAppPlatformPackageAssessmentParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostAppPlatformPackageAssessment request
PostAppPlatformPackageAssessment(ctx context.Context, platform PostAppPlatformPackageAssessmentParamsPlatform, pPackage string, params *PostAppPlatformPackageAssessmentParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAppPlatformPackageAssessmentTask request
GetAppPlatformPackageAssessmentTask(ctx context.Context, platform GetAppPlatformPackageAssessmentTaskParamsPlatform, pPackage string, task int, params *GetAppPlatformPackageAssessmentTaskParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAppPlatformPackageAssessmentTaskRaw request
GetAppPlatformPackageAssessmentTaskRaw(ctx context.Context, platform GetAppPlatformPackageAssessmentTaskRawParamsPlatform, pPackage string, task int, params *GetAppPlatformPackageAssessmentTaskRawParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostAppPlatformPackageAssessmentTaskCancel request
PostAppPlatformPackageAssessmentTaskCancel(ctx context.Context, platform PostAppPlatformPackageAssessmentTaskCancelParamsPlatform, pPackage string, task float32, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAppPlatformPackageAssessmentTaskReport request
GetAppPlatformPackageAssessmentTaskReport(ctx context.Context, platform GetAppPlatformPackageAssessmentTaskReportParamsPlatform, pPackage string, task int, params *GetAppPlatformPackageAssessmentTaskReportParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAppPlatformPackageAssessmentTaskResults request
GetAppPlatformPackageAssessmentTaskResults(ctx context.Context, platform GetAppPlatformPackageAssessmentTaskResultsParamsPlatform, pPackage string, task int, params *GetAppPlatformPackageAssessmentTaskResultsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostAppPlatformPackageBinary request
PostAppPlatformPackageBinary(ctx context.Context, platform PostAppPlatformPackageBinaryParamsPlatform, pPackage string, params *PostAppPlatformPackageBinaryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAppPlatformPackageBuild request
GetAppPlatformPackageBuild(ctx context.Context, platform GetAppPlatformPackageBuildParamsPlatform, pPackage string, params *GetAppPlatformPackageBuildParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAppPlatformPackageConfig request
GetAppPlatformPackageConfig(ctx context.Context, platform GetAppPlatformPackageConfigParamsPlatform, pPackage string, params *GetAppPlatformPackageConfigParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostAppPlatformPackageConfigWithBody request with any body
PostAppPlatformPackageConfigWithBody(ctx context.Context, platform PostAppPlatformPackageConfigParamsPlatform, pPackage string, params *PostAppPlatformPackageConfigParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostAppPlatformPackageConfig(ctx context.Context, platform PostAppPlatformPackageConfigParamsPlatform, pPackage string, params *PostAppPlatformPackageConfigParams, body PostAppPlatformPackageConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteAppPlatformPackageRunner request
DeleteAppPlatformPackageRunner(ctx context.Context, platform DeleteAppPlatformPackageRunnerParamsPlatform, pPackage string, params *DeleteAppPlatformPackageRunnerParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostAppPlatformPackageRunnerWithBody request with any body
PostAppPlatformPackageRunnerWithBody(ctx context.Context, platform PostAppPlatformPackageRunnerParamsPlatform, pPackage string, params *PostAppPlatformPackageRunnerParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostAppPlatformPackageRunner(ctx context.Context, platform PostAppPlatformPackageRunnerParamsPlatform, pPackage string, params *PostAppPlatformPackageRunnerParams, body PostAppPlatformPackageRunnerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAssessmentRefReportHtml request
GetAssessmentRefReportHtml(ctx context.Context, ref openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAssessmentRefReportJson request
GetAssessmentRefReportJson(ctx context.Context, ref openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAssessmentRefReportPdf request
GetAssessmentRefReportPdf(ctx context.Context, ref openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAssessmentTaskFindings request
GetAssessmentTaskFindings(ctx context.Context, task float64, params *GetAssessmentTaskFindingsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAssessmentTaskSummary request
GetAssessmentTaskSummary(ctx context.Context, task float32, params *GetAssessmentTaskSummaryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostBinaryWithBody request with any body
PostBinaryWithBody(ctx context.Context, params *PostBinaryParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostBinary(ctx context.Context, params *PostBinaryParams, body PostBinaryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetBinaryDigestAnalysis request
GetBinaryDigestAnalysis(ctx context.Context, digest string, params *GetBinaryDigestAnalysisParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetBuild request
GetBuild(ctx context.Context, params *GetBuildParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostBuildWithBody request with any body
PostBuildWithBody(ctx context.Context, params *PostBuildParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostBuild(ctx context.Context, params *PostBuildParams, body PostBuildJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostBuildPlatformPackageWithBody request with any body
PostBuildPlatformPackageWithBody(ctx context.Context, platform PostBuildPlatformPackageParamsPlatform, pPackage string, params *PostBuildPlatformPackageParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostBuildPlatformPackage(ctx context.Context, platform PostBuildPlatformPackageParamsPlatform, pPackage string, params *PostBuildPlatformPackageParams, body PostBuildPlatformPackageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostLoginToken request
PostLoginToken(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostResourceChangeAppGroupAppRefFromCurrentGroupRefToNewGroupRef request
PostResourceChangeAppGroupAppRefFromCurrentGroupRefToNewGroupRef(ctx context.Context, appRef openapi_types.UUID, currentGroupRef openapi_types.UUID, newGroupRef openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetUserToken request
GetUserToken(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostUserTokenWithBody request with any body
PostUserTokenWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostUserToken(ctx context.Context, body PostUserTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostUserTokenRefreshWithBody request with any body
PostUserTokenRefreshWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostUserTokenRefresh(ctx context.Context, body PostUserTokenRefreshJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
}
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
func WithHTTPClient ¶
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithRequestEditorFn ¶
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
type ClientWithResponses ¶
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func ClientFromConfig ¶
func ClientFromConfig(config *internal.BaseConfig, doer HttpRequestDoer) (*ClientWithResponses, error)
func NewClientWithResponses ¶
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) DeleteAppPlatformPackageRunnerWithResponse ¶
func (c *ClientWithResponses) DeleteAppPlatformPackageRunnerWithResponse(ctx context.Context, platform DeleteAppPlatformPackageRunnerParamsPlatform, pPackage string, params *DeleteAppPlatformPackageRunnerParams, reqEditors ...RequestEditorFn) (*DeleteAppPlatformPackageRunnerResponse, error)
DeleteAppPlatformPackageRunnerWithResponse request returning *DeleteAppPlatformPackageRunnerResponse
func (*ClientWithResponses) GetAccountUserRefWithResponse ¶
func (c *ClientWithResponses) GetAccountUserRefWithResponse(ctx context.Context, ref openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetAccountUserRefResponse, error)
GetAccountUserRefWithResponse request returning *GetAccountUserRefResponse
func (*ClientWithResponses) GetAccountUserWithResponse ¶
func (c *ClientWithResponses) GetAccountUserWithResponse(ctx context.Context, params *GetAccountUserParams, reqEditors ...RequestEditorFn) (*GetAccountUserResponse, error)
GetAccountUserWithResponse request returning *GetAccountUserResponse
func (*ClientWithResponses) GetAppPlatformPackageAssessmentTaskRawWithResponse ¶
func (c *ClientWithResponses) GetAppPlatformPackageAssessmentTaskRawWithResponse(ctx context.Context, platform GetAppPlatformPackageAssessmentTaskRawParamsPlatform, pPackage string, task int, params *GetAppPlatformPackageAssessmentTaskRawParams, reqEditors ...RequestEditorFn) (*GetAppPlatformPackageAssessmentTaskRawResponse, error)
GetAppPlatformPackageAssessmentTaskRawWithResponse request returning *GetAppPlatformPackageAssessmentTaskRawResponse
func (*ClientWithResponses) GetAppPlatformPackageAssessmentTaskReportWithResponse ¶
func (c *ClientWithResponses) GetAppPlatformPackageAssessmentTaskReportWithResponse(ctx context.Context, platform GetAppPlatformPackageAssessmentTaskReportParamsPlatform, pPackage string, task int, params *GetAppPlatformPackageAssessmentTaskReportParams, reqEditors ...RequestEditorFn) (*GetAppPlatformPackageAssessmentTaskReportResponse, error)
GetAppPlatformPackageAssessmentTaskReportWithResponse request returning *GetAppPlatformPackageAssessmentTaskReportResponse
func (*ClientWithResponses) GetAppPlatformPackageAssessmentTaskResultsWithResponse ¶
func (c *ClientWithResponses) GetAppPlatformPackageAssessmentTaskResultsWithResponse(ctx context.Context, platform GetAppPlatformPackageAssessmentTaskResultsParamsPlatform, pPackage string, task int, params *GetAppPlatformPackageAssessmentTaskResultsParams, reqEditors ...RequestEditorFn) (*GetAppPlatformPackageAssessmentTaskResultsResponse, error)
GetAppPlatformPackageAssessmentTaskResultsWithResponse request returning *GetAppPlatformPackageAssessmentTaskResultsResponse
func (*ClientWithResponses) GetAppPlatformPackageAssessmentTaskWithResponse ¶
func (c *ClientWithResponses) GetAppPlatformPackageAssessmentTaskWithResponse(ctx context.Context, platform GetAppPlatformPackageAssessmentTaskParamsPlatform, pPackage string, task int, params *GetAppPlatformPackageAssessmentTaskParams, reqEditors ...RequestEditorFn) (*GetAppPlatformPackageAssessmentTaskResponse, error)
GetAppPlatformPackageAssessmentTaskWithResponse request returning *GetAppPlatformPackageAssessmentTaskResponse
func (*ClientWithResponses) GetAppPlatformPackageAssessmentWithResponse ¶
func (c *ClientWithResponses) GetAppPlatformPackageAssessmentWithResponse(ctx context.Context, platform GetAppPlatformPackageAssessmentParamsPlatform, pPackage string, params *GetAppPlatformPackageAssessmentParams, reqEditors ...RequestEditorFn) (*GetAppPlatformPackageAssessmentResponse, error)
GetAppPlatformPackageAssessmentWithResponse request returning *GetAppPlatformPackageAssessmentResponse
func (*ClientWithResponses) GetAppPlatformPackageBuildWithResponse ¶
func (c *ClientWithResponses) GetAppPlatformPackageBuildWithResponse(ctx context.Context, platform GetAppPlatformPackageBuildParamsPlatform, pPackage string, params *GetAppPlatformPackageBuildParams, reqEditors ...RequestEditorFn) (*GetAppPlatformPackageBuildResponse, error)
GetAppPlatformPackageBuildWithResponse request returning *GetAppPlatformPackageBuildResponse
func (*ClientWithResponses) GetAppPlatformPackageConfigWithResponse ¶
func (c *ClientWithResponses) GetAppPlatformPackageConfigWithResponse(ctx context.Context, platform GetAppPlatformPackageConfigParamsPlatform, pPackage string, params *GetAppPlatformPackageConfigParams, reqEditors ...RequestEditorFn) (*GetAppPlatformPackageConfigResponse, error)
GetAppPlatformPackageConfigWithResponse request returning *GetAppPlatformPackageConfigResponse
func (*ClientWithResponses) GetAppPlatformPackageWithResponse ¶
func (c *ClientWithResponses) GetAppPlatformPackageWithResponse(ctx context.Context, platform GetAppPlatformPackageParamsPlatform, pPackage string, params *GetAppPlatformPackageParams, reqEditors ...RequestEditorFn) (*GetAppPlatformPackageResponse, error)
GetAppPlatformPackageWithResponse request returning *GetAppPlatformPackageResponse
func (*ClientWithResponses) GetAppWithResponse ¶
func (c *ClientWithResponses) GetAppWithResponse(ctx context.Context, params *GetAppParams, reqEditors ...RequestEditorFn) (*GetAppResponse, error)
GetAppWithResponse request returning *GetAppResponse
func (*ClientWithResponses) GetAssessmentRefReportHtmlWithResponse ¶
func (c *ClientWithResponses) GetAssessmentRefReportHtmlWithResponse(ctx context.Context, ref openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetAssessmentRefReportHtmlResponse, error)
GetAssessmentRefReportHtmlWithResponse request returning *GetAssessmentRefReportHtmlResponse
func (*ClientWithResponses) GetAssessmentRefReportJsonWithResponse ¶
func (c *ClientWithResponses) GetAssessmentRefReportJsonWithResponse(ctx context.Context, ref openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetAssessmentRefReportJsonResponse, error)
GetAssessmentRefReportJsonWithResponse request returning *GetAssessmentRefReportJsonResponse
func (*ClientWithResponses) GetAssessmentRefReportPdfWithResponse ¶
func (c *ClientWithResponses) GetAssessmentRefReportPdfWithResponse(ctx context.Context, ref openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetAssessmentRefReportPdfResponse, error)
GetAssessmentRefReportPdfWithResponse request returning *GetAssessmentRefReportPdfResponse
func (*ClientWithResponses) GetAssessmentTaskFindingsWithResponse ¶
func (c *ClientWithResponses) GetAssessmentTaskFindingsWithResponse(ctx context.Context, task float64, params *GetAssessmentTaskFindingsParams, reqEditors ...RequestEditorFn) (*GetAssessmentTaskFindingsResponse, error)
GetAssessmentTaskFindingsWithResponse request returning *GetAssessmentTaskFindingsResponse
func (*ClientWithResponses) GetAssessmentTaskSummaryWithResponse ¶
func (c *ClientWithResponses) GetAssessmentTaskSummaryWithResponse(ctx context.Context, task float32, params *GetAssessmentTaskSummaryParams, reqEditors ...RequestEditorFn) (*GetAssessmentTaskSummaryResponse, error)
GetAssessmentTaskSummaryWithResponse request returning *GetAssessmentTaskSummaryResponse
func (*ClientWithResponses) GetBinaryDigestAnalysisWithResponse ¶
func (c *ClientWithResponses) GetBinaryDigestAnalysisWithResponse(ctx context.Context, digest string, params *GetBinaryDigestAnalysisParams, reqEditors ...RequestEditorFn) (*GetBinaryDigestAnalysisResponse, error)
GetBinaryDigestAnalysisWithResponse request returning *GetBinaryDigestAnalysisResponse
func (*ClientWithResponses) GetBuildWithResponse ¶
func (c *ClientWithResponses) GetBuildWithResponse(ctx context.Context, params *GetBuildParams, reqEditors ...RequestEditorFn) (*GetBuildResponse, error)
GetBuildWithResponse request returning *GetBuildResponse
func (*ClientWithResponses) GetUserTokenWithResponse ¶
func (c *ClientWithResponses) GetUserTokenWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetUserTokenResponse, error)
GetUserTokenWithResponse request returning *GetUserTokenResponse
func (*ClientWithResponses) PostAppPlatformPackageAssessmentTaskCancelWithResponse ¶
func (c *ClientWithResponses) PostAppPlatformPackageAssessmentTaskCancelWithResponse(ctx context.Context, platform PostAppPlatformPackageAssessmentTaskCancelParamsPlatform, pPackage string, task float32, reqEditors ...RequestEditorFn) (*PostAppPlatformPackageAssessmentTaskCancelResponse, error)
PostAppPlatformPackageAssessmentTaskCancelWithResponse request returning *PostAppPlatformPackageAssessmentTaskCancelResponse
func (*ClientWithResponses) PostAppPlatformPackageAssessmentWithResponse ¶
func (c *ClientWithResponses) PostAppPlatformPackageAssessmentWithResponse(ctx context.Context, platform PostAppPlatformPackageAssessmentParamsPlatform, pPackage string, params *PostAppPlatformPackageAssessmentParams, reqEditors ...RequestEditorFn) (*PostAppPlatformPackageAssessmentResponse, error)
PostAppPlatformPackageAssessmentWithResponse request returning *PostAppPlatformPackageAssessmentResponse
func (*ClientWithResponses) PostAppPlatformPackageBinaryWithResponse ¶
func (c *ClientWithResponses) PostAppPlatformPackageBinaryWithResponse(ctx context.Context, platform PostAppPlatformPackageBinaryParamsPlatform, pPackage string, params *PostAppPlatformPackageBinaryParams, reqEditors ...RequestEditorFn) (*PostAppPlatformPackageBinaryResponse, error)
PostAppPlatformPackageBinaryWithResponse request returning *PostAppPlatformPackageBinaryResponse
func (*ClientWithResponses) PostAppPlatformPackageConfigWithBodyWithResponse ¶
func (c *ClientWithResponses) PostAppPlatformPackageConfigWithBodyWithResponse(ctx context.Context, platform PostAppPlatformPackageConfigParamsPlatform, pPackage string, params *PostAppPlatformPackageConfigParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAppPlatformPackageConfigResponse, error)
PostAppPlatformPackageConfigWithBodyWithResponse request with arbitrary body returning *PostAppPlatformPackageConfigResponse
func (*ClientWithResponses) PostAppPlatformPackageConfigWithResponse ¶
func (c *ClientWithResponses) PostAppPlatformPackageConfigWithResponse(ctx context.Context, platform PostAppPlatformPackageConfigParamsPlatform, pPackage string, params *PostAppPlatformPackageConfigParams, body PostAppPlatformPackageConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAppPlatformPackageConfigResponse, error)
func (*ClientWithResponses) PostAppPlatformPackageRunnerWithBodyWithResponse ¶
func (c *ClientWithResponses) PostAppPlatformPackageRunnerWithBodyWithResponse(ctx context.Context, platform PostAppPlatformPackageRunnerParamsPlatform, pPackage string, params *PostAppPlatformPackageRunnerParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAppPlatformPackageRunnerResponse, error)
PostAppPlatformPackageRunnerWithBodyWithResponse request with arbitrary body returning *PostAppPlatformPackageRunnerResponse
func (*ClientWithResponses) PostAppPlatformPackageRunnerWithResponse ¶
func (c *ClientWithResponses) PostAppPlatformPackageRunnerWithResponse(ctx context.Context, platform PostAppPlatformPackageRunnerParamsPlatform, pPackage string, params *PostAppPlatformPackageRunnerParams, body PostAppPlatformPackageRunnerJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAppPlatformPackageRunnerResponse, error)
func (*ClientWithResponses) PostAppWithBodyWithResponse ¶
func (c *ClientWithResponses) PostAppWithBodyWithResponse(ctx context.Context, params *PostAppParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAppResponse, error)
PostAppWithBodyWithResponse request with arbitrary body returning *PostAppResponse
func (*ClientWithResponses) PostAppWithResponse ¶
func (c *ClientWithResponses) PostAppWithResponse(ctx context.Context, params *PostAppParams, body PostAppJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAppResponse, error)
func (*ClientWithResponses) PostBinaryWithBodyWithResponse ¶
func (c *ClientWithResponses) PostBinaryWithBodyWithResponse(ctx context.Context, params *PostBinaryParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostBinaryResponse, error)
PostBinaryWithBodyWithResponse request with arbitrary body returning *PostBinaryResponse
func (*ClientWithResponses) PostBinaryWithResponse ¶
func (c *ClientWithResponses) PostBinaryWithResponse(ctx context.Context, params *PostBinaryParams, body PostBinaryJSONRequestBody, reqEditors ...RequestEditorFn) (*PostBinaryResponse, error)
func (*ClientWithResponses) PostBuildPlatformPackageWithBodyWithResponse ¶
func (c *ClientWithResponses) PostBuildPlatformPackageWithBodyWithResponse(ctx context.Context, platform PostBuildPlatformPackageParamsPlatform, pPackage string, params *PostBuildPlatformPackageParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostBuildPlatformPackageResponse, error)
PostBuildPlatformPackageWithBodyWithResponse request with arbitrary body returning *PostBuildPlatformPackageResponse
func (*ClientWithResponses) PostBuildPlatformPackageWithResponse ¶
func (c *ClientWithResponses) PostBuildPlatformPackageWithResponse(ctx context.Context, platform PostBuildPlatformPackageParamsPlatform, pPackage string, params *PostBuildPlatformPackageParams, body PostBuildPlatformPackageJSONRequestBody, reqEditors ...RequestEditorFn) (*PostBuildPlatformPackageResponse, error)
func (*ClientWithResponses) PostBuildWithBodyWithResponse ¶
func (c *ClientWithResponses) PostBuildWithBodyWithResponse(ctx context.Context, params *PostBuildParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostBuildResponse, error)
PostBuildWithBodyWithResponse request with arbitrary body returning *PostBuildResponse
func (*ClientWithResponses) PostBuildWithResponse ¶
func (c *ClientWithResponses) PostBuildWithResponse(ctx context.Context, params *PostBuildParams, body PostBuildJSONRequestBody, reqEditors ...RequestEditorFn) (*PostBuildResponse, error)
func (*ClientWithResponses) PostLoginTokenWithResponse ¶
func (c *ClientWithResponses) PostLoginTokenWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostLoginTokenResponse, error)
PostLoginTokenWithResponse request returning *PostLoginTokenResponse
func (*ClientWithResponses) PostResourceChangeAppGroupAppRefFromCurrentGroupRefToNewGroupRefWithResponse ¶
func (c *ClientWithResponses) PostResourceChangeAppGroupAppRefFromCurrentGroupRefToNewGroupRefWithResponse(ctx context.Context, appRef openapi_types.UUID, currentGroupRef openapi_types.UUID, newGroupRef openapi_types.UUID, reqEditors ...RequestEditorFn) (*PostResourceChangeAppGroupAppRefFromCurrentGroupRefToNewGroupRefResponse, error)
PostResourceChangeAppGroupAppRefFromCurrentGroupRefToNewGroupRefWithResponse request returning *PostResourceChangeAppGroupAppRefFromCurrentGroupRefToNewGroupRefResponse
func (*ClientWithResponses) PostUserTokenRefreshWithBodyWithResponse ¶
func (c *ClientWithResponses) PostUserTokenRefreshWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostUserTokenRefreshResponse, error)
PostUserTokenRefreshWithBodyWithResponse request with arbitrary body returning *PostUserTokenRefreshResponse
func (*ClientWithResponses) PostUserTokenRefreshWithResponse ¶
func (c *ClientWithResponses) PostUserTokenRefreshWithResponse(ctx context.Context, body PostUserTokenRefreshJSONRequestBody, reqEditors ...RequestEditorFn) (*PostUserTokenRefreshResponse, error)
func (*ClientWithResponses) PostUserTokenWithBodyWithResponse ¶
func (c *ClientWithResponses) PostUserTokenWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostUserTokenResponse, error)
PostUserTokenWithBodyWithResponse request with arbitrary body returning *PostUserTokenResponse
func (*ClientWithResponses) PostUserTokenWithResponse ¶
func (c *ClientWithResponses) PostUserTokenWithResponse(ctx context.Context, body PostUserTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*PostUserTokenResponse, error)
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// GetAccountUserWithResponse request
GetAccountUserWithResponse(ctx context.Context, params *GetAccountUserParams, reqEditors ...RequestEditorFn) (*GetAccountUserResponse, error)
// GetAccountUserRefWithResponse request
GetAccountUserRefWithResponse(ctx context.Context, ref openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetAccountUserRefResponse, error)
// GetAppWithResponse request
GetAppWithResponse(ctx context.Context, params *GetAppParams, reqEditors ...RequestEditorFn) (*GetAppResponse, error)
// PostAppWithBodyWithResponse request with any body
PostAppWithBodyWithResponse(ctx context.Context, params *PostAppParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAppResponse, error)
PostAppWithResponse(ctx context.Context, params *PostAppParams, body PostAppJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAppResponse, error)
// GetAppPlatformPackageWithResponse request
GetAppPlatformPackageWithResponse(ctx context.Context, platform GetAppPlatformPackageParamsPlatform, pPackage string, params *GetAppPlatformPackageParams, reqEditors ...RequestEditorFn) (*GetAppPlatformPackageResponse, error)
// GetAppPlatformPackageAssessmentWithResponse request
GetAppPlatformPackageAssessmentWithResponse(ctx context.Context, platform GetAppPlatformPackageAssessmentParamsPlatform, pPackage string, params *GetAppPlatformPackageAssessmentParams, reqEditors ...RequestEditorFn) (*GetAppPlatformPackageAssessmentResponse, error)
// PostAppPlatformPackageAssessmentWithResponse request
PostAppPlatformPackageAssessmentWithResponse(ctx context.Context, platform PostAppPlatformPackageAssessmentParamsPlatform, pPackage string, params *PostAppPlatformPackageAssessmentParams, reqEditors ...RequestEditorFn) (*PostAppPlatformPackageAssessmentResponse, error)
// GetAppPlatformPackageAssessmentTaskWithResponse request
GetAppPlatformPackageAssessmentTaskWithResponse(ctx context.Context, platform GetAppPlatformPackageAssessmentTaskParamsPlatform, pPackage string, task int, params *GetAppPlatformPackageAssessmentTaskParams, reqEditors ...RequestEditorFn) (*GetAppPlatformPackageAssessmentTaskResponse, error)
// GetAppPlatformPackageAssessmentTaskRawWithResponse request
GetAppPlatformPackageAssessmentTaskRawWithResponse(ctx context.Context, platform GetAppPlatformPackageAssessmentTaskRawParamsPlatform, pPackage string, task int, params *GetAppPlatformPackageAssessmentTaskRawParams, reqEditors ...RequestEditorFn) (*GetAppPlatformPackageAssessmentTaskRawResponse, error)
// PostAppPlatformPackageAssessmentTaskCancelWithResponse request
PostAppPlatformPackageAssessmentTaskCancelWithResponse(ctx context.Context, platform PostAppPlatformPackageAssessmentTaskCancelParamsPlatform, pPackage string, task float32, reqEditors ...RequestEditorFn) (*PostAppPlatformPackageAssessmentTaskCancelResponse, error)
// GetAppPlatformPackageAssessmentTaskReportWithResponse request
GetAppPlatformPackageAssessmentTaskReportWithResponse(ctx context.Context, platform GetAppPlatformPackageAssessmentTaskReportParamsPlatform, pPackage string, task int, params *GetAppPlatformPackageAssessmentTaskReportParams, reqEditors ...RequestEditorFn) (*GetAppPlatformPackageAssessmentTaskReportResponse, error)
// GetAppPlatformPackageAssessmentTaskResultsWithResponse request
GetAppPlatformPackageAssessmentTaskResultsWithResponse(ctx context.Context, platform GetAppPlatformPackageAssessmentTaskResultsParamsPlatform, pPackage string, task int, params *GetAppPlatformPackageAssessmentTaskResultsParams, reqEditors ...RequestEditorFn) (*GetAppPlatformPackageAssessmentTaskResultsResponse, error)
// PostAppPlatformPackageBinaryWithResponse request
PostAppPlatformPackageBinaryWithResponse(ctx context.Context, platform PostAppPlatformPackageBinaryParamsPlatform, pPackage string, params *PostAppPlatformPackageBinaryParams, reqEditors ...RequestEditorFn) (*PostAppPlatformPackageBinaryResponse, error)
// GetAppPlatformPackageBuildWithResponse request
GetAppPlatformPackageBuildWithResponse(ctx context.Context, platform GetAppPlatformPackageBuildParamsPlatform, pPackage string, params *GetAppPlatformPackageBuildParams, reqEditors ...RequestEditorFn) (*GetAppPlatformPackageBuildResponse, error)
// GetAppPlatformPackageConfigWithResponse request
GetAppPlatformPackageConfigWithResponse(ctx context.Context, platform GetAppPlatformPackageConfigParamsPlatform, pPackage string, params *GetAppPlatformPackageConfigParams, reqEditors ...RequestEditorFn) (*GetAppPlatformPackageConfigResponse, error)
// PostAppPlatformPackageConfigWithBodyWithResponse request with any body
PostAppPlatformPackageConfigWithBodyWithResponse(ctx context.Context, platform PostAppPlatformPackageConfigParamsPlatform, pPackage string, params *PostAppPlatformPackageConfigParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAppPlatformPackageConfigResponse, error)
PostAppPlatformPackageConfigWithResponse(ctx context.Context, platform PostAppPlatformPackageConfigParamsPlatform, pPackage string, params *PostAppPlatformPackageConfigParams, body PostAppPlatformPackageConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAppPlatformPackageConfigResponse, error)
// DeleteAppPlatformPackageRunnerWithResponse request
DeleteAppPlatformPackageRunnerWithResponse(ctx context.Context, platform DeleteAppPlatformPackageRunnerParamsPlatform, pPackage string, params *DeleteAppPlatformPackageRunnerParams, reqEditors ...RequestEditorFn) (*DeleteAppPlatformPackageRunnerResponse, error)
// PostAppPlatformPackageRunnerWithBodyWithResponse request with any body
PostAppPlatformPackageRunnerWithBodyWithResponse(ctx context.Context, platform PostAppPlatformPackageRunnerParamsPlatform, pPackage string, params *PostAppPlatformPackageRunnerParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAppPlatformPackageRunnerResponse, error)
PostAppPlatformPackageRunnerWithResponse(ctx context.Context, platform PostAppPlatformPackageRunnerParamsPlatform, pPackage string, params *PostAppPlatformPackageRunnerParams, body PostAppPlatformPackageRunnerJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAppPlatformPackageRunnerResponse, error)
// GetAssessmentRefReportHtmlWithResponse request
GetAssessmentRefReportHtmlWithResponse(ctx context.Context, ref openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetAssessmentRefReportHtmlResponse, error)
// GetAssessmentRefReportJsonWithResponse request
GetAssessmentRefReportJsonWithResponse(ctx context.Context, ref openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetAssessmentRefReportJsonResponse, error)
// GetAssessmentRefReportPdfWithResponse request
GetAssessmentRefReportPdfWithResponse(ctx context.Context, ref openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetAssessmentRefReportPdfResponse, error)
// GetAssessmentTaskFindingsWithResponse request
GetAssessmentTaskFindingsWithResponse(ctx context.Context, task float32, params *GetAssessmentTaskFindingsParams, reqEditors ...RequestEditorFn) (*GetAssessmentTaskFindingsResponse, error)
// GetAssessmentTaskSummaryWithResponse request
GetAssessmentTaskSummaryWithResponse(ctx context.Context, task float32, params *GetAssessmentTaskSummaryParams, reqEditors ...RequestEditorFn) (*GetAssessmentTaskSummaryResponse, error)
// PostBinaryWithBodyWithResponse request with any body
PostBinaryWithBodyWithResponse(ctx context.Context, params *PostBinaryParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostBinaryResponse, error)
PostBinaryWithResponse(ctx context.Context, params *PostBinaryParams, body PostBinaryJSONRequestBody, reqEditors ...RequestEditorFn) (*PostBinaryResponse, error)
// GetBinaryDigestAnalysisWithResponse request
GetBinaryDigestAnalysisWithResponse(ctx context.Context, digest string, params *GetBinaryDigestAnalysisParams, reqEditors ...RequestEditorFn) (*GetBinaryDigestAnalysisResponse, error)
// GetBuildWithResponse request
GetBuildWithResponse(ctx context.Context, params *GetBuildParams, reqEditors ...RequestEditorFn) (*GetBuildResponse, error)
// PostBuildWithBodyWithResponse request with any body
PostBuildWithBodyWithResponse(ctx context.Context, params *PostBuildParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostBuildResponse, error)
PostBuildWithResponse(ctx context.Context, params *PostBuildParams, body PostBuildJSONRequestBody, reqEditors ...RequestEditorFn) (*PostBuildResponse, error)
// PostBuildPlatformPackageWithBodyWithResponse request with any body
PostBuildPlatformPackageWithBodyWithResponse(ctx context.Context, platform PostBuildPlatformPackageParamsPlatform, pPackage string, params *PostBuildPlatformPackageParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostBuildPlatformPackageResponse, error)
PostBuildPlatformPackageWithResponse(ctx context.Context, platform PostBuildPlatformPackageParamsPlatform, pPackage string, params *PostBuildPlatformPackageParams, body PostBuildPlatformPackageJSONRequestBody, reqEditors ...RequestEditorFn) (*PostBuildPlatformPackageResponse, error)
// PostLoginTokenWithResponse request
PostLoginTokenWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostLoginTokenResponse, error)
// PostResourceChangeAppGroupAppRefFromCurrentGroupRefToNewGroupRefWithResponse request
PostResourceChangeAppGroupAppRefFromCurrentGroupRefToNewGroupRefWithResponse(ctx context.Context, appRef openapi_types.UUID, currentGroupRef openapi_types.UUID, newGroupRef openapi_types.UUID, reqEditors ...RequestEditorFn) (*PostResourceChangeAppGroupAppRefFromCurrentGroupRefToNewGroupRefResponse, error)
// GetUserTokenWithResponse request
GetUserTokenWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetUserTokenResponse, error)
// PostUserTokenWithBodyWithResponse request with any body
PostUserTokenWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostUserTokenResponse, error)
PostUserTokenWithResponse(ctx context.Context, body PostUserTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*PostUserTokenResponse, error)
// PostUserTokenRefreshWithBodyWithResponse request with any body
PostUserTokenRefreshWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostUserTokenRefreshResponse, error)
PostUserTokenRefreshWithResponse(ctx context.Context, body PostUserTokenRefreshJSONRequestBody, reqEditors ...RequestEditorFn) (*PostUserTokenRefreshResponse, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type DeleteAppPlatformPackageRunnerParams ¶
type DeleteAppPlatformPackageRunnerParams struct {
// Group The UUID group ref of the application to delete the runner for (Optional if the user is only in one group).
Group *openapi_types.UUID `form:"group,omitempty" json:"group,omitempty"`
}
DeleteAppPlatformPackageRunnerParams defines parameters for DeleteAppPlatformPackageRunner.
type DeleteAppPlatformPackageRunnerParamsPlatform ¶
type DeleteAppPlatformPackageRunnerParamsPlatform string
DeleteAppPlatformPackageRunnerParamsPlatform defines parameters for DeleteAppPlatformPackageRunner.
const ( DeleteAppPlatformPackageRunnerParamsPlatformAndroid DeleteAppPlatformPackageRunnerParamsPlatform = "android" DeleteAppPlatformPackageRunnerParamsPlatformIos DeleteAppPlatformPackageRunnerParamsPlatform = "ios" )
Defines values for DeleteAppPlatformPackageRunnerParamsPlatform.
type DeleteAppPlatformPackageRunnerResponse ¶
type DeleteAppPlatformPackageRunnerResponse struct {
Body []byte
HTTPResponse *http.Response
JSON2XX *LabApp
JSON4XX *LabRouteError
JSON5XX *LabRouteError
}
func ParseDeleteAppPlatformPackageRunnerResponse ¶
func ParseDeleteAppPlatformPackageRunnerResponse(rsp *http.Response) (*DeleteAppPlatformPackageRunnerResponse, error)
ParseDeleteAppPlatformPackageRunnerResponse parses an HTTP response from a DeleteAppPlatformPackageRunnerWithResponse call
func (DeleteAppPlatformPackageRunnerResponse) Status ¶
func (r DeleteAppPlatformPackageRunnerResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteAppPlatformPackageRunnerResponse) StatusCode ¶
func (r DeleteAppPlatformPackageRunnerResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAccountUserParams ¶
type GetAccountUserParams struct {
// Domain Optionally filter users by email domain.
Domain *struct {
// contains filtered or unexported fields
} `form:"domain,omitempty" json:"domain,omitempty"`
// ExcludeRole Optionally exclude users with specific roles.
ExcludeRole *struct {
// contains filtered or unexported fields
} `form:"exclude_role,omitempty" json:"exclude_role,omitempty"`
}
GetAccountUserParams defines parameters for GetAccountUser.
type GetAccountUserParamsDomain0 ¶
type GetAccountUserParamsDomain0 = string
GetAccountUserParamsDomain0 defines parameters for GetAccountUser.
type GetAccountUserParamsDomain1 ¶
type GetAccountUserParamsDomain1 = []string
GetAccountUserParamsDomain1 defines parameters for GetAccountUser.
type GetAccountUserParamsExcludeRole0 ¶
type GetAccountUserParamsExcludeRole0 struct {
// contains filtered or unexported fields
}
GetAccountUserParamsExcludeRole0 defines parameters for GetAccountUser.
type GetAccountUserParamsExcludeRole00 ¶
type GetAccountUserParamsExcludeRole00 string
GetAccountUserParamsExcludeRole00 defines parameters for GetAccountUser.
const (
GetAccountUserParamsExcludeRole00Admin GetAccountUserParamsExcludeRole00 = "admin"
)
Defines values for GetAccountUserParamsExcludeRole00.
type GetAccountUserParamsExcludeRole1 ¶
type GetAccountUserParamsExcludeRole1 = []GetAccountUserParams_ExcludeRole_1_Item
GetAccountUserParamsExcludeRole1 defines parameters for GetAccountUser.
type GetAccountUserParamsExcludeRole01 ¶
type GetAccountUserParamsExcludeRole01 string
GetAccountUserParamsExcludeRole01 defines parameters for GetAccountUser.
const (
GetAccountUserParamsExcludeRole01Analyst GetAccountUserParamsExcludeRole01 = "analyst"
)
Defines values for GetAccountUserParamsExcludeRole01.
type GetAccountUserParamsExcludeRole02 ¶
type GetAccountUserParamsExcludeRole02 string
GetAccountUserParamsExcludeRole02 defines parameters for GetAccountUser.
const (
GetAccountUserParamsExcludeRole02Qa GetAccountUserParamsExcludeRole02 = "qa"
)
Defines values for GetAccountUserParamsExcludeRole02.
type GetAccountUserParamsExcludeRole03 ¶
type GetAccountUserParamsExcludeRole03 string
GetAccountUserParamsExcludeRole03 defines parameters for GetAccountUser.
const (
GetAccountUserParamsExcludeRole03Developer GetAccountUserParamsExcludeRole03 = "developer"
)
Defines values for GetAccountUserParamsExcludeRole03.
type GetAccountUserParamsExcludeRole04 ¶
type GetAccountUserParamsExcludeRole04 string
GetAccountUserParamsExcludeRole04 defines parameters for GetAccountUser.
const (
GetAccountUserParamsExcludeRole04Exec GetAccountUserParamsExcludeRole04 = "exec"
)
Defines values for GetAccountUserParamsExcludeRole04.
type GetAccountUserParamsExcludeRole05 ¶
type GetAccountUserParamsExcludeRole05 string
GetAccountUserParamsExcludeRole05 defines parameters for GetAccountUser.
const (
GetAccountUserParamsExcludeRole05Customer GetAccountUserParamsExcludeRole05 = "customer"
)
Defines values for GetAccountUserParamsExcludeRole05.
type GetAccountUserParamsExcludeRole06 ¶
type GetAccountUserParamsExcludeRole06 string
GetAccountUserParamsExcludeRole06 defines parameters for GetAccountUser.
const (
GetAccountUserParamsExcludeRole06FreeTrial GetAccountUserParamsExcludeRole06 = "free-trial"
)
Defines values for GetAccountUserParamsExcludeRole06.
type GetAccountUserParamsExcludeRole07 ¶
type GetAccountUserParamsExcludeRole07 string
GetAccountUserParamsExcludeRole07 defines parameters for GetAccountUser.
const (
GetAccountUserParamsExcludeRole07InternalAdmin GetAccountUserParamsExcludeRole07 = "internal-admin"
)
Defines values for GetAccountUserParamsExcludeRole07.
type GetAccountUserParamsExcludeRole08 ¶
type GetAccountUserParamsExcludeRole08 string
GetAccountUserParamsExcludeRole08 defines parameters for GetAccountUser.
const (
GetAccountUserParamsExcludeRole08InternalReadonly GetAccountUserParamsExcludeRole08 = "internal-readonly"
)
Defines values for GetAccountUserParamsExcludeRole08.
type GetAccountUserParamsExcludeRole09 ¶
type GetAccountUserParamsExcludeRole09 string
GetAccountUserParamsExcludeRole09 defines parameters for GetAccountUser.
const (
GetAccountUserParamsExcludeRole09InternalReadonlyLimited GetAccountUserParamsExcludeRole09 = "internal-readonly-limited"
)
Defines values for GetAccountUserParamsExcludeRole09.
type GetAccountUserParamsExcludeRole10 ¶
type GetAccountUserParamsExcludeRole10 string
GetAccountUserParamsExcludeRole10 defines parameters for GetAccountUser.
const (
GetAccountUserParamsExcludeRole10Admin GetAccountUserParamsExcludeRole10 = "admin"
)
Defines values for GetAccountUserParamsExcludeRole10.
type GetAccountUserParamsExcludeRole010 ¶
type GetAccountUserParamsExcludeRole010 string
GetAccountUserParamsExcludeRole010 defines parameters for GetAccountUser.
const (
GetAccountUserParamsExcludeRole010InternalTam GetAccountUserParamsExcludeRole010 = "internal-tam"
)
Defines values for GetAccountUserParamsExcludeRole010.
type GetAccountUserParamsExcludeRole11 ¶
type GetAccountUserParamsExcludeRole11 string
GetAccountUserParamsExcludeRole11 defines parameters for GetAccountUser.
const (
GetAccountUserParamsExcludeRole11Analyst GetAccountUserParamsExcludeRole11 = "analyst"
)
Defines values for GetAccountUserParamsExcludeRole11.
type GetAccountUserParamsExcludeRole011 ¶
type GetAccountUserParamsExcludeRole011 string
GetAccountUserParamsExcludeRole011 defines parameters for GetAccountUser.
const (
GetAccountUserParamsExcludeRole011InternalAnalystAll GetAccountUserParamsExcludeRole011 = "internal-analyst-all"
)
Defines values for GetAccountUserParamsExcludeRole011.
type GetAccountUserParamsExcludeRole12 ¶
type GetAccountUserParamsExcludeRole12 string
GetAccountUserParamsExcludeRole12 defines parameters for GetAccountUser.
const (
GetAccountUserParamsExcludeRole12Qa GetAccountUserParamsExcludeRole12 = "qa"
)
Defines values for GetAccountUserParamsExcludeRole12.
type GetAccountUserParamsExcludeRole012 ¶
type GetAccountUserParamsExcludeRole012 string
GetAccountUserParamsExcludeRole012 defines parameters for GetAccountUser.
const (
GetAccountUserParamsExcludeRole012InternalAnalyst GetAccountUserParamsExcludeRole012 = "internal-analyst"
)
Defines values for GetAccountUserParamsExcludeRole012.
type GetAccountUserParamsExcludeRole13 ¶
type GetAccountUserParamsExcludeRole13 string
GetAccountUserParamsExcludeRole13 defines parameters for GetAccountUser.
const (
GetAccountUserParamsExcludeRole13Developer GetAccountUserParamsExcludeRole13 = "developer"
)
Defines values for GetAccountUserParamsExcludeRole13.
type GetAccountUserParamsExcludeRole013 ¶
type GetAccountUserParamsExcludeRole013 string
GetAccountUserParamsExcludeRole013 defines parameters for GetAccountUser.
const (
GetAccountUserParamsExcludeRole013InternalReports GetAccountUserParamsExcludeRole013 = "internal-reports"
)
Defines values for GetAccountUserParamsExcludeRole013.
type GetAccountUserParamsExcludeRole14 ¶
type GetAccountUserParamsExcludeRole14 string
GetAccountUserParamsExcludeRole14 defines parameters for GetAccountUser.
const (
GetAccountUserParamsExcludeRole14Exec GetAccountUserParamsExcludeRole14 = "exec"
)
Defines values for GetAccountUserParamsExcludeRole14.
type GetAccountUserParamsExcludeRole15 ¶
type GetAccountUserParamsExcludeRole15 string
GetAccountUserParamsExcludeRole15 defines parameters for GetAccountUser.
const (
GetAccountUserParamsExcludeRole15Customer GetAccountUserParamsExcludeRole15 = "customer"
)
Defines values for GetAccountUserParamsExcludeRole15.
type GetAccountUserParamsExcludeRole16 ¶
type GetAccountUserParamsExcludeRole16 string
GetAccountUserParamsExcludeRole16 defines parameters for GetAccountUser.
const (
GetAccountUserParamsExcludeRole16FreeTrial GetAccountUserParamsExcludeRole16 = "free-trial"
)
Defines values for GetAccountUserParamsExcludeRole16.
type GetAccountUserParamsExcludeRole17 ¶
type GetAccountUserParamsExcludeRole17 string
GetAccountUserParamsExcludeRole17 defines parameters for GetAccountUser.
const (
GetAccountUserParamsExcludeRole17InternalAdmin GetAccountUserParamsExcludeRole17 = "internal-admin"
)
Defines values for GetAccountUserParamsExcludeRole17.
type GetAccountUserParamsExcludeRole18 ¶
type GetAccountUserParamsExcludeRole18 string
GetAccountUserParamsExcludeRole18 defines parameters for GetAccountUser.
const (
GetAccountUserParamsExcludeRole18InternalReadonly GetAccountUserParamsExcludeRole18 = "internal-readonly"
)
Defines values for GetAccountUserParamsExcludeRole18.
type GetAccountUserParamsExcludeRole19 ¶
type GetAccountUserParamsExcludeRole19 string
GetAccountUserParamsExcludeRole19 defines parameters for GetAccountUser.
const (
GetAccountUserParamsExcludeRole19InternalReadonlyLimited GetAccountUserParamsExcludeRole19 = "internal-readonly-limited"
)
Defines values for GetAccountUserParamsExcludeRole19.
type GetAccountUserParamsExcludeRole110 ¶
type GetAccountUserParamsExcludeRole110 string
GetAccountUserParamsExcludeRole110 defines parameters for GetAccountUser.
const (
GetAccountUserParamsExcludeRole110InternalTam GetAccountUserParamsExcludeRole110 = "internal-tam"
)
Defines values for GetAccountUserParamsExcludeRole110.
type GetAccountUserParamsExcludeRole111 ¶
type GetAccountUserParamsExcludeRole111 string
GetAccountUserParamsExcludeRole111 defines parameters for GetAccountUser.
const (
GetAccountUserParamsExcludeRole111InternalAnalystAll GetAccountUserParamsExcludeRole111 = "internal-analyst-all"
)
Defines values for GetAccountUserParamsExcludeRole111.
type GetAccountUserParamsExcludeRole112 ¶
type GetAccountUserParamsExcludeRole112 string
GetAccountUserParamsExcludeRole112 defines parameters for GetAccountUser.
const (
GetAccountUserParamsExcludeRole112InternalAnalyst GetAccountUserParamsExcludeRole112 = "internal-analyst"
)
Defines values for GetAccountUserParamsExcludeRole112.
type GetAccountUserParamsExcludeRole113 ¶
type GetAccountUserParamsExcludeRole113 string
GetAccountUserParamsExcludeRole113 defines parameters for GetAccountUser.
const (
GetAccountUserParamsExcludeRole113InternalReports GetAccountUserParamsExcludeRole113 = "internal-reports"
)
Defines values for GetAccountUserParamsExcludeRole113.
type GetAccountUserParams_ExcludeRole_1_Item ¶
type GetAccountUserParams_ExcludeRole_1_Item struct {
// contains filtered or unexported fields
}
GetAccountUserParams_ExcludeRole_1_Item defines parameters for GetAccountUser.
type GetAccountUserRefResponse ¶
type GetAccountUserRefResponse struct {
Body []byte
HTTPResponse *http.Response
JSON2XX *struct {
// Active The active state of the user.
Active bool `json:"active"`
// AllCapabilities The list of capabilities available to the user.
AllCapabilities []struct {
// Actions The verb actions this capability grants.
Actions []string `json:"actions"`
// Category The category grouping of the capability.
Category *string `json:"category"`
// CreatedAt The date-time this capability was created.
CreatedAt time.Time `json:"createdAt"`
// Id The unique numeric identifier for the capability.
Id int `json:"id"`
// Label The short descriptive label for the capability.
Label string `json:"label"`
// Namespace The wider grouping of the resource this capability relates to.
Namespace string `json:"namespace"`
// Privileges The list of privileges granted by this capability.
Privileges []string `json:"privileges"`
// Ref The unique identifier for the capability.
Ref openapi_types.UUID `json:"ref"`
// ResourceType The type of entity/resource this capability relates to.
ResourceType string `json:"resource_type"`
// Scope The level of access this capability grants to the resource it relates to.
Scope *string `json:"scope"`
// UpdatedAt The date-time this capability was last updated.
UpdatedAt time.Time `json:"updatedAt"`
} `json:"all_capabilities"`
// AvatarUrl The URL of the user's avatar image.
AvatarUrl *string `json:"avatar_url"`
Capabilities []interface{} `json:"capabilities"`
// CreatedAt The date-time the user was created.
CreatedAt time.Time `json:"created_at"`
// Email The email address of the user.
Email *string `json:"email"`
// GroupRefs The UUID refs for the groups the user was added to when they were invited.
GroupRefs *[]openapi_types.UUID `json:"groupRefs"`
// Groups The list of groups the user is a member of.
Groups []struct {
// Active The active state of the group.
Active bool `json:"active"`
// CreatedAt The date-time the group was created.
CreatedAt time.Time `json:"createdAt"`
// DeletedAt The date-time this group was soft-deleted.
DeletedAt time.Time `json:"deleted_at"`
// Id The unique numeric identifier for the group.
Id int `json:"id"`
// Name The name of the group.
Name string `json:"name"`
// Note An optional note assigned to the group.
Note *string `json:"note"`
// OrganizationId The numeric ID of the organization this group belongs to.
OrganizationId int `json:"organizationId"`
// Ref The unique identifier for the group.
Ref openapi_types.UUID `json:"ref"`
// UpdatedAt The date-time this group was last updated.
UpdatedAt time.Time `json:"updatedAt"`
// UpdatedBy The UUID ref of the user who last updated this group.
UpdatedBy *openapi_types.UUID `json:"updated_by"`
} `json:"groups"`
// Id The unique numeric identifier for the user.
Id int `json:"id"`
// Name The name of the user.
Name string `json:"name"`
// Note An optional note assigned to the user.
Note *string `json:"note"`
// OrganizationId The numeric ID of the organization the user belongs to.
OrganizationId int `json:"organizationId"`
// Privileges The list of permission strings for the capabilities available to the user.
Privileges []string `json:"privileges"`
// Ref The unique identifier for the user.
Ref openapi_types.UUID `json:"ref"`
// RoleRef The UUID ref of the role the user was assigned when they were invited.
RoleRef *openapi_types.UUID `json:"roleRef"`
// Roles The list of roles assigned to the user.
Roles []struct {
// AllCapabilities The list of capabilities available to this role.
AllCapabilities []struct {
// Actions The verb actions this capability grants.
Actions []string `json:"actions"`
// Category The category grouping of the capability.
Category *string `json:"category"`
// CreatedAt The date-time this capability was created.
CreatedAt time.Time `json:"createdAt"`
// Id The unique numeric identifier for the capability.
Id int `json:"id"`
// Label The short descriptive label for the capability.
Label string `json:"label"`
// Namespace The wider grouping of the resource this capability relates to.
Namespace string `json:"namespace"`
// Privileges The list of privileges granted by this capability.
Privileges []string `json:"privileges"`
// Ref The unique identifier for the capability.
Ref openapi_types.UUID `json:"ref"`
// ResourceType The type of entity/resource this capability relates to.
ResourceType string `json:"resource_type"`
// Scope The level of access this capability grants to the resource it relates to.
Scope *string `json:"scope"`
// UpdatedAt The date-time this capability was last updated.
UpdatedAt time.Time `json:"updatedAt"`
} `json:"all_capabilities"`
// Capabilities The list of capabilities available to this role.
Capabilities []struct {
// Actions The verb actions this capability grants.
Actions []string `json:"actions"`
// Category The category grouping of the capability.
Category *string `json:"category"`
// CreatedAt The date-time this capability was created.
CreatedAt time.Time `json:"createdAt"`
// Id The unique numeric identifier for the capability.
Id int `json:"id"`
// Label The short descriptive label for the capability.
Label string `json:"label"`
// Namespace The wider grouping of the resource this capability relates to.
Namespace string `json:"namespace"`
// Privileges The list of privileges granted by this capability.
Privileges []string `json:"privileges"`
// Ref The unique identifier for the capability.
Ref openapi_types.UUID `json:"ref"`
// ResourceType The type of entity/resource this capability relates to.
ResourceType string `json:"resource_type"`
// Scope The level of access this capability grants to the resource it relates to.
Scope *string `json:"scope"`
// UpdatedAt The date-time this capability was last updated.
UpdatedAt time.Time `json:"updatedAt"`
} `json:"capabilities"`
// CreatedAt The date-time the role was created.
CreatedAt time.Time `json:"created_at"`
// DefaultLabel A short descriptive label for the role.
DefaultLabel *string `json:"defaultLabel"`
// DefaultPermissions The list of capabilities available to this role by default.
DefaultPermissions []struct {
// Actions The verb actions this capability grants.
Actions []string `json:"actions"`
// Category The category grouping of the capability.
Category *string `json:"category"`
// CreatedAt The date-time this capability was created.
CreatedAt time.Time `json:"createdAt"`
// Id The unique numeric identifier for the capability.
Id int `json:"id"`
// Label The short descriptive label for the capability.
Label string `json:"label"`
// Namespace The wider grouping of the resource this capability relates to.
Namespace string `json:"namespace"`
// Privileges The list of privileges granted by this capability.
Privileges []string `json:"privileges"`
// Ref The unique identifier for the capability.
Ref openapi_types.UUID `json:"ref"`
// ResourceType The type of entity/resource this capability relates to.
ResourceType string `json:"resource_type"`
// Scope The level of access this capability grants to the resource it relates to.
Scope *string `json:"scope"`
// UpdatedAt The date-time this capability was last updated.
UpdatedAt time.Time `json:"updatedAt"`
} `json:"defaultPermissions"`
// Description A short description of the role.
Description *string `json:"description"`
// Id The unique numeric identifier for the role.
Id int `json:"id"`
IsCustomized *bool `json:"isCustomized,omitempty"`
// IsHidden Determines if the role is hidden.
IsHidden *bool `json:"isHidden"`
// IsCustomizable Determines if the role can be customized.
IsCustomizable *bool `json:"is_customizable"`
// IsInternal Determines if the role is internal.
IsInternal *bool `json:"is_internal"`
// Label A short descriptive label for the role.
Label *string `json:"label"`
// Name The name of the role.
Name string `json:"name"`
// OrgSettings The list of organization-level settings associated with this role.
OrgSettings []map[string]interface{} `json:"org_settings"`
// OrganizationCapabilities For a customized role, the list of capabilities available to this role.
OrganizationCapabilities []struct {
// Actions The verb actions this capability grants.
Actions []string `json:"actions"`
// Category The category grouping of the capability.
Category *string `json:"category"`
// CreatedAt The date-time this capability was created.
CreatedAt time.Time `json:"createdAt"`
// Id The unique numeric identifier for the capability.
Id int `json:"id"`
// Label The short descriptive label for the capability.
Label string `json:"label"`
// Namespace The wider grouping of the resource this capability relates to.
Namespace string `json:"namespace"`
// Privileges The list of privileges granted by this capability.
Privileges []string `json:"privileges"`
// Ref The unique identifier for the capability.
Ref openapi_types.UUID `json:"ref"`
// ResourceType The type of entity/resource this capability relates to.
ResourceType string `json:"resource_type"`
// Scope The level of access this capability grants to the resource it relates to.
Scope *string `json:"scope"`
// UpdatedAt The date-time this capability was last updated.
UpdatedAt time.Time `json:"updatedAt"`
} `json:"organization_capabilities"`
// OrganizationId The numeric ID of the organization this group belongs to.
OrganizationId *int `json:"organization_id"`
// Permissions The list of capabilities available to this role.
Permissions []struct {
// Actions The verb actions this capability grants.
Actions []string `json:"actions"`
// Category The category grouping of the capability.
Category *string `json:"category"`
// CreatedAt The date-time this capability was created.
CreatedAt time.Time `json:"createdAt"`
// Id The unique numeric identifier for the capability.
Id int `json:"id"`
// Label The short descriptive label for the capability.
Label string `json:"label"`
// Namespace The wider grouping of the resource this capability relates to.
Namespace string `json:"namespace"`
// Privileges The list of privileges granted by this capability.
Privileges []string `json:"privileges"`
// Ref The unique identifier for the capability.
Ref openapi_types.UUID `json:"ref"`
// ResourceType The type of entity/resource this capability relates to.
ResourceType string `json:"resource_type"`
// Scope The level of access this capability grants to the resource it relates to.
Scope *string `json:"scope"`
// UpdatedAt The date-time this capability was last updated.
UpdatedAt time.Time `json:"updatedAt"`
} `json:"permissions"`
// Ref The unique identifier for the role.
Ref openapi_types.UUID `json:"ref"`
// UpdatedAt The date-time the role was last updated.
UpdatedAt time.Time `json:"updated_at"`
} `json:"roles"`
// UpdatedAt The date-time the user was last updated.
UpdatedAt time.Time `json:"updated_at"`
// UpdatedBy The UUID ref of user who last updated the user.
UpdatedBy *openapi_types.UUID `json:"updated_by"`
// Username The username of the user.
Username *string `json:"username"`
}
JSON4XX *LabRouteError
JSON5XX *LabRouteError
}
func ParseGetAccountUserRefResponse ¶
func ParseGetAccountUserRefResponse(rsp *http.Response) (*GetAccountUserRefResponse, error)
ParseGetAccountUserRefResponse parses an HTTP response from a GetAccountUserRefWithResponse call
func (GetAccountUserRefResponse) Status ¶
func (r GetAccountUserRefResponse) Status() string
Status returns HTTPResponse.Status
func (GetAccountUserRefResponse) StatusCode ¶
func (r GetAccountUserRefResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAccountUserResponse ¶
type GetAccountUserResponse struct {
Body []byte
HTTPResponse *http.Response
JSON2XX *[]struct {
// Active The active state of the user.
Active bool `json:"active"`
// AllCapabilities The list of capabilities available to the user.
AllCapabilities []struct {
// Actions The verb actions this capability grants.
Actions []string `json:"actions"`
// Category The category grouping of the capability.
Category *string `json:"category"`
// CreatedAt The date-time this capability was created.
CreatedAt time.Time `json:"createdAt"`
// Id The unique numeric identifier for the capability.
Id int `json:"id"`
// Label The short descriptive label for the capability.
Label string `json:"label"`
// Namespace The wider grouping of the resource this capability relates to.
Namespace string `json:"namespace"`
// Privileges The list of privileges granted by this capability.
Privileges []string `json:"privileges"`
// Ref The unique identifier for the capability.
Ref openapi_types.UUID `json:"ref"`
// ResourceType The type of entity/resource this capability relates to.
ResourceType string `json:"resource_type"`
// Scope The level of access this capability grants to the resource it relates to.
Scope *string `json:"scope"`
// UpdatedAt The date-time this capability was last updated.
UpdatedAt time.Time `json:"updatedAt"`
} `json:"all_capabilities"`
// AvatarUrl The URL of the user's avatar image.
AvatarUrl *string `json:"avatar_url"`
Capabilities []interface{} `json:"capabilities"`
// CreatedAt The date-time the user was created.
CreatedAt time.Time `json:"created_at"`
// Email The email address of the user.
Email *string `json:"email"`
// GroupRefs The UUID refs for the groups the user was added to when they were invited.
GroupRefs *[]openapi_types.UUID `json:"groupRefs"`
// Groups The list of groups the user is a member of.
Groups []struct {
// Active The active state of the group.
Active bool `json:"active"`
// CreatedAt The date-time the group was created.
CreatedAt time.Time `json:"createdAt"`
// DeletedAt The date-time this group was soft-deleted.
DeletedAt time.Time `json:"deleted_at"`
// Id The unique numeric identifier for the group.
Id int `json:"id"`
// Name The name of the group.
Name string `json:"name"`
// Note An optional note assigned to the group.
Note *string `json:"note"`
// OrganizationId The numeric ID of the organization this group belongs to.
OrganizationId int `json:"organizationId"`
// Ref The unique identifier for the group.
Ref openapi_types.UUID `json:"ref"`
// UpdatedAt The date-time this group was last updated.
UpdatedAt time.Time `json:"updatedAt"`
// UpdatedBy The UUID ref of the user who last updated this group.
UpdatedBy *openapi_types.UUID `json:"updated_by"`
} `json:"groups"`
// Id The unique numeric identifier for the user.
Id int `json:"id"`
// Name The name of the user.
Name string `json:"name"`
// Note An optional note assigned to the user.
Note *string `json:"note"`
// OrganizationId The numeric ID of the organization the user belongs to.
OrganizationId int `json:"organizationId"`
// Privileges The list of permission strings for the capabilities available to the user.
Privileges []string `json:"privileges"`
// Ref The unique identifier for the user.
Ref openapi_types.UUID `json:"ref"`
// RoleRef The UUID ref of the role the user was assigned when they were invited.
RoleRef *openapi_types.UUID `json:"roleRef"`
// Roles The list of roles assigned to the user.
Roles []struct {
// AllCapabilities The list of capabilities available to this role.
AllCapabilities []struct {
// Actions The verb actions this capability grants.
Actions []string `json:"actions"`
// Category The category grouping of the capability.
Category *string `json:"category"`
// CreatedAt The date-time this capability was created.
CreatedAt time.Time `json:"createdAt"`
// Id The unique numeric identifier for the capability.
Id int `json:"id"`
// Label The short descriptive label for the capability.
Label string `json:"label"`
// Namespace The wider grouping of the resource this capability relates to.
Namespace string `json:"namespace"`
// Privileges The list of privileges granted by this capability.
Privileges []string `json:"privileges"`
// Ref The unique identifier for the capability.
Ref openapi_types.UUID `json:"ref"`
// ResourceType The type of entity/resource this capability relates to.
ResourceType string `json:"resource_type"`
// Scope The level of access this capability grants to the resource it relates to.
Scope *string `json:"scope"`
// UpdatedAt The date-time this capability was last updated.
UpdatedAt time.Time `json:"updatedAt"`
} `json:"all_capabilities"`
// Capabilities The list of capabilities available to this role.
Capabilities []struct {
// Actions The verb actions this capability grants.
Actions []string `json:"actions"`
// Category The category grouping of the capability.
Category *string `json:"category"`
// CreatedAt The date-time this capability was created.
CreatedAt time.Time `json:"createdAt"`
// Id The unique numeric identifier for the capability.
Id int `json:"id"`
// Label The short descriptive label for the capability.
Label string `json:"label"`
// Namespace The wider grouping of the resource this capability relates to.
Namespace string `json:"namespace"`
// Privileges The list of privileges granted by this capability.
Privileges []string `json:"privileges"`
// Ref The unique identifier for the capability.
Ref openapi_types.UUID `json:"ref"`
// ResourceType The type of entity/resource this capability relates to.
ResourceType string `json:"resource_type"`
// Scope The level of access this capability grants to the resource it relates to.
Scope *string `json:"scope"`
// UpdatedAt The date-time this capability was last updated.
UpdatedAt time.Time `json:"updatedAt"`
} `json:"capabilities"`
// CreatedAt The date-time the role was created.
CreatedAt time.Time `json:"created_at"`
// DefaultLabel A short descriptive label for the role.
DefaultLabel *string `json:"defaultLabel"`
// DefaultPermissions The list of capabilities available to this role by default.
DefaultPermissions []struct {
// Actions The verb actions this capability grants.
Actions []string `json:"actions"`
// Category The category grouping of the capability.
Category *string `json:"category"`
// CreatedAt The date-time this capability was created.
CreatedAt time.Time `json:"createdAt"`
// Id The unique numeric identifier for the capability.
Id int `json:"id"`
// Label The short descriptive label for the capability.
Label string `json:"label"`
// Namespace The wider grouping of the resource this capability relates to.
Namespace string `json:"namespace"`
// Privileges The list of privileges granted by this capability.
Privileges []string `json:"privileges"`
// Ref The unique identifier for the capability.
Ref openapi_types.UUID `json:"ref"`
// ResourceType The type of entity/resource this capability relates to.
ResourceType string `json:"resource_type"`
// Scope The level of access this capability grants to the resource it relates to.
Scope *string `json:"scope"`
// UpdatedAt The date-time this capability was last updated.
UpdatedAt time.Time `json:"updatedAt"`
} `json:"defaultPermissions"`
// Description A short description of the role.
Description *string `json:"description"`
// Id The unique numeric identifier for the role.
Id int `json:"id"`
IsCustomized *bool `json:"isCustomized,omitempty"`
// IsHidden Determines if the role is hidden.
IsHidden *bool `json:"isHidden"`
// IsCustomizable Determines if the role can be customized.
IsCustomizable *bool `json:"is_customizable"`
// IsInternal Determines if the role is internal.
IsInternal *bool `json:"is_internal"`
// Label A short descriptive label for the role.
Label *string `json:"label"`
// Name The name of the role.
Name string `json:"name"`
// OrgSettings The list of organization-level settings associated with this role.
OrgSettings []map[string]interface{} `json:"org_settings"`
// OrganizationCapabilities For a customized role, the list of capabilities available to this role.
OrganizationCapabilities []struct {
// Actions The verb actions this capability grants.
Actions []string `json:"actions"`
// Category The category grouping of the capability.
Category *string `json:"category"`
// CreatedAt The date-time this capability was created.
CreatedAt time.Time `json:"createdAt"`
// Id The unique numeric identifier for the capability.
Id int `json:"id"`
// Label The short descriptive label for the capability.
Label string `json:"label"`
// Namespace The wider grouping of the resource this capability relates to.
Namespace string `json:"namespace"`
// Privileges The list of privileges granted by this capability.
Privileges []string `json:"privileges"`
// Ref The unique identifier for the capability.
Ref openapi_types.UUID `json:"ref"`
// ResourceType The type of entity/resource this capability relates to.
ResourceType string `json:"resource_type"`
// Scope The level of access this capability grants to the resource it relates to.
Scope *string `json:"scope"`
// UpdatedAt The date-time this capability was last updated.
UpdatedAt time.Time `json:"updatedAt"`
} `json:"organization_capabilities"`
// OrganizationId The numeric ID of the organization this group belongs to.
OrganizationId *int `json:"organization_id"`
// Permissions The list of capabilities available to this role.
Permissions []struct {
// Actions The verb actions this capability grants.
Actions []string `json:"actions"`
// Category The category grouping of the capability.
Category *string `json:"category"`
// CreatedAt The date-time this capability was created.
CreatedAt time.Time `json:"createdAt"`
// Id The unique numeric identifier for the capability.
Id int `json:"id"`
// Label The short descriptive label for the capability.
Label string `json:"label"`
// Namespace The wider grouping of the resource this capability relates to.
Namespace string `json:"namespace"`
// Privileges The list of privileges granted by this capability.
Privileges []string `json:"privileges"`
// Ref The unique identifier for the capability.
Ref openapi_types.UUID `json:"ref"`
// ResourceType The type of entity/resource this capability relates to.
ResourceType string `json:"resource_type"`
// Scope The level of access this capability grants to the resource it relates to.
Scope *string `json:"scope"`
// UpdatedAt The date-time this capability was last updated.
UpdatedAt time.Time `json:"updatedAt"`
} `json:"permissions"`
// Ref The unique identifier for the role.
Ref openapi_types.UUID `json:"ref"`
// UpdatedAt The date-time the role was last updated.
UpdatedAt time.Time `json:"updated_at"`
} `json:"roles"`
// UpdatedAt The date-time the user was last updated.
UpdatedAt time.Time `json:"updated_at"`
// UpdatedBy The UUID ref of user who last updated the user.
UpdatedBy *openapi_types.UUID `json:"updated_by"`
// Username The username of the user.
Username *string `json:"username"`
}
JSON4XX *LabRouteError
JSON5XX *LabRouteError
}
func ParseGetAccountUserResponse ¶
func ParseGetAccountUserResponse(rsp *http.Response) (*GetAccountUserResponse, error)
ParseGetAccountUserResponse parses an HTTP response from a GetAccountUserWithResponse call
func (GetAccountUserResponse) Status ¶
func (r GetAccountUserResponse) Status() string
Status returns HTTPResponse.Status
func (GetAccountUserResponse) StatusCode ¶
func (r GetAccountUserResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAppParams ¶
type GetAppParams struct {
// Platform The platform of the applications to list.
Platform *GetAppParamsPlatform `form:"platform,omitempty" json:"platform,omitempty"`
// Package The package ID of the applications to list.
Package *string `form:"package,omitempty" json:"package,omitempty"`
// Group The UUID ref of the group to list apps for.
Group *openapi_types.UUID `form:"group,omitempty" json:"group,omitempty"`
// Ref The UUID ref of the application to list.
Ref *openapi_types.UUID `form:"ref,omitempty" json:"ref,omitempty"`
// Limit Limit the number of results listed.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
GetAppParams defines parameters for GetApp.
type GetAppParamsPlatform ¶
type GetAppParamsPlatform string
GetAppParamsPlatform defines parameters for GetApp.
const ( GetAppParamsPlatformAndroid GetAppParamsPlatform = "android" GetAppParamsPlatformFireos GetAppParamsPlatform = "fireos" GetAppParamsPlatformHarmonyos GetAppParamsPlatform = "harmonyos" GetAppParamsPlatformIos GetAppParamsPlatform = "ios" GetAppParamsPlatformPlaystation GetAppParamsPlatform = "playstation" GetAppParamsPlatformRoku GetAppParamsPlatform = "roku" GetAppParamsPlatformTizen GetAppParamsPlatform = "tizen" GetAppParamsPlatformWeb GetAppParamsPlatform = "web" GetAppParamsPlatformWebos GetAppParamsPlatform = "webos" GetAppParamsPlatformXbox GetAppParamsPlatform = "xbox" )
Defines values for GetAppParamsPlatform.
type GetAppPlatformPackageAssessment2XXAppstoreDownload ¶
type GetAppPlatformPackageAssessment2XXAppstoreDownload string
type GetAppPlatformPackageAssessment2XXTaskStatus ¶
type GetAppPlatformPackageAssessment2XXTaskStatus string
type GetAppPlatformPackageAssessmentParams ¶
type GetAppPlatformPackageAssessmentParams struct {
// Group The group ID of the target application. Required if the application exists in more than one group.
Group *string `form:"group,omitempty" json:"group,omitempty"`
}
GetAppPlatformPackageAssessmentParams defines parameters for GetAppPlatformPackageAssessment.
type GetAppPlatformPackageAssessmentParamsPlatform ¶
type GetAppPlatformPackageAssessmentParamsPlatform string
GetAppPlatformPackageAssessmentParamsPlatform defines parameters for GetAppPlatformPackageAssessment.
const ( GetAppPlatformPackageAssessmentParamsPlatformAndroid GetAppPlatformPackageAssessmentParamsPlatform = "android" GetAppPlatformPackageAssessmentParamsPlatformFireos GetAppPlatformPackageAssessmentParamsPlatform = "fireos" GetAppPlatformPackageAssessmentParamsPlatformHarmonyos GetAppPlatformPackageAssessmentParamsPlatform = "harmonyos" GetAppPlatformPackageAssessmentParamsPlatformIos GetAppPlatformPackageAssessmentParamsPlatform = "ios" GetAppPlatformPackageAssessmentParamsPlatformPlaystation GetAppPlatformPackageAssessmentParamsPlatform = "playstation" GetAppPlatformPackageAssessmentParamsPlatformRoku GetAppPlatformPackageAssessmentParamsPlatform = "roku" GetAppPlatformPackageAssessmentParamsPlatformTizen GetAppPlatformPackageAssessmentParamsPlatform = "tizen" GetAppPlatformPackageAssessmentParamsPlatformWeb GetAppPlatformPackageAssessmentParamsPlatform = "web" GetAppPlatformPackageAssessmentParamsPlatformWebos GetAppPlatformPackageAssessmentParamsPlatform = "webos" GetAppPlatformPackageAssessmentParamsPlatformXbox GetAppPlatformPackageAssessmentParamsPlatform = "xbox" )
Defines values for GetAppPlatformPackageAssessmentParamsPlatform.
type GetAppPlatformPackageAssessmentResponse ¶
type GetAppPlatformPackageAssessmentResponse struct {
Body []byte
HTTPResponse *http.Response
JSON2XX *[]struct {
// Account The UUID ref of the group this assessment belongs to.
Account *openapi_types.UUID `json:"account"`
// AdjustedIssues A map from finding keys to the finding's associated CVSS score in the user-edited assessment report.
AdjustedIssues *interface{} `json:"adjusted_issues,omitempty"`
// AdjustedScore The score for the user-edited assessment report.
AdjustedScore *float32 `json:"adjusted_score"`
// Application The UUID ref of the application this assessment belongs to.
Application *openapi_types.UUID `json:"application"`
// AppstoreDownload * if the assessment was ran on the latest app store binary at the time of assessment.
AppstoreDownload *GetAppPlatformPackageAssessment2XXAppstoreDownload `json:"appstore_download,omitempty"`
// Binary The SHA-256 hash of the binary this assessment was run on.
Binary *string `json:"binary"`
// Cancelled Whether this assessment was manually cancelled before completion.
Cancelled bool `json:"cancelled"`
// Config The complete configuration this assessment was ran with.
Config struct {
// Dynamic The dynamic-specific configuration this assessment was ran with.
Dynamic interface{} `json:"dynamic"`
// Static The static-specific configuration this assessment was ran with.
Static interface{} `json:"static"`
} `json:"config"`
// Created The date-time this assessment was created.
Created *time.Time `json:"created"`
// Creator The UUID ref of the user who triggered this assessment.
Creator *openapi_types.UUID `json:"creator"`
Events struct {
Dynamic []interface{} `json:"dynamic"`
} `json:"events"`
// Favorite Whether this assessment has been marked as a favorite.
Favorite *bool `json:"favorite"`
// Group The UUID ref of the group this assessment belongs to.
Group *openapi_types.UUID `json:"group"`
// IdentifiedVulnMap A map from finding keys to integer identified vulnerability IDs.
IdentifiedVulnMap *interface{} `json:"identified_vuln_map,omitempty"`
// Package The package ID of the application this assessment belongs to.
Package string `json:"package"`
// Platform The operating system of the application this assessment belongs to (android or ios).
Platform string `json:"platform"`
// Ref The unique identifier for the assessment.
Ref openapi_types.UUID `json:"ref"`
// Status An object describing the status of the static and dynamic tasks associated with this assessment.
Status struct {
// Dynamic A string describing the status of the dynamic task associated with this assessment.
Dynamic interface{} `json:"dynamic"`
// Static A string describing the status of the static task associated with this assessment.
Static interface{} `json:"static"`
} `json:"status"`
// Task An integer identifying the underlying analysis tasks associated with this assessment.
Task float32 `json:"task"`
// TaskErrorCode The error code describing the failure if an assessment failed.
TaskErrorCode *string `json:"task_error_code"`
// TaskStatus The state of the assessment.
TaskStatus *GetAppPlatformPackageAssessment2XXTaskStatus `json:"task_status,omitempty"`
// Updated The date-time this assessment was last updated.
Updated *time.Time `json:"updated"`
}
JSON4XX *LabRouteError
JSON5XX *LabRouteError
}
func ParseGetAppPlatformPackageAssessmentResponse ¶
func ParseGetAppPlatformPackageAssessmentResponse(rsp *http.Response) (*GetAppPlatformPackageAssessmentResponse, error)
ParseGetAppPlatformPackageAssessmentResponse parses an HTTP response from a GetAppPlatformPackageAssessmentWithResponse call
func (GetAppPlatformPackageAssessmentResponse) Status ¶
func (r GetAppPlatformPackageAssessmentResponse) Status() string
Status returns HTTPResponse.Status
func (GetAppPlatformPackageAssessmentResponse) StatusCode ¶
func (r GetAppPlatformPackageAssessmentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAppPlatformPackageAssessmentTask2XXAppstoreDownload ¶
type GetAppPlatformPackageAssessmentTask2XXAppstoreDownload string
type GetAppPlatformPackageAssessmentTask2XXTaskStatus ¶
type GetAppPlatformPackageAssessmentTask2XXTaskStatus string
type GetAppPlatformPackageAssessmentTaskParams ¶
type GetAppPlatformPackageAssessmentTaskParams struct {
// Group The group ID of the application to get an assessment for. Required if the application exists in more than one group.
Group *string `form:"group,omitempty" json:"group,omitempty"`
}
GetAppPlatformPackageAssessmentTaskParams defines parameters for GetAppPlatformPackageAssessmentTask.
type GetAppPlatformPackageAssessmentTaskParamsPlatform ¶
type GetAppPlatformPackageAssessmentTaskParamsPlatform string
GetAppPlatformPackageAssessmentTaskParamsPlatform defines parameters for GetAppPlatformPackageAssessmentTask.
const ( GetAppPlatformPackageAssessmentTaskParamsPlatformAndroid GetAppPlatformPackageAssessmentTaskParamsPlatform = "android" GetAppPlatformPackageAssessmentTaskParamsPlatformIos GetAppPlatformPackageAssessmentTaskParamsPlatform = "ios" )
Defines values for GetAppPlatformPackageAssessmentTaskParamsPlatform.
type GetAppPlatformPackageAssessmentTaskRawParams ¶
type GetAppPlatformPackageAssessmentTaskRawParams struct {
// Group The group ID of the target assessment. Required if the application exists in more than one group.
Group *string `form:"group,omitempty" json:"group,omitempty"`
}
GetAppPlatformPackageAssessmentTaskRawParams defines parameters for GetAppPlatformPackageAssessmentTaskRaw.
type GetAppPlatformPackageAssessmentTaskRawParamsPlatform ¶
type GetAppPlatformPackageAssessmentTaskRawParamsPlatform string
GetAppPlatformPackageAssessmentTaskRawParamsPlatform defines parameters for GetAppPlatformPackageAssessmentTaskRaw.
const ( GetAppPlatformPackageAssessmentTaskRawParamsPlatformAndroid GetAppPlatformPackageAssessmentTaskRawParamsPlatform = "android" GetAppPlatformPackageAssessmentTaskRawParamsPlatformIos GetAppPlatformPackageAssessmentTaskRawParamsPlatform = "ios" )
Defines values for GetAppPlatformPackageAssessmentTaskRawParamsPlatform.
type GetAppPlatformPackageAssessmentTaskRawResponse ¶
type GetAppPlatformPackageAssessmentTaskRawResponse struct {
Body []byte
HTTPResponse *http.Response
JSON2XX *struct {
// Dynamic The raw dynamic analysis results for the assessment.
Dynamic *map[string]interface{} `json:"dynamic,omitempty"`
// Static The raw static analysis results for the assessment.
Static *map[string]interface{} `json:"static,omitempty"`
// Yaap The raw YaapStatic analysis results for the assessment.
Yaap *map[string]interface{} `json:"yaap,omitempty"`
// YaapFiltered The raw YaapFilter analysis results for the assessment.
YaapFiltered *map[string]interface{} `json:"yaap_filtered,omitempty"`
}
JSON4XX *LabRouteError
JSON5XX *LabRouteError
}
func ParseGetAppPlatformPackageAssessmentTaskRawResponse ¶
func ParseGetAppPlatformPackageAssessmentTaskRawResponse(rsp *http.Response) (*GetAppPlatformPackageAssessmentTaskRawResponse, error)
ParseGetAppPlatformPackageAssessmentTaskRawResponse parses an HTTP response from a GetAppPlatformPackageAssessmentTaskRawWithResponse call
func (GetAppPlatformPackageAssessmentTaskRawResponse) Status ¶
func (r GetAppPlatformPackageAssessmentTaskRawResponse) Status() string
Status returns HTTPResponse.Status
func (GetAppPlatformPackageAssessmentTaskRawResponse) StatusCode ¶
func (r GetAppPlatformPackageAssessmentTaskRawResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAppPlatformPackageAssessmentTaskReportParams ¶
type GetAppPlatformPackageAssessmentTaskReportParams struct {
// Group The group ID of the target assessment. Required if the application exists in more than one group.
Group *string `form:"group,omitempty" json:"group,omitempty"`
}
GetAppPlatformPackageAssessmentTaskReportParams defines parameters for GetAppPlatformPackageAssessmentTaskReport.
type GetAppPlatformPackageAssessmentTaskReportParamsPlatform ¶
type GetAppPlatformPackageAssessmentTaskReportParamsPlatform string
GetAppPlatformPackageAssessmentTaskReportParamsPlatform defines parameters for GetAppPlatformPackageAssessmentTaskReport.
const ( GetAppPlatformPackageAssessmentTaskReportParamsPlatformAndroid GetAppPlatformPackageAssessmentTaskReportParamsPlatform = "android" GetAppPlatformPackageAssessmentTaskReportParamsPlatformIos GetAppPlatformPackageAssessmentTaskReportParamsPlatform = "ios" )
Defines values for GetAppPlatformPackageAssessmentTaskReportParamsPlatform.
type GetAppPlatformPackageAssessmentTaskReportResponse ¶
type GetAppPlatformPackageAssessmentTaskReportResponse struct {
Body []byte
HTTPResponse *http.Response
JSON2XX *struct {
// Dynamic The raw dynamic analysis results for the assessment.
Dynamic *map[string]interface{} `json:"dynamic,omitempty"`
// Static The raw static analysis results for the assessment.
Static *map[string]interface{} `json:"static,omitempty"`
// Yaap The raw YaapStatic analysis results for the assessment.
Yaap *map[string]interface{} `json:"yaap,omitempty"`
// YaapFiltered The raw YaapFilter analysis results for the assessment.
YaapFiltered *map[string]interface{} `json:"yaap_filtered,omitempty"`
}
JSON4XX *LabRouteError
JSON5XX *LabRouteError
}
func ParseGetAppPlatformPackageAssessmentTaskReportResponse ¶
func ParseGetAppPlatformPackageAssessmentTaskReportResponse(rsp *http.Response) (*GetAppPlatformPackageAssessmentTaskReportResponse, error)
ParseGetAppPlatformPackageAssessmentTaskReportResponse parses an HTTP response from a GetAppPlatformPackageAssessmentTaskReportWithResponse call
func (GetAppPlatformPackageAssessmentTaskReportResponse) Status ¶
func (r GetAppPlatformPackageAssessmentTaskReportResponse) Status() string
Status returns HTTPResponse.Status
func (GetAppPlatformPackageAssessmentTaskReportResponse) StatusCode ¶
func (r GetAppPlatformPackageAssessmentTaskReportResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAppPlatformPackageAssessmentTaskResponse ¶
type GetAppPlatformPackageAssessmentTaskResponse struct {
Body []byte
HTTPResponse *http.Response
JSON2XX *struct {
// Account The UUID ref of the group this assessment belongs to.
Account *openapi_types.UUID `json:"account"`
// AdjustedIssues A map from finding keys to the finding's associated CVSS score in the user-edited assessment report.
AdjustedIssues *interface{} `json:"adjusted_issues,omitempty"`
// AdjustedScore The score for the user-edited assessment report.
AdjustedScore *float32 `json:"adjusted_score"`
// Application The UUID ref of the application this assessment belongs to.
Application *openapi_types.UUID `json:"application"`
// AppstoreDownload * if the assessment was ran on the latest app store binary at the time of assessment.
AppstoreDownload *GetAppPlatformPackageAssessmentTask2XXAppstoreDownload `json:"appstore_download,omitempty"`
// Binary The SHA-256 hash of the binary this assessment was run on.
Binary *string `json:"binary"`
// Cancelled Whether this assessment was manually cancelled before completion.
Cancelled bool `json:"cancelled"`
// Config The complete configuration this assessment was ran with.
Config struct {
// Dynamic The dynamic-specific configuration this assessment was ran with.
Dynamic interface{} `json:"dynamic"`
// Static The static-specific configuration this assessment was ran with.
Static interface{} `json:"static"`
} `json:"config"`
// Created The date-time this assessment was created.
Created *time.Time `json:"created"`
// Creator The UUID ref of the user who triggered this assessment.
Creator *openapi_types.UUID `json:"creator"`
Events struct {
Dynamic []interface{} `json:"dynamic"`
} `json:"events"`
// Favorite Whether this assessment has been marked as a favorite.
Favorite *bool `json:"favorite"`
// Group The UUID ref of the group this assessment belongs to.
Group *openapi_types.UUID `json:"group"`
// IdentifiedVulnMap A map from finding keys to integer identified vulnerability IDs.
IdentifiedVulnMap *interface{} `json:"identified_vuln_map,omitempty"`
// Package The package ID of the application this assessment belongs to.
Package string `json:"package"`
// Platform The operating system of the application this assessment belongs to (android or ios).
Platform string `json:"platform"`
// Ref The unique identifier for the assessment.
Ref openapi_types.UUID `json:"ref"`
// Status An object describing the status of the static and dynamic tasks associated with this assessment.
Status struct {
// Dynamic A string describing the status of the dynamic task associated with this assessment.
Dynamic interface{} `json:"dynamic"`
// Static A string describing the status of the static task associated with this assessment.
Static interface{} `json:"static"`
} `json:"status"`
// Task An integer identifying the underlying analysis tasks associated with this assessment.
Task float32 `json:"task"`
// TaskErrorCode The error code describing the failure if an assessment failed.
TaskErrorCode *string `json:"task_error_code"`
// TaskStatus The state of the assessment.
TaskStatus *GetAppPlatformPackageAssessmentTask2XXTaskStatus `json:"task_status,omitempty"`
// Updated The date-time this assessment was last updated.
Updated *time.Time `json:"updated"`
}
JSON4XX *LabRouteError
JSON5XX *LabRouteError
}
func GetAssessment ¶
func GetAssessment(ctx context.Context, client *ClientWithResponses, p GetAssessmentParams) (*GetAppPlatformPackageAssessmentTaskResponse, error)
TODO impl these on clientWithResponses
func ParseGetAppPlatformPackageAssessmentTaskResponse ¶
func ParseGetAppPlatformPackageAssessmentTaskResponse(rsp *http.Response) (*GetAppPlatformPackageAssessmentTaskResponse, error)
ParseGetAppPlatformPackageAssessmentTaskResponse parses an HTTP response from a GetAppPlatformPackageAssessmentTaskWithResponse call
func (GetAppPlatformPackageAssessmentTaskResponse) Status ¶
func (r GetAppPlatformPackageAssessmentTaskResponse) Status() string
Status returns HTTPResponse.Status
func (GetAppPlatformPackageAssessmentTaskResponse) StatusCode ¶
func (r GetAppPlatformPackageAssessmentTaskResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAppPlatformPackageAssessmentTaskResults2XX0 ¶
type GetAppPlatformPackageAssessmentTaskResults2XX0 = []GetAppPlatformPackageAssessmentTaskResults_2XX_0_Item
type GetAppPlatformPackageAssessmentTaskResults2XX0Kind ¶
type GetAppPlatformPackageAssessmentTaskResults2XX0Kind string
type GetAppPlatformPackageAssessmentTaskResults2XX1 ¶
type GetAppPlatformPackageAssessmentTaskResults2XX1 = []GetAppPlatformPackageAssessmentTaskResults_2XX_1_Item
type GetAppPlatformPackageAssessmentTaskResults2XX1Kind ¶
type GetAppPlatformPackageAssessmentTaskResults2XX1Kind string
type GetAppPlatformPackageAssessmentTaskResultsParams ¶
type GetAppPlatformPackageAssessmentTaskResultsParams struct {
// Group The group ID of the target assessment. Required if the application exists in more than one group.
Group *string `form:"group,omitempty" json:"group,omitempty"`
}
GetAppPlatformPackageAssessmentTaskResultsParams defines parameters for GetAppPlatformPackageAssessmentTaskResults.
type GetAppPlatformPackageAssessmentTaskResultsParamsPlatform ¶
type GetAppPlatformPackageAssessmentTaskResultsParamsPlatform string
GetAppPlatformPackageAssessmentTaskResultsParamsPlatform defines parameters for GetAppPlatformPackageAssessmentTaskResults.
const ( GetAppPlatformPackageAssessmentTaskResultsParamsPlatformAndroid GetAppPlatformPackageAssessmentTaskResultsParamsPlatform = "android" GetAppPlatformPackageAssessmentTaskResultsParamsPlatformIos GetAppPlatformPackageAssessmentTaskResultsParamsPlatform = "ios" )
Defines values for GetAppPlatformPackageAssessmentTaskResultsParamsPlatform.
type GetAppPlatformPackageAssessmentTaskResultsResponse ¶
type GetAppPlatformPackageAssessmentTaskResultsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON2XX *struct {
// contains filtered or unexported fields
}
JSON4XX *LabRouteError
JSON5XX *LabRouteError
}
func ParseGetAppPlatformPackageAssessmentTaskResultsResponse ¶
func ParseGetAppPlatformPackageAssessmentTaskResultsResponse(rsp *http.Response) (*GetAppPlatformPackageAssessmentTaskResultsResponse, error)
ParseGetAppPlatformPackageAssessmentTaskResultsResponse parses an HTTP response from a GetAppPlatformPackageAssessmentTaskResultsWithResponse call
func (GetAppPlatformPackageAssessmentTaskResultsResponse) Status ¶
func (r GetAppPlatformPackageAssessmentTaskResultsResponse) Status() string
Status returns HTTPResponse.Status
func (GetAppPlatformPackageAssessmentTaskResultsResponse) StatusCode ¶
func (r GetAppPlatformPackageAssessmentTaskResultsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAppPlatformPackageAssessmentTaskResults_2XX_0_Issue ¶
type GetAppPlatformPackageAssessmentTaskResults_2XX_0_Issue struct {
// Category The categorization of the finding.
Category *string `json:"category,omitempty"`
// Cvss The CVSS score of the finding.
Cvss *float32 `json:"cvss,omitempty"`
// CvssVector The CVSS vector of the finding.
CvssVector *string `json:"cvss_vector,omitempty"`
// Description The description of the finding issue.
Description string `json:"description"`
// ImpactSummary The description characterizing the general impact the vulnerability could have in the wild.
ImpactSummary *string `json:"impact_summary,omitempty"`
// PassContent The Markdown content relevant when the application is not found to be affected by the issue.
PassContent *string `json:"pass_content,omitempty"`
// Recommendation The remediation recommendation for the finding.
Recommendation *string `json:"recommendation,omitempty"`
// Severity The severity of the finding.
Severity string `json:"severity"`
// StepsToReproduce The steps to reproduce the finding.
StepsToReproduce *string `json:"steps_to_reproduce,omitempty"`
// Title The title of the finding issue.
Title string `json:"title"`
AdditionalProperties map[string]interface{} `json:"-"`
}
type GetAppPlatformPackageAssessmentTaskResults_2XX_0_Item ¶
type GetAppPlatformPackageAssessmentTaskResults_2XX_0_Item struct {
// Affected Determines if finding is affected in the assessment in which it was found.
Affected bool `json:"affected"`
// Category The categorization of the finding.
Category *string `json:"category,omitempty"`
// Context The context or evidence related to the finding.
Context *struct {
Certificate *map[string]interface{} `json:"certificate,omitempty"`
Fields *map[string]map[string]interface{} `json:"fields,omitempty"`
PdfView *string `json:"pdfView,omitempty"`
Rows *map[string]interface{} `json:"rows,omitempty"`
} `json:"context,omitempty"`
// Cvss The CVSS score of the finding.
Cvss *float32 `json:"cvss,omitempty"`
// CvssVector The CVSS vector of the finding.
CvssVector *string `json:"cvss_vector,omitempty"`
// Description The Markdown content describing the finding in more detail.
Description *string `json:"description,omitempty"`
Issue *GetAppPlatformPackageAssessmentTaskResults_2XX_0_Issue `json:"issue,omitempty"`
// Kind The specific analysis type associated with the finding.
Kind GetAppPlatformPackageAssessmentTaskResults2XX0Kind `json:"kind"`
// Recommendation The remediation recommendation for the finding.
Recommendation *string `json:"recommendation"`
// Regulatory The regulatory links for the finding.
Regulatory map[string][]struct {
Id string `json:"id"`
Url *string `json:"url,omitempty"`
Version *string `json:"version,omitempty"`
} `json:"regulatory"`
// Severity The severity of the finding.
Severity string `json:"severity"`
// Summary The summary description of the finding.
Summary *string `json:"summary"`
// Title The title of the finding.
Title string `json:"title"`
AdditionalProperties map[string]interface{} `json:"-"`
}
type GetAppPlatformPackageAssessmentTaskResults_2XX_1_Item ¶
type GetAppPlatformPackageAssessmentTaskResults_2XX_1_Item struct {
// Affected Determines if finding is affected in the assessment in which it was found.
Affected bool `json:"affected"`
// Category The categorization of the finding.
Category *string `json:"category,omitempty"`
// Description The Markdown content describing the finding in more detail.
Description *string `json:"description,omitempty"`
// Kind The specific analysis type associated with the finding.
Kind GetAppPlatformPackageAssessmentTaskResults2XX1Kind `json:"kind"`
// Recommendation The remediation recommendation for the finding.
Recommendation *string `json:"recommendation"`
// Regulatory The regulatory links for the finding.
Regulatory map[string][]struct {
Id string `json:"id"`
Url *string `json:"url,omitempty"`
Version *string `json:"version,omitempty"`
} `json:"regulatory"`
// Severity The severity of the finding.
Severity *string `json:"severity,omitempty"`
// Summary The Markdown content describing the finding in more detail.
Summary *string `json:"summary,omitempty"`
// Title The title of the finding.
Title string `json:"title"`
AdditionalProperties map[string]interface{} `json:"-"`
}
type GetAppPlatformPackageBuildParams ¶
type GetAppPlatformPackageBuildParams struct {
// Group The group ID of the target application. If not specified all groups will be searched.
Group *openapi_types.UUID `form:"group,omitempty" json:"group,omitempty"`
}
GetAppPlatformPackageBuildParams defines parameters for GetAppPlatformPackageBuild.
type GetAppPlatformPackageBuildParamsPlatform ¶
type GetAppPlatformPackageBuildParamsPlatform string
GetAppPlatformPackageBuildParamsPlatform defines parameters for GetAppPlatformPackageBuild.
const ( GetAppPlatformPackageBuildParamsPlatformAndroid GetAppPlatformPackageBuildParamsPlatform = "android" GetAppPlatformPackageBuildParamsPlatformFireos GetAppPlatformPackageBuildParamsPlatform = "fireos" GetAppPlatformPackageBuildParamsPlatformHarmonyos GetAppPlatformPackageBuildParamsPlatform = "harmonyos" GetAppPlatformPackageBuildParamsPlatformIos GetAppPlatformPackageBuildParamsPlatform = "ios" GetAppPlatformPackageBuildParamsPlatformPlaystation GetAppPlatformPackageBuildParamsPlatform = "playstation" GetAppPlatformPackageBuildParamsPlatformRoku GetAppPlatformPackageBuildParamsPlatform = "roku" GetAppPlatformPackageBuildParamsPlatformTizen GetAppPlatformPackageBuildParamsPlatform = "tizen" GetAppPlatformPackageBuildParamsPlatformWeb GetAppPlatformPackageBuildParamsPlatform = "web" GetAppPlatformPackageBuildParamsPlatformWebos GetAppPlatformPackageBuildParamsPlatform = "webos" GetAppPlatformPackageBuildParamsPlatformXbox GetAppPlatformPackageBuildParamsPlatform = "xbox" )
Defines values for GetAppPlatformPackageBuildParamsPlatform.
type GetAppPlatformPackageBuildResponse ¶
type GetAppPlatformPackageBuildResponse struct {
Body []byte
HTTPResponse *http.Response
JSON2XX *AppBuildList
JSON4XX *LabRouteError
JSON5XX *LabRouteError
}
func ParseGetAppPlatformPackageBuildResponse ¶
func ParseGetAppPlatformPackageBuildResponse(rsp *http.Response) (*GetAppPlatformPackageBuildResponse, error)
ParseGetAppPlatformPackageBuildResponse parses an HTTP response from a GetAppPlatformPackageBuildWithResponse call
func (GetAppPlatformPackageBuildResponse) Status ¶
func (r GetAppPlatformPackageBuildResponse) Status() string
Status returns HTTPResponse.Status
func (GetAppPlatformPackageBuildResponse) StatusCode ¶
func (r GetAppPlatformPackageBuildResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAppPlatformPackageConfigParams ¶
type GetAppPlatformPackageConfigParams struct {
// Group The UUID group ref of the application to get the config for (Optional if the user is only in one group).
Group *openapi_types.UUID `form:"group,omitempty" json:"group,omitempty"`
}
GetAppPlatformPackageConfigParams defines parameters for GetAppPlatformPackageConfig.
type GetAppPlatformPackageConfigParamsPlatform ¶
type GetAppPlatformPackageConfigParamsPlatform string
GetAppPlatformPackageConfigParamsPlatform defines parameters for GetAppPlatformPackageConfig.
const ( GetAppPlatformPackageConfigParamsPlatformAndroid GetAppPlatformPackageConfigParamsPlatform = "android" GetAppPlatformPackageConfigParamsPlatformIos GetAppPlatformPackageConfigParamsPlatform = "ios" )
Defines values for GetAppPlatformPackageConfigParamsPlatform.
type GetAppPlatformPackageConfigResponse ¶
type GetAppPlatformPackageConfigResponse struct {
Body []byte
HTTPResponse *http.Response
JSON2XX *struct {
// Dynamic The dynamic configuration for the application.
Dynamic *map[string]interface{} `json:"dynamic,omitempty"`
Integrations *struct {
PENTEST *struct {
Azure *struct {
AutomationRules struct {
PolicyCategories *struct {
Category1 bool `json:"category1"`
Category2 bool `json:"category2"`
Category3 bool `json:"category3"`
} `json:"policyCategories,omitempty"`
Severities *struct {
Critical bool `json:"critical"`
High bool `json:"high"`
Info bool `json:"info"`
Low bool `json:"low"`
Medium bool `json:"medium"`
Warn bool `json:"warn"`
} `json:"severities,omitempty"`
} `json:"automationRules"`
CreateIssuesAutomatically *bool `json:"createIssuesAutomatically,omitempty"`
CustomFields *[]struct {
ReferenceName string `json:"referenceName"`
Type string `json:"type"`
Value string `json:"value"`
} `json:"customFields,omitempty"`
ExcludeEvidence *bool `json:"excludeEvidence,omitempty"`
IssueTemplateMapping *map[string]interface{} `json:"issueTemplateMapping,omitempty"`
OrganizationName string `json:"organizationName"`
ProjectId string `json:"projectId"`
Tags *[]string `json:"tags,omitempty"`
WorkItemType string `json:"workItemType"`
} `json:"azure,omitempty"`
Github *struct {
AutomationRules struct {
PolicyCategories *struct {
Category1 bool `json:"category1"`
Category2 bool `json:"category2"`
Category3 bool `json:"category3"`
} `json:"policyCategories,omitempty"`
Severities *struct {
Critical bool `json:"critical"`
High bool `json:"high"`
Info bool `json:"info"`
Low bool `json:"low"`
Medium bool `json:"medium"`
Warn bool `json:"warn"`
} `json:"severities,omitempty"`
} `json:"automationRules"`
CreateIssuesAutomatically *bool `json:"createIssuesAutomatically,omitempty"`
Labels *[]string `json:"labels,omitempty"`
Repository string `json:"repository"`
} `json:"github,omitempty"`
Gitlab *struct {
AutomationRules struct {
PolicyCategories *struct {
Category1 bool `json:"category1"`
Category2 bool `json:"category2"`
Category3 bool `json:"category3"`
} `json:"policyCategories,omitempty"`
Severities *struct {
Critical bool `json:"critical"`
High bool `json:"high"`
Info bool `json:"info"`
Low bool `json:"low"`
Medium bool `json:"medium"`
Warn bool `json:"warn"`
} `json:"severities,omitempty"`
} `json:"automationRules"`
CreateIssuesAutomatically *bool `json:"createIssuesAutomatically,omitempty"`
ExcludeEvidence *bool `json:"excludeEvidence,omitempty"`
GroupId string `json:"groupId"`
Labels *[]string `json:"labels,omitempty"`
ProjectId string `json:"projectId"`
} `json:"gitlab,omitempty"`
Jira *struct {
AutomationRules struct {
PolicyCategories *struct {
Category1 bool `json:"category1"`
Category2 bool `json:"category2"`
Category3 bool `json:"category3"`
} `json:"policyCategories,omitempty"`
Severities *struct {
Critical bool `json:"critical"`
High bool `json:"high"`
Info bool `json:"info"`
Low bool `json:"low"`
Medium bool `json:"medium"`
Warn bool `json:"warn"`
} `json:"severities,omitempty"`
} `json:"automationRules"`
BaseUrl *string `json:"baseUrl,omitempty"`
CreateIssuesAutomatically *bool `json:"createIssuesAutomatically,omitempty"`
CustomFields *[]struct {
Name string `json:"name"`
Type string `json:"type"`
Value string `json:"value"`
} `json:"customFields,omitempty"`
ExcludeEvidence *bool `json:"excludeEvidence,omitempty"`
IssueTemplateMapping *map[string]interface{} `json:"issueTemplateMapping,omitempty"`
IssueType *string `json:"issueType,omitempty"`
Labels *[]string `json:"labels,omitempty"`
Project string `json:"project"`
} `json:"jira,omitempty"`
Servicenow *struct {
AssignmentGroupSysId *string `json:"assignmentGroupSysId,omitempty"`
AutomationRules struct {
PolicyCategories *struct {
Category1 bool `json:"category1"`
Category2 bool `json:"category2"`
Category3 bool `json:"category3"`
} `json:"policyCategories,omitempty"`
Severities *struct {
Critical bool `json:"critical"`
High bool `json:"high"`
Info bool `json:"info"`
Low bool `json:"low"`
Medium bool `json:"medium"`
Warn bool `json:"warn"`
} `json:"severities,omitempty"`
} `json:"automationRules"`
CategorySysId *string `json:"categorySysId,omitempty"`
CreateIssuesAutomatically *bool `json:"createIssuesAutomatically,omitempty"`
ExcludeEvidence *bool `json:"excludeEvidence,omitempty"`
ImpactLevel *string `json:"impactLevel,omitempty"`
UrgencyLevel *string `json:"urgencyLevel,omitempty"`
} `json:"servicenow,omitempty"`
} `json:"PEN_TEST,omitempty"`
PLATFORM *struct {
Azure *struct {
AutomationRules struct {
PolicyCategories *struct {
Category1 bool `json:"category1"`
Category2 bool `json:"category2"`
Category3 bool `json:"category3"`
} `json:"policyCategories,omitempty"`
Severities *struct {
Critical bool `json:"critical"`
High bool `json:"high"`
Info bool `json:"info"`
Low bool `json:"low"`
Medium bool `json:"medium"`
Warn bool `json:"warn"`
} `json:"severities,omitempty"`
} `json:"automationRules"`
CreateIssuesAutomatically *bool `json:"createIssuesAutomatically,omitempty"`
CustomFields *[]struct {
ReferenceName string `json:"referenceName"`
Type string `json:"type"`
Value string `json:"value"`
} `json:"customFields,omitempty"`
ExcludeEvidence *bool `json:"excludeEvidence,omitempty"`
IssueTemplateMapping *map[string]interface{} `json:"issueTemplateMapping,omitempty"`
OrganizationName string `json:"organizationName"`
ProjectId string `json:"projectId"`
Tags *[]string `json:"tags,omitempty"`
WorkItemType string `json:"workItemType"`
} `json:"azure,omitempty"`
Github *struct {
AutomationRules struct {
PolicyCategories *struct {
Category1 bool `json:"category1"`
Category2 bool `json:"category2"`
Category3 bool `json:"category3"`
} `json:"policyCategories,omitempty"`
Severities *struct {
Critical bool `json:"critical"`
High bool `json:"high"`
Info bool `json:"info"`
Low bool `json:"low"`
Medium bool `json:"medium"`
Warn bool `json:"warn"`
} `json:"severities,omitempty"`
} `json:"automationRules"`
CreateIssuesAutomatically *bool `json:"createIssuesAutomatically,omitempty"`
Labels *[]string `json:"labels,omitempty"`
Repository string `json:"repository"`
} `json:"github,omitempty"`
Gitlab *struct {
AutomationRules struct {
PolicyCategories *struct {
Category1 bool `json:"category1"`
Category2 bool `json:"category2"`
Category3 bool `json:"category3"`
} `json:"policyCategories,omitempty"`
Severities *struct {
Critical bool `json:"critical"`
High bool `json:"high"`
Info bool `json:"info"`
Low bool `json:"low"`
Medium bool `json:"medium"`
Warn bool `json:"warn"`
} `json:"severities,omitempty"`
} `json:"automationRules"`
CreateIssuesAutomatically *bool `json:"createIssuesAutomatically,omitempty"`
ExcludeEvidence *bool `json:"excludeEvidence,omitempty"`
GroupId string `json:"groupId"`
Labels *[]string `json:"labels,omitempty"`
ProjectId string `json:"projectId"`
} `json:"gitlab,omitempty"`
Jira *struct {
AutomationRules struct {
PolicyCategories *struct {
Category1 bool `json:"category1"`
Category2 bool `json:"category2"`
Category3 bool `json:"category3"`
} `json:"policyCategories,omitempty"`
Severities *struct {
Critical bool `json:"critical"`
High bool `json:"high"`
Info bool `json:"info"`
Low bool `json:"low"`
Medium bool `json:"medium"`
Warn bool `json:"warn"`
} `json:"severities,omitempty"`
} `json:"automationRules"`
BaseUrl *string `json:"baseUrl,omitempty"`
CreateIssuesAutomatically *bool `json:"createIssuesAutomatically,omitempty"`
CustomFields *[]struct {
Name string `json:"name"`
Type string `json:"type"`
Value string `json:"value"`
} `json:"customFields,omitempty"`
ExcludeEvidence *bool `json:"excludeEvidence,omitempty"`
IssueTemplateMapping *map[string]interface{} `json:"issueTemplateMapping,omitempty"`
IssueType *string `json:"issueType,omitempty"`
Labels *[]string `json:"labels,omitempty"`
Project string `json:"project"`
} `json:"jira,omitempty"`
Servicenow *struct {
AssignmentGroupSysId *string `json:"assignmentGroupSysId,omitempty"`
AutomationRules struct {
PolicyCategories *struct {
Category1 bool `json:"category1"`
Category2 bool `json:"category2"`
Category3 bool `json:"category3"`
} `json:"policyCategories,omitempty"`
Severities *struct {
Critical bool `json:"critical"`
High bool `json:"high"`
Info bool `json:"info"`
Low bool `json:"low"`
Medium bool `json:"medium"`
Warn bool `json:"warn"`
} `json:"severities,omitempty"`
} `json:"automationRules"`
CategorySysId *string `json:"categorySysId,omitempty"`
CreateIssuesAutomatically *bool `json:"createIssuesAutomatically,omitempty"`
ExcludeEvidence *bool `json:"excludeEvidence,omitempty"`
ImpactLevel *string `json:"impactLevel,omitempty"`
UrgencyLevel *string `json:"urgencyLevel,omitempty"`
} `json:"servicenow,omitempty"`
} `json:"PLATFORM,omitempty"`
} `json:"integrations,omitempty"`
// Static The static configuration for the application.
Static *map[string]interface{} `json:"static,omitempty"`
}
JSON4XX *LabRouteError
JSON5XX *LabRouteError
}
func ParseGetAppPlatformPackageConfigResponse ¶
func ParseGetAppPlatformPackageConfigResponse(rsp *http.Response) (*GetAppPlatformPackageConfigResponse, error)
ParseGetAppPlatformPackageConfigResponse parses an HTTP response from a GetAppPlatformPackageConfigWithResponse call
func (GetAppPlatformPackageConfigResponse) Status ¶
func (r GetAppPlatformPackageConfigResponse) Status() string
Status returns HTTPResponse.Status
func (GetAppPlatformPackageConfigResponse) StatusCode ¶
func (r GetAppPlatformPackageConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAppPlatformPackageParams ¶
type GetAppPlatformPackageParams struct {
// Group The UUID group ref of the application to get (Optional if the application is only in one group).
Group *openapi_types.UUID `form:"group,omitempty" json:"group,omitempty"`
}
GetAppPlatformPackageParams defines parameters for GetAppPlatformPackage.
type GetAppPlatformPackageParamsPlatform ¶
type GetAppPlatformPackageParamsPlatform string
GetAppPlatformPackageParamsPlatform defines parameters for GetAppPlatformPackage.
const ( GetAppPlatformPackageParamsPlatformAndroid GetAppPlatformPackageParamsPlatform = "android" GetAppPlatformPackageParamsPlatformFireos GetAppPlatformPackageParamsPlatform = "fireos" GetAppPlatformPackageParamsPlatformHarmonyos GetAppPlatformPackageParamsPlatform = "harmonyos" GetAppPlatformPackageParamsPlatformIos GetAppPlatformPackageParamsPlatform = "ios" GetAppPlatformPackageParamsPlatformPlaystation GetAppPlatformPackageParamsPlatform = "playstation" GetAppPlatformPackageParamsPlatformRoku GetAppPlatformPackageParamsPlatform = "roku" GetAppPlatformPackageParamsPlatformTizen GetAppPlatformPackageParamsPlatform = "tizen" GetAppPlatformPackageParamsPlatformWeb GetAppPlatformPackageParamsPlatform = "web" GetAppPlatformPackageParamsPlatformWebos GetAppPlatformPackageParamsPlatform = "webos" GetAppPlatformPackageParamsPlatformXbox GetAppPlatformPackageParamsPlatform = "xbox" )
Defines values for GetAppPlatformPackageParamsPlatform.
type GetAppPlatformPackageResponse ¶
type GetAppPlatformPackageResponse struct {
Body []byte
HTTPResponse *http.Response
JSON2XX *LabApp
JSON4XX *LabRouteError
JSON5XX *LabRouteError
}
func ParseGetAppPlatformPackageResponse ¶
func ParseGetAppPlatformPackageResponse(rsp *http.Response) (*GetAppPlatformPackageResponse, error)
ParseGetAppPlatformPackageResponse parses an HTTP response from a GetAppPlatformPackageWithResponse call
func (GetAppPlatformPackageResponse) Status ¶
func (r GetAppPlatformPackageResponse) Status() string
Status returns HTTPResponse.Status
func (GetAppPlatformPackageResponse) StatusCode ¶
func (r GetAppPlatformPackageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAppResponse ¶
type GetAppResponse struct {
Body []byte
HTTPResponse *http.Response
JSON2XX *[]LabApp
JSON4XX *LabRouteError
JSON5XX *LabRouteError
}
func ParseGetAppResponse ¶
func ParseGetAppResponse(rsp *http.Response) (*GetAppResponse, error)
ParseGetAppResponse parses an HTTP response from a GetAppWithResponse call
func (GetAppResponse) Status ¶
func (r GetAppResponse) Status() string
Status returns HTTPResponse.Status
func (GetAppResponse) StatusCode ¶
func (r GetAppResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAssessmentParams ¶
type GetAssessmentRefReportHtmlResponse ¶
type GetAssessmentRefReportHtmlResponse struct {
Body []byte
HTTPResponse *http.Response
JSON4XX *LabRouteError
JSON5XX *LabRouteError
}
func ParseGetAssessmentRefReportHtmlResponse ¶
func ParseGetAssessmentRefReportHtmlResponse(rsp *http.Response) (*GetAssessmentRefReportHtmlResponse, error)
ParseGetAssessmentRefReportHtmlResponse parses an HTTP response from a GetAssessmentRefReportHtmlWithResponse call
func (GetAssessmentRefReportHtmlResponse) Status ¶
func (r GetAssessmentRefReportHtmlResponse) Status() string
Status returns HTTPResponse.Status
func (GetAssessmentRefReportHtmlResponse) StatusCode ¶
func (r GetAssessmentRefReportHtmlResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAssessmentRefReportJsonResponse ¶
type GetAssessmentRefReportJsonResponse struct {
Body []byte
HTTPResponse *http.Response
JSON4XX *LabRouteError
JSON5XX *LabRouteError
}
func ParseGetAssessmentRefReportJsonResponse ¶
func ParseGetAssessmentRefReportJsonResponse(rsp *http.Response) (*GetAssessmentRefReportJsonResponse, error)
ParseGetAssessmentRefReportJsonResponse parses an HTTP response from a GetAssessmentRefReportJsonWithResponse call
func (GetAssessmentRefReportJsonResponse) Status ¶
func (r GetAssessmentRefReportJsonResponse) Status() string
Status returns HTTPResponse.Status
func (GetAssessmentRefReportJsonResponse) StatusCode ¶
func (r GetAssessmentRefReportJsonResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAssessmentRefReportPdfResponse ¶
type GetAssessmentRefReportPdfResponse struct {
Body []byte
HTTPResponse *http.Response
JSON4XX *LabRouteError
JSON5XX *LabRouteError
}
func ParseGetAssessmentRefReportPdfResponse ¶
func ParseGetAssessmentRefReportPdfResponse(rsp *http.Response) (*GetAssessmentRefReportPdfResponse, error)
ParseGetAssessmentRefReportPdfResponse parses an HTTP response from a GetAssessmentRefReportPdfWithResponse call
func (GetAssessmentRefReportPdfResponse) Status ¶
func (r GetAssessmentRefReportPdfResponse) Status() string
Status returns HTTPResponse.Status
func (GetAssessmentRefReportPdfResponse) StatusCode ¶
func (r GetAssessmentRefReportPdfResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAssessmentTaskFindings2XXAnalysisType ¶
type GetAssessmentTaskFindings2XXAnalysisType string
type GetAssessmentTaskFindingsParams ¶
type GetAssessmentTaskFindingsParams struct {
// Group The group of the assessment to get findings for.
Group *openapi_types.UUID `form:"group,omitempty" json:"group,omitempty"`
// UsingLegacy Set to true to use the legacy implementation of this endpoint (not recommended).
UsingLegacy *bool `form:"using_legacy,omitempty" json:"using_legacy,omitempty"`
// Report In combination with using_legacy=true, the type of report to generate.
Report *GetAssessmentTaskFindingsParamsReport `form:"report,omitempty" json:"report,omitempty"`
}
GetAssessmentTaskFindingsParams defines parameters for GetAssessmentTaskFindings.
type GetAssessmentTaskFindingsParamsReport ¶
type GetAssessmentTaskFindingsParamsReport string
GetAssessmentTaskFindingsParamsReport defines parameters for GetAssessmentTaskFindings.
const ( Intel GetAssessmentTaskFindingsParamsReport = "intel" LabAuto GetAssessmentTaskFindingsParamsReport = "lab-auto" Niap GetAssessmentTaskFindingsParamsReport = "niap" )
Defines values for GetAssessmentTaskFindingsParamsReport.
type GetAssessmentTaskFindingsResponse ¶
type GetAssessmentTaskFindingsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON2XX *[]GetAssessmentTaskFindings_2XX_Item
JSON4XX *LabRouteError
JSON5XX *LabRouteError
}
func ParseGetAssessmentTaskFindingsResponse ¶
func ParseGetAssessmentTaskFindingsResponse(rsp *http.Response) (*GetAssessmentTaskFindingsResponse, error)
ParseGetAssessmentTaskFindingsResponse parses an HTTP response from a GetAssessmentTaskFindingsWithResponse call
func (GetAssessmentTaskFindingsResponse) Status ¶
func (r GetAssessmentTaskFindingsResponse) Status() string
Status returns HTTPResponse.Status
func (GetAssessmentTaskFindingsResponse) StatusCode ¶
func (r GetAssessmentTaskFindingsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAssessmentTaskFindings_2XX_Item ¶
type GetAssessmentTaskFindings_2XX_Item struct {
// Affected Determines if finding is affected in the assessment in which it was found.
Affected bool `json:"affected"`
// AnalysisType The specific analysis type associated with the finding.
AnalysisType GetAssessmentTaskFindings2XXAnalysisType `json:"analysis_type"`
// Category The categorization of the finding.
Category *string `json:"category,omitempty"`
// Changes The list of user changes made to the finding.
Changes *[]struct {
Date time.Time `json:"date"`
User struct {
Name string `json:"name"`
Ref openapi_types.UUID `json:"ref"`
} `json:"user"`
} `json:"changes"`
// CheckId The finding check ID.
CheckId string `json:"check_id"`
// Context The context or evidence related to the finding.
Context *struct {
Certificate *map[string]interface{} `json:"certificate,omitempty"`
Fields *map[string]map[string]interface{} `json:"fields,omitempty"`
PdfView *string `json:"pdfView,omitempty"`
Rows *map[string]interface{} `json:"rows,omitempty"`
} `json:"context,omitempty"`
// Cvss The CVSS score of the finding.
Cvss *float32 `json:"cvss,omitempty"`
// CvssVector The CVSS vector of the finding.
CvssVector *string `json:"cvss_vector,omitempty"`
// Description The Markdown content describing the finding in more detail.
Description *string `json:"description,omitempty"`
// Hidden Determines if the finding should be shown in a report.
Hidden bool `json:"hidden"`
// Recommendations The object detailing remdediation recommendations for the finding.
Recommendations struct {
Developer *string `json:"developer,omitempty"`
} `json:"recommendations"`
// Regulations The regulatory links for the finding.
Regulations *[]struct {
Links []struct {
Id string `json:"id"`
Url *string `json:"url,omitempty"`
} `json:"links"`
Type string `json:"type"`
} `json:"regulations,omitempty"`
// Severity The severity of the finding.
Severity string `json:"severity"`
// Title The title of the finding.
Title string `json:"title"`
// UniqueVulnerabilityId The unique integer vulnerability ID associated with the finding, if vulnerable.
UniqueVulnerabilityId *int `json:"unique_vulnerability_id,omitempty"`
// VulnerabilityDetail The description of the vulnerability.
VulnerabilityDetail *string `json:"vulnerability_detail,omitempty"`
// VulnerabilityTitl The title of the vulnerability.
VulnerabilityTitl *string `json:"vulnerability_titl,omitempty"`
AdditionalProperties map[string]interface{} `json:"-"`
}
type GetAssessmentTaskSummary2XXCvssVersion ¶
type GetAssessmentTaskSummary2XXCvssVersion string
type GetAssessmentTaskSummary2XXStatus ¶
type GetAssessmentTaskSummary2XXStatus string
type GetAssessmentTaskSummaryParams ¶
type GetAssessmentTaskSummaryParams struct {
// Group The group of the assessment to get a summary for.
Group *openapi_types.UUID `form:"group,omitempty" json:"group,omitempty"`
}
GetAssessmentTaskSummaryParams defines parameters for GetAssessmentTaskSummary.
type GetAssessmentTaskSummaryResponse ¶
type GetAssessmentTaskSummaryResponse struct {
Body []byte
HTTPResponse *http.Response
JSON2XX *struct {
// AdjustedIssues A map from finding keys to the finding's associated CVSS score in the user-edited assessment report.
AdjustedIssues interface{} `json:"adjusted_issues"`
// BaseScore The score for the unedited assessment report.
BaseScore *float32 `json:"base_score"`
// Changes An object associating user-made overrides to findings by their key.
Changes interface{} `json:"changes"`
CvssVersion *GetAssessmentTaskSummary2XXCvssVersion `json:"cvss_version"`
// FindingsDigest A digest identifying the findings version used for this assessment report.
FindingsDigest *string `json:"findings_digest"`
// Issues A map from finding keys to the finding's associated CVSS score in the unedited assessment report.
Issues interface{} `json:"issues"`
// Score The score for the user-edited assessment report.
Score *float32 `json:"score"`
// Status The state of the assessment.
Status GetAssessmentTaskSummary2XXStatus `json:"status"`
}
JSON4XX *LabRouteError
JSON5XX *LabRouteError
}
func ParseGetAssessmentTaskSummaryResponse ¶
func ParseGetAssessmentTaskSummaryResponse(rsp *http.Response) (*GetAssessmentTaskSummaryResponse, error)
ParseGetAssessmentTaskSummaryResponse parses an HTTP response from a GetAssessmentTaskSummaryWithResponse call
func (GetAssessmentTaskSummaryResponse) Status ¶
func (r GetAssessmentTaskSummaryResponse) Status() string
Status returns HTTPResponse.Status
func (GetAssessmentTaskSummaryResponse) StatusCode ¶
func (r GetAssessmentTaskSummaryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetBinaryDigestAnalysis2XX0 ¶
type GetBinaryDigestAnalysis2XX0 struct {
// Digest The SHA-256 digest of the binary preflight is being run on.
Digest *string `json:"digest,omitempty"`
// Group The UUID group ref of the binary preflight is being run on.
Group *openapi_types.UUID `json:"group,omitempty"`
// Message An additional explanatory message for the status update.
Message *string `json:"message,omitempty"`
// Status The status of preflight analysis.
Status GetBinaryDigestAnalysis_2XX_0_Status `json:"status"`
// WorkflowRequestId A unique integer identifier for the preflight analysis.
WorkflowRequestId *float32 `json:"workflow_request_id,omitempty"`
AdditionalProperties map[string]interface{} `json:"-"`
}
type GetBinaryDigestAnalysis2XX0Status0 ¶
type GetBinaryDigestAnalysis2XX0Status0 string
type GetBinaryDigestAnalysis2XX0Status1 ¶
type GetBinaryDigestAnalysis2XX0Status1 string
type GetBinaryDigestAnalysis2XX0Status2 ¶
type GetBinaryDigestAnalysis2XX0Status2 string
type GetBinaryDigestAnalysis2XX0Status3 ¶
type GetBinaryDigestAnalysis2XX0Status3 string
type GetBinaryDigestAnalysis2XX0Status4 ¶
type GetBinaryDigestAnalysis2XX0Status4 string
type GetBinaryDigestAnalysis2XX1 ¶
type GetBinaryDigestAnalysis2XX1 struct {
// Error A message describing the error that occurred.
Error string `json:"error"`
Status GetBinaryDigestAnalysis2XX1Status `json:"status"`
// WorkflowRequestId A unique integer identifier for the preflight analysis.
WorkflowRequestId *float32 `json:"workflow_request_id,omitempty"`
AdditionalProperties map[string]interface{} `json:"-"`
}
type GetBinaryDigestAnalysis2XX1Status ¶
type GetBinaryDigestAnalysis2XX1Status string
type GetBinaryDigestAnalysisParams ¶
type GetBinaryDigestAnalysisParams struct {
// Group The UUID group ref of the binary to trigger preflight analysis for (Optional if the user is only in one group).
Group *openapi_types.UUID `form:"group,omitempty" json:"group,omitempty"`
// IncludeStatusEvents Whether non-terminal status event updates are in the response stream.
IncludeStatusEvents bool `form:"includeStatusEvents" json:"includeStatusEvents"`
}
GetBinaryDigestAnalysisParams defines parameters for GetBinaryDigestAnalysis.
type GetBinaryDigestAnalysisResponse ¶
type GetBinaryDigestAnalysisResponse struct {
Body []byte
HTTPResponse *http.Response
JSON2XX *[]GetBinaryDigestAnalysis_2XX_Item
JSON4XX *LabRouteError
JSON5XX *LabRouteError
}
func ParseGetBinaryDigestAnalysisResponse ¶
func ParseGetBinaryDigestAnalysisResponse(rsp *http.Response) (*GetBinaryDigestAnalysisResponse, error)
ParseGetBinaryDigestAnalysisResponse parses an HTTP response from a GetBinaryDigestAnalysisWithResponse call
func (GetBinaryDigestAnalysisResponse) Status ¶
func (r GetBinaryDigestAnalysisResponse) Status() string
Status returns HTTPResponse.Status
func (GetBinaryDigestAnalysisResponse) StatusCode ¶
func (r GetBinaryDigestAnalysisResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetBinaryDigestAnalysis_2XX_0_Status ¶
type GetBinaryDigestAnalysis_2XX_0_Status struct {
// contains filtered or unexported fields
}
type GetBinaryDigestAnalysis_2XX_Item ¶
type GetBinaryDigestAnalysis_2XX_Item struct {
// contains filtered or unexported fields
}
type GetBuildParams ¶
type GetBuildParams struct {
// Group Only show applications in this group.
Group *openapi_types.UUID `form:"group,omitempty" json:"group,omitempty"`
}
GetBuildParams defines parameters for GetBuild.
type GetBuildResponse ¶
type GetBuildResponse struct {
Body []byte
HTTPResponse *http.Response
JSON2XX *AppBuildList
JSON4XX *LabRouteError
JSON5XX *LabRouteError
}
func ParseGetBuildResponse ¶
func ParseGetBuildResponse(rsp *http.Response) (*GetBuildResponse, error)
ParseGetBuildResponse parses an HTTP response from a GetBuildWithResponse call
func (GetBuildResponse) Status ¶
func (r GetBuildResponse) Status() string
Status returns HTTPResponse.Status
func (GetBuildResponse) StatusCode ¶
func (r GetBuildResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetUserTokenResponse ¶
type GetUserTokenResponse struct {
Body []byte
HTTPResponse *http.Response
JSON2XX *[]struct {
// Exp Expires at
Exp *float32 `json:"exp,omitempty"`
// Iat Issued at
Iat *float32 `json:"iat,omitempty"`
// Iss Issuer
Iss string `json:"iss"`
// Jti jti/ref
Jti openapi_types.UUID `json:"jti"`
// Name Name
Name *string `json:"name,omitempty"`
// Sub User ref
Sub openapi_types.UUID `json:"sub"`
}
JSON4XX *StandardError
JSON5XX *StandardError
}
func ParseGetUserTokenResponse ¶
func ParseGetUserTokenResponse(rsp *http.Response) (*GetUserTokenResponse, error)
ParseGetUserTokenResponse parses an HTTP response from a GetUserTokenWithResponse call
func (GetUserTokenResponse) Status ¶
func (r GetUserTokenResponse) Status() string
Status returns HTTPResponse.Status
func (GetUserTokenResponse) StatusCode ¶
func (r GetUserTokenResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type LabApp ¶
type LabApp struct {
// Account The UUID ref of the group the application is in.
Account openapi_types.UUID `json:"account"`
// AppstoreApplicationKey For an uploaded application, the iOS application store ID or Android package name.
AppstoreApplicationKey *interface{} `json:"appstore_application_key,omitempty"`
// ArchivedAt The date-time the application was archived.
ArchivedAt *time.Time `json:"archived_at,omitempty"`
// Binary The binary digest for the current build.
Binary *string `json:"binary,omitempty"`
Config *struct {
Dynamic *LabApp_Config_Dynamic `json:"dynamic,omitempty"`
Integrations *struct {
PENTEST *struct {
Azure *struct {
AutomationRules struct {
PolicyCategories *struct {
Category1 bool `json:"category1"`
Category2 bool `json:"category2"`
Category3 bool `json:"category3"`
} `json:"policyCategories,omitempty"`
Severities *struct {
Critical bool `json:"critical"`
High bool `json:"high"`
Info bool `json:"info"`
Low bool `json:"low"`
Medium bool `json:"medium"`
Warn bool `json:"warn"`
} `json:"severities,omitempty"`
} `json:"automationRules"`
CreateIssuesAutomatically *bool `json:"createIssuesAutomatically,omitempty"`
CustomFields *[]struct {
ReferenceName string `json:"referenceName"`
Type string `json:"type"`
Value string `json:"value"`
} `json:"customFields,omitempty"`
ExcludeEvidence *bool `json:"excludeEvidence,omitempty"`
IssueTemplateMapping *map[string]interface{} `json:"issueTemplateMapping,omitempty"`
OrganizationName string `json:"organizationName"`
ProjectId string `json:"projectId"`
Tags *[]string `json:"tags,omitempty"`
WorkItemType string `json:"workItemType"`
} `json:"azure,omitempty"`
Github *struct {
AutomationRules struct {
PolicyCategories *struct {
Category1 bool `json:"category1"`
Category2 bool `json:"category2"`
Category3 bool `json:"category3"`
} `json:"policyCategories,omitempty"`
Severities *struct {
Critical bool `json:"critical"`
High bool `json:"high"`
Info bool `json:"info"`
Low bool `json:"low"`
Medium bool `json:"medium"`
Warn bool `json:"warn"`
} `json:"severities,omitempty"`
} `json:"automationRules"`
CreateIssuesAutomatically *bool `json:"createIssuesAutomatically,omitempty"`
Labels *[]string `json:"labels,omitempty"`
Repository string `json:"repository"`
} `json:"github,omitempty"`
Gitlab *struct {
AutomationRules struct {
PolicyCategories *struct {
Category1 bool `json:"category1"`
Category2 bool `json:"category2"`
Category3 bool `json:"category3"`
} `json:"policyCategories,omitempty"`
Severities *struct {
Critical bool `json:"critical"`
High bool `json:"high"`
Info bool `json:"info"`
Low bool `json:"low"`
Medium bool `json:"medium"`
Warn bool `json:"warn"`
} `json:"severities,omitempty"`
} `json:"automationRules"`
CreateIssuesAutomatically *bool `json:"createIssuesAutomatically,omitempty"`
ExcludeEvidence *bool `json:"excludeEvidence,omitempty"`
GroupId string `json:"groupId"`
Labels *[]string `json:"labels,omitempty"`
ProjectId string `json:"projectId"`
} `json:"gitlab,omitempty"`
Jira *struct {
AutomationRules struct {
PolicyCategories *struct {
Category1 bool `json:"category1"`
Category2 bool `json:"category2"`
Category3 bool `json:"category3"`
} `json:"policyCategories,omitempty"`
Severities *struct {
Critical bool `json:"critical"`
High bool `json:"high"`
Info bool `json:"info"`
Low bool `json:"low"`
Medium bool `json:"medium"`
Warn bool `json:"warn"`
} `json:"severities,omitempty"`
} `json:"automationRules"`
BaseUrl *string `json:"baseUrl,omitempty"`
CreateIssuesAutomatically *bool `json:"createIssuesAutomatically,omitempty"`
CustomFields *[]struct {
Name string `json:"name"`
Type string `json:"type"`
Value string `json:"value"`
} `json:"customFields,omitempty"`
ExcludeEvidence *bool `json:"excludeEvidence,omitempty"`
IssueTemplateMapping *map[string]interface{} `json:"issueTemplateMapping,omitempty"`
IssueType *string `json:"issueType,omitempty"`
Labels *[]string `json:"labels,omitempty"`
Project string `json:"project"`
} `json:"jira,omitempty"`
Servicenow *struct {
AssignmentGroupSysId *string `json:"assignmentGroupSysId,omitempty"`
AutomationRules struct {
PolicyCategories *struct {
Category1 bool `json:"category1"`
Category2 bool `json:"category2"`
Category3 bool `json:"category3"`
} `json:"policyCategories,omitempty"`
Severities *struct {
Critical bool `json:"critical"`
High bool `json:"high"`
Info bool `json:"info"`
Low bool `json:"low"`
Medium bool `json:"medium"`
Warn bool `json:"warn"`
} `json:"severities,omitempty"`
} `json:"automationRules"`
CategorySysId *string `json:"categorySysId,omitempty"`
CreateIssuesAutomatically *bool `json:"createIssuesAutomatically,omitempty"`
ExcludeEvidence *bool `json:"excludeEvidence,omitempty"`
ImpactLevel *string `json:"impactLevel,omitempty"`
UrgencyLevel *string `json:"urgencyLevel,omitempty"`
} `json:"servicenow,omitempty"`
} `json:"PEN_TEST,omitempty"`
PLATFORM *struct {
Azure *struct {
AutomationRules struct {
PolicyCategories *struct {
Category1 bool `json:"category1"`
Category2 bool `json:"category2"`
Category3 bool `json:"category3"`
} `json:"policyCategories,omitempty"`
Severities *struct {
Critical bool `json:"critical"`
High bool `json:"high"`
Info bool `json:"info"`
Low bool `json:"low"`
Medium bool `json:"medium"`
Warn bool `json:"warn"`
} `json:"severities,omitempty"`
} `json:"automationRules"`
CreateIssuesAutomatically *bool `json:"createIssuesAutomatically,omitempty"`
CustomFields *[]struct {
ReferenceName string `json:"referenceName"`
Type string `json:"type"`
Value string `json:"value"`
} `json:"customFields,omitempty"`
ExcludeEvidence *bool `json:"excludeEvidence,omitempty"`
IssueTemplateMapping *map[string]interface{} `json:"issueTemplateMapping,omitempty"`
OrganizationName string `json:"organizationName"`
ProjectId string `json:"projectId"`
Tags *[]string `json:"tags,omitempty"`
WorkItemType string `json:"workItemType"`
} `json:"azure,omitempty"`
Github *struct {
AutomationRules struct {
PolicyCategories *struct {
Category1 bool `json:"category1"`
Category2 bool `json:"category2"`
Category3 bool `json:"category3"`
} `json:"policyCategories,omitempty"`
Severities *struct {
Critical bool `json:"critical"`
High bool `json:"high"`
Info bool `json:"info"`
Low bool `json:"low"`
Medium bool `json:"medium"`
Warn bool `json:"warn"`
} `json:"severities,omitempty"`
} `json:"automationRules"`
CreateIssuesAutomatically *bool `json:"createIssuesAutomatically,omitempty"`
Labels *[]string `json:"labels,omitempty"`
Repository string `json:"repository"`
} `json:"github,omitempty"`
Gitlab *struct {
AutomationRules struct {
PolicyCategories *struct {
Category1 bool `json:"category1"`
Category2 bool `json:"category2"`
Category3 bool `json:"category3"`
} `json:"policyCategories,omitempty"`
Severities *struct {
Critical bool `json:"critical"`
High bool `json:"high"`
Info bool `json:"info"`
Low bool `json:"low"`
Medium bool `json:"medium"`
Warn bool `json:"warn"`
} `json:"severities,omitempty"`
} `json:"automationRules"`
CreateIssuesAutomatically *bool `json:"createIssuesAutomatically,omitempty"`
ExcludeEvidence *bool `json:"excludeEvidence,omitempty"`
GroupId string `json:"groupId"`
Labels *[]string `json:"labels,omitempty"`
ProjectId string `json:"projectId"`
} `json:"gitlab,omitempty"`
Jira *struct {
AutomationRules struct {
PolicyCategories *struct {
Category1 bool `json:"category1"`
Category2 bool `json:"category2"`
Category3 bool `json:"category3"`
} `json:"policyCategories,omitempty"`
Severities *struct {
Critical bool `json:"critical"`
High bool `json:"high"`
Info bool `json:"info"`
Low bool `json:"low"`
Medium bool `json:"medium"`
Warn bool `json:"warn"`
} `json:"severities,omitempty"`
} `json:"automationRules"`
BaseUrl *string `json:"baseUrl,omitempty"`
CreateIssuesAutomatically *bool `json:"createIssuesAutomatically,omitempty"`
CustomFields *[]struct {
Name string `json:"name"`
Type string `json:"type"`
Value string `json:"value"`
} `json:"customFields,omitempty"`
ExcludeEvidence *bool `json:"excludeEvidence,omitempty"`
IssueTemplateMapping *map[string]interface{} `json:"issueTemplateMapping,omitempty"`
IssueType *string `json:"issueType,omitempty"`
Labels *[]string `json:"labels,omitempty"`
Project string `json:"project"`
} `json:"jira,omitempty"`
Servicenow *struct {
AssignmentGroupSysId *string `json:"assignmentGroupSysId,omitempty"`
AutomationRules struct {
PolicyCategories *struct {
Category1 bool `json:"category1"`
Category2 bool `json:"category2"`
Category3 bool `json:"category3"`
} `json:"policyCategories,omitempty"`
Severities *struct {
Critical bool `json:"critical"`
High bool `json:"high"`
Info bool `json:"info"`
Low bool `json:"low"`
Medium bool `json:"medium"`
Warn bool `json:"warn"`
} `json:"severities,omitempty"`
} `json:"automationRules"`
CategorySysId *string `json:"categorySysId,omitempty"`
CreateIssuesAutomatically *bool `json:"createIssuesAutomatically,omitempty"`
ExcludeEvidence *bool `json:"excludeEvidence,omitempty"`
ImpactLevel *string `json:"impactLevel,omitempty"`
UrgencyLevel *string `json:"urgencyLevel,omitempty"`
} `json:"servicenow,omitempty"`
} `json:"PLATFORM,omitempty"`
} `json:"integrations,omitempty"`
Static *LabApp_Config_Static `json:"static,omitempty"`
} `json:"config,omitempty"`
// ConfigLevel The analysis config level of the application.
ConfigLevel *LabAppConfigLevel `json:"config_level,omitempty"`
// Created The date-time the application was created.
Created *time.Time `json:"created,omitempty"`
// FindingsOverrides The object associating user-made overrides to findings by their key.
FindingsOverrides *interface{} `json:"findings_overrides,omitempty"`
// Forbidden Forbidden application records refer to iOS/Android app store downloads that cannot be scanned for various reasons at this time.
Forbidden *struct {
// Reason Application store forbidden reason
Reason string `json:"reason"`
// ReasonDescription Describes why an application is currently forbidden from testing
ReasonDescription string `json:"reasonDescription"`
} `json:"forbidden,omitempty"`
// Group The UUID ref of the group the application is in.
Group openapi_types.UUID `json:"group"`
Integrations *struct {
PENTEST *struct {
Azure *struct {
AutomationRules struct {
PolicyCategories *struct {
Category1 bool `json:"category1"`
Category2 bool `json:"category2"`
Category3 bool `json:"category3"`
} `json:"policyCategories,omitempty"`
Severities *struct {
Critical bool `json:"critical"`
High bool `json:"high"`
Info bool `json:"info"`
Low bool `json:"low"`
Medium bool `json:"medium"`
Warn bool `json:"warn"`
} `json:"severities,omitempty"`
} `json:"automationRules"`
CreateIssuesAutomatically *bool `json:"createIssuesAutomatically,omitempty"`
CustomFields *[]struct {
ReferenceName string `json:"referenceName"`
Type string `json:"type"`
Value string `json:"value"`
} `json:"customFields,omitempty"`
ExcludeEvidence *bool `json:"excludeEvidence,omitempty"`
IssueTemplateMapping *map[string]interface{} `json:"issueTemplateMapping,omitempty"`
OrganizationName string `json:"organizationName"`
ProjectId string `json:"projectId"`
Tags *[]string `json:"tags,omitempty"`
WorkItemType string `json:"workItemType"`
} `json:"azure,omitempty"`
Github *struct {
AutomationRules struct {
PolicyCategories *struct {
Category1 bool `json:"category1"`
Category2 bool `json:"category2"`
Category3 bool `json:"category3"`
} `json:"policyCategories,omitempty"`
Severities *struct {
Critical bool `json:"critical"`
High bool `json:"high"`
Info bool `json:"info"`
Low bool `json:"low"`
Medium bool `json:"medium"`
Warn bool `json:"warn"`
} `json:"severities,omitempty"`
} `json:"automationRules"`
CreateIssuesAutomatically *bool `json:"createIssuesAutomatically,omitempty"`
Labels *[]string `json:"labels,omitempty"`
Repository string `json:"repository"`
} `json:"github,omitempty"`
Gitlab *struct {
AutomationRules struct {
PolicyCategories *struct {
Category1 bool `json:"category1"`
Category2 bool `json:"category2"`
Category3 bool `json:"category3"`
} `json:"policyCategories,omitempty"`
Severities *struct {
Critical bool `json:"critical"`
High bool `json:"high"`
Info bool `json:"info"`
Low bool `json:"low"`
Medium bool `json:"medium"`
Warn bool `json:"warn"`
} `json:"severities,omitempty"`
} `json:"automationRules"`
CreateIssuesAutomatically *bool `json:"createIssuesAutomatically,omitempty"`
ExcludeEvidence *bool `json:"excludeEvidence,omitempty"`
GroupId string `json:"groupId"`
Labels *[]string `json:"labels,omitempty"`
ProjectId string `json:"projectId"`
} `json:"gitlab,omitempty"`
Jira *struct {
AutomationRules struct {
PolicyCategories *struct {
Category1 bool `json:"category1"`
Category2 bool `json:"category2"`
Category3 bool `json:"category3"`
} `json:"policyCategories,omitempty"`
Severities *struct {
Critical bool `json:"critical"`
High bool `json:"high"`
Info bool `json:"info"`
Low bool `json:"low"`
Medium bool `json:"medium"`
Warn bool `json:"warn"`
} `json:"severities,omitempty"`
} `json:"automationRules"`
BaseUrl *string `json:"baseUrl,omitempty"`
CreateIssuesAutomatically *bool `json:"createIssuesAutomatically,omitempty"`
CustomFields *[]struct {
Name string `json:"name"`
Type string `json:"type"`
Value string `json:"value"`
} `json:"customFields,omitempty"`
ExcludeEvidence *bool `json:"excludeEvidence,omitempty"`
IssueTemplateMapping *map[string]interface{} `json:"issueTemplateMapping,omitempty"`
IssueType *string `json:"issueType,omitempty"`
Labels *[]string `json:"labels,omitempty"`
Project string `json:"project"`
} `json:"jira,omitempty"`
Servicenow *struct {
AssignmentGroupSysId *string `json:"assignmentGroupSysId,omitempty"`
AutomationRules struct {
PolicyCategories *struct {
Category1 bool `json:"category1"`
Category2 bool `json:"category2"`
Category3 bool `json:"category3"`
} `json:"policyCategories,omitempty"`
Severities *struct {
Critical bool `json:"critical"`
High bool `json:"high"`
Info bool `json:"info"`
Low bool `json:"low"`
Medium bool `json:"medium"`
Warn bool `json:"warn"`
} `json:"severities,omitempty"`
} `json:"automationRules"`
CategorySysId *string `json:"categorySysId,omitempty"`
CreateIssuesAutomatically *bool `json:"createIssuesAutomatically,omitempty"`
ExcludeEvidence *bool `json:"excludeEvidence,omitempty"`
ImpactLevel *string `json:"impactLevel,omitempty"`
UrgencyLevel *string `json:"urgencyLevel,omitempty"`
} `json:"servicenow,omitempty"`
} `json:"PEN_TEST,omitempty"`
PLATFORM *struct {
Azure *struct {
AutomationRules struct {
PolicyCategories *struct {
Category1 bool `json:"category1"`
Category2 bool `json:"category2"`
Category3 bool `json:"category3"`
} `json:"policyCategories,omitempty"`
Severities *struct {
Critical bool `json:"critical"`
High bool `json:"high"`
Info bool `json:"info"`
Low bool `json:"low"`
Medium bool `json:"medium"`
Warn bool `json:"warn"`
} `json:"severities,omitempty"`
} `json:"automationRules"`
CreateIssuesAutomatically *bool `json:"createIssuesAutomatically,omitempty"`
CustomFields *[]struct {
ReferenceName string `json:"referenceName"`
Type string `json:"type"`
Value string `json:"value"`
} `json:"customFields,omitempty"`
ExcludeEvidence *bool `json:"excludeEvidence,omitempty"`
IssueTemplateMapping *map[string]interface{} `json:"issueTemplateMapping,omitempty"`
OrganizationName string `json:"organizationName"`
ProjectId string `json:"projectId"`
Tags *[]string `json:"tags,omitempty"`
WorkItemType string `json:"workItemType"`
} `json:"azure,omitempty"`
Github *struct {
AutomationRules struct {
PolicyCategories *struct {
Category1 bool `json:"category1"`
Category2 bool `json:"category2"`
Category3 bool `json:"category3"`
} `json:"policyCategories,omitempty"`
Severities *struct {
Critical bool `json:"critical"`
High bool `json:"high"`
Info bool `json:"info"`
Low bool `json:"low"`
Medium bool `json:"medium"`
Warn bool `json:"warn"`
} `json:"severities,omitempty"`
} `json:"automationRules"`
CreateIssuesAutomatically *bool `json:"createIssuesAutomatically,omitempty"`
Labels *[]string `json:"labels,omitempty"`
Repository string `json:"repository"`
} `json:"github,omitempty"`
Gitlab *struct {
AutomationRules struct {
PolicyCategories *struct {
Category1 bool `json:"category1"`
Category2 bool `json:"category2"`
Category3 bool `json:"category3"`
} `json:"policyCategories,omitempty"`
Severities *struct {
Critical bool `json:"critical"`
High bool `json:"high"`
Info bool `json:"info"`
Low bool `json:"low"`
Medium bool `json:"medium"`
Warn bool `json:"warn"`
} `json:"severities,omitempty"`
} `json:"automationRules"`
CreateIssuesAutomatically *bool `json:"createIssuesAutomatically,omitempty"`
ExcludeEvidence *bool `json:"excludeEvidence,omitempty"`
GroupId string `json:"groupId"`
Labels *[]string `json:"labels,omitempty"`
ProjectId string `json:"projectId"`
} `json:"gitlab,omitempty"`
Jira *struct {
AutomationRules struct {
PolicyCategories *struct {
Category1 bool `json:"category1"`
Category2 bool `json:"category2"`
Category3 bool `json:"category3"`
} `json:"policyCategories,omitempty"`
Severities *struct {
Critical bool `json:"critical"`
High bool `json:"high"`
Info bool `json:"info"`
Low bool `json:"low"`
Medium bool `json:"medium"`
Warn bool `json:"warn"`
} `json:"severities,omitempty"`
} `json:"automationRules"`
BaseUrl *string `json:"baseUrl,omitempty"`
CreateIssuesAutomatically *bool `json:"createIssuesAutomatically,omitempty"`
CustomFields *[]struct {
Name string `json:"name"`
Type string `json:"type"`
Value string `json:"value"`
} `json:"customFields,omitempty"`
ExcludeEvidence *bool `json:"excludeEvidence,omitempty"`
IssueTemplateMapping *map[string]interface{} `json:"issueTemplateMapping,omitempty"`
IssueType *string `json:"issueType,omitempty"`
Labels *[]string `json:"labels,omitempty"`
Project string `json:"project"`
} `json:"jira,omitempty"`
Servicenow *struct {
AssignmentGroupSysId *string `json:"assignmentGroupSysId,omitempty"`
AutomationRules struct {
PolicyCategories *struct {
Category1 bool `json:"category1"`
Category2 bool `json:"category2"`
Category3 bool `json:"category3"`
} `json:"policyCategories,omitempty"`
Severities *struct {
Critical bool `json:"critical"`
High bool `json:"high"`
Info bool `json:"info"`
Low bool `json:"low"`
Medium bool `json:"medium"`
Warn bool `json:"warn"`
} `json:"severities,omitempty"`
} `json:"automationRules"`
CategorySysId *string `json:"categorySysId,omitempty"`
CreateIssuesAutomatically *bool `json:"createIssuesAutomatically,omitempty"`
ExcludeEvidence *bool `json:"excludeEvidence,omitempty"`
ImpactLevel *string `json:"impactLevel,omitempty"`
UrgencyLevel *string `json:"urgencyLevel,omitempty"`
} `json:"servicenow,omitempty"`
} `json:"PLATFORM,omitempty"`
} `json:"integrations,omitempty"`
// Package The package ID of the application.
Package string `json:"package"`
// Platform The operating system of the application.
Platform LabAppPlatform `json:"platform"`
// Ref The UUID ref of the application.
Ref openapi_types.UUID `json:"ref"`
// TestRunnerBinary The binary digest of the currently uploaded test runner binary.
TestRunnerBinary *string `json:"test_runner_binary,omitempty"`
// Title The title of the application.
Title *string `json:"title,omitempty"`
AdditionalProperties map[string]interface{} `json:"-"`
}
LabApp defines model for LabApp.
func GetAppList ¶
func GetAppList(ctx context.Context, client *ClientWithResponses, p GetAppParams) ([]LabApp, error)
func (LabApp) Get ¶
Getter for additional properties for LabApp. Returns the specified element and whether it was found
func (LabApp) MarshalJSON ¶
Override default JSON handling for LabApp to handle AdditionalProperties
func (*LabApp) UnmarshalJSON ¶
Override default JSON handling for LabApp to handle AdditionalProperties
type LabAppConfigDynamic0 ¶
type LabAppConfigDynamic0 = bool
LabAppConfigDynamic0 defines model for .
type LabAppConfigDynamic1 ¶
type LabAppConfigDynamic1 = map[string]interface{}
LabAppConfigDynamic1 defines model for .
type LabAppConfigDynamic2 ¶
type LabAppConfigDynamic2 map[string]interface{}
LabAppConfigDynamic2 The dynamic configuration for the application.
type LabAppConfigLevel ¶
type LabAppConfigLevel string
LabAppConfigLevel The analysis config level of the application.
const ( Advanced LabAppConfigLevel = "advanced" Baseline LabAppConfigLevel = "baseline" )
Defines values for LabAppConfigLevel.
type LabAppConfigStatic1 ¶
type LabAppConfigStatic1 = map[string]interface{}
LabAppConfigStatic1 defines model for .
type LabAppConfigStatic2 ¶
type LabAppConfigStatic2 map[string]interface{}
LabAppConfigStatic2 The static configuration for the application.
type LabAppPlatform ¶
type LabAppPlatform string
LabAppPlatform The operating system of the application.
const ( LabAppPlatformAndroid LabAppPlatform = "android" LabAppPlatformFireos LabAppPlatform = "fireos" LabAppPlatformHarmonyos LabAppPlatform = "harmonyos" LabAppPlatformIos LabAppPlatform = "ios" LabAppPlatformPlaystation LabAppPlatform = "playstation" LabAppPlatformRoku LabAppPlatform = "roku" LabAppPlatformTizen LabAppPlatform = "tizen" LabAppPlatformWeb LabAppPlatform = "web" LabAppPlatformWebos LabAppPlatform = "webos" LabAppPlatformXbox LabAppPlatform = "xbox" )
Defines values for LabAppPlatform.
type LabApp_Config_Dynamic ¶
type LabApp_Config_Dynamic struct {
// contains filtered or unexported fields
}
LabApp_Config_Dynamic defines model for LabApp.Config.Dynamic.
func (LabApp_Config_Dynamic) AsLabAppConfigDynamic0 ¶
func (t LabApp_Config_Dynamic) AsLabAppConfigDynamic0() (LabAppConfigDynamic0, error)
AsLabAppConfigDynamic0 returns the union data inside the LabApp_Config_Dynamic as a LabAppConfigDynamic0
func (LabApp_Config_Dynamic) AsLabAppConfigDynamic1 ¶
func (t LabApp_Config_Dynamic) AsLabAppConfigDynamic1() (LabAppConfigDynamic1, error)
AsLabAppConfigDynamic1 returns the union data inside the LabApp_Config_Dynamic as a LabAppConfigDynamic1
func (LabApp_Config_Dynamic) AsLabAppConfigDynamic2 ¶
func (t LabApp_Config_Dynamic) AsLabAppConfigDynamic2() (LabAppConfigDynamic2, error)
AsLabAppConfigDynamic2 returns the union data inside the LabApp_Config_Dynamic as a LabAppConfigDynamic2
func (*LabApp_Config_Dynamic) FromLabAppConfigDynamic0 ¶
func (t *LabApp_Config_Dynamic) FromLabAppConfigDynamic0(v LabAppConfigDynamic0) error
FromLabAppConfigDynamic0 overwrites any union data inside the LabApp_Config_Dynamic as the provided LabAppConfigDynamic0
func (*LabApp_Config_Dynamic) FromLabAppConfigDynamic1 ¶
func (t *LabApp_Config_Dynamic) FromLabAppConfigDynamic1(v LabAppConfigDynamic1) error
FromLabAppConfigDynamic1 overwrites any union data inside the LabApp_Config_Dynamic as the provided LabAppConfigDynamic1
func (*LabApp_Config_Dynamic) FromLabAppConfigDynamic2 ¶
func (t *LabApp_Config_Dynamic) FromLabAppConfigDynamic2(v LabAppConfigDynamic2) error
FromLabAppConfigDynamic2 overwrites any union data inside the LabApp_Config_Dynamic as the provided LabAppConfigDynamic2
func (LabApp_Config_Dynamic) MarshalJSON ¶
func (t LabApp_Config_Dynamic) MarshalJSON() ([]byte, error)
func (*LabApp_Config_Dynamic) MergeLabAppConfigDynamic0 ¶
func (t *LabApp_Config_Dynamic) MergeLabAppConfigDynamic0(v LabAppConfigDynamic0) error
MergeLabAppConfigDynamic0 performs a merge with any union data inside the LabApp_Config_Dynamic, using the provided LabAppConfigDynamic0
func (*LabApp_Config_Dynamic) MergeLabAppConfigDynamic1 ¶
func (t *LabApp_Config_Dynamic) MergeLabAppConfigDynamic1(v LabAppConfigDynamic1) error
MergeLabAppConfigDynamic1 performs a merge with any union data inside the LabApp_Config_Dynamic, using the provided LabAppConfigDynamic1
func (*LabApp_Config_Dynamic) MergeLabAppConfigDynamic2 ¶
func (t *LabApp_Config_Dynamic) MergeLabAppConfigDynamic2(v LabAppConfigDynamic2) error
MergeLabAppConfigDynamic2 performs a merge with any union data inside the LabApp_Config_Dynamic, using the provided LabAppConfigDynamic2
func (*LabApp_Config_Dynamic) UnmarshalJSON ¶
func (t *LabApp_Config_Dynamic) UnmarshalJSON(b []byte) error
type LabApp_Config_Static ¶
type LabApp_Config_Static struct {
// contains filtered or unexported fields
}
LabApp_Config_Static defines model for LabApp.Config.Static.
func (LabApp_Config_Static) AsLabAppConfigStatic0 ¶
func (t LabApp_Config_Static) AsLabAppConfigStatic0() (LabAppConfigStatic0, error)
AsLabAppConfigStatic0 returns the union data inside the LabApp_Config_Static as a LabAppConfigStatic0
func (LabApp_Config_Static) AsLabAppConfigStatic1 ¶
func (t LabApp_Config_Static) AsLabAppConfigStatic1() (LabAppConfigStatic1, error)
AsLabAppConfigStatic1 returns the union data inside the LabApp_Config_Static as a LabAppConfigStatic1
func (LabApp_Config_Static) AsLabAppConfigStatic2 ¶
func (t LabApp_Config_Static) AsLabAppConfigStatic2() (LabAppConfigStatic2, error)
AsLabAppConfigStatic2 returns the union data inside the LabApp_Config_Static as a LabAppConfigStatic2
func (*LabApp_Config_Static) FromLabAppConfigStatic0 ¶
func (t *LabApp_Config_Static) FromLabAppConfigStatic0(v LabAppConfigStatic0) error
FromLabAppConfigStatic0 overwrites any union data inside the LabApp_Config_Static as the provided LabAppConfigStatic0
func (*LabApp_Config_Static) FromLabAppConfigStatic1 ¶
func (t *LabApp_Config_Static) FromLabAppConfigStatic1(v LabAppConfigStatic1) error
FromLabAppConfigStatic1 overwrites any union data inside the LabApp_Config_Static as the provided LabAppConfigStatic1
func (*LabApp_Config_Static) FromLabAppConfigStatic2 ¶
func (t *LabApp_Config_Static) FromLabAppConfigStatic2(v LabAppConfigStatic2) error
FromLabAppConfigStatic2 overwrites any union data inside the LabApp_Config_Static as the provided LabAppConfigStatic2
func (LabApp_Config_Static) MarshalJSON ¶
func (t LabApp_Config_Static) MarshalJSON() ([]byte, error)
func (*LabApp_Config_Static) MergeLabAppConfigStatic0 ¶
func (t *LabApp_Config_Static) MergeLabAppConfigStatic0(v LabAppConfigStatic0) error
MergeLabAppConfigStatic0 performs a merge with any union data inside the LabApp_Config_Static, using the provided LabAppConfigStatic0
func (*LabApp_Config_Static) MergeLabAppConfigStatic1 ¶
func (t *LabApp_Config_Static) MergeLabAppConfigStatic1(v LabAppConfigStatic1) error
MergeLabAppConfigStatic1 performs a merge with any union data inside the LabApp_Config_Static, using the provided LabAppConfigStatic1
func (*LabApp_Config_Static) MergeLabAppConfigStatic2 ¶
func (t *LabApp_Config_Static) MergeLabAppConfigStatic2(v LabAppConfigStatic2) error
MergeLabAppConfigStatic2 performs a merge with any union data inside the LabApp_Config_Static, using the provided LabAppConfigStatic2
func (*LabApp_Config_Static) UnmarshalJSON ¶
func (t *LabApp_Config_Static) UnmarshalJSON(b []byte) error
type LabRouteError ¶
type LabRouteError struct {
Description *string `json:"description,omitempty"`
Message *string `json:"message,omitempty"`
Name *string `json:"name,omitempty"`
Status *string `json:"status,omitempty"`
AdditionalProperties map[string]interface{} `json:"-"`
}
LabRouteError defines model for labRouteError.
func (*LabRouteError) Error ¶
func (w *LabRouteError) Error() string
func (*LabRouteError) ExitCode ¶
func (w *LabRouteError) ExitCode() int
func (LabRouteError) Get ¶
func (a LabRouteError) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for LabRouteError. Returns the specified element and whether it was found
func (LabRouteError) MarshalJSON ¶
func (a LabRouteError) MarshalJSON() ([]byte, error)
Override default JSON handling for LabRouteError to handle AdditionalProperties
func (*LabRouteError) Set ¶
func (a *LabRouteError) Set(fieldName string, value interface{})
Setter for additional properties for LabRouteError
func (*LabRouteError) StatusCode ¶
func (w *LabRouteError) StatusCode() (int, error)
func (*LabRouteError) UnmarshalJSON ¶
func (a *LabRouteError) UnmarshalJSON(b []byte) error
Override default JSON handling for LabRouteError to handle AdditionalProperties
type LoggingDoer ¶
type LoggingDoer struct {
// contains filtered or unexported fields
}
type PostAppJSONBody ¶
type PostAppJSONBody struct {
// AppstoreApplicationKey The appstore application key of the application to create.
AppstoreApplicationKey *string `json:"appstore_application_key,omitempty"`
// Binary The binary digest of the latest uploaded binary for the application to create.
Binary *string `json:"binary,omitempty"`
Config *struct {
// Dynamic The dynamic configuration for the application.
Dynamic *map[string]interface{} `json:"dynamic,omitempty"`
// Static The static configuration for the application.
Static *map[string]interface{} `json:"static,omitempty"`
} `json:"config,omitempty"`
// Group The UUID group ref of the application to create (Optional if the user is only in one group).
Group *openapi_types.UUID `json:"group,omitempty"`
Integrations *struct {
PENTEST *struct {
Azure *struct {
AutomationRules struct {
PolicyCategories *struct {
Category1 bool `json:"category1"`
Category2 bool `json:"category2"`
Category3 bool `json:"category3"`
} `json:"policyCategories,omitempty"`
Severities *struct {
Critical bool `json:"critical"`
High bool `json:"high"`
Info bool `json:"info"`
Low bool `json:"low"`
Medium bool `json:"medium"`
Warn bool `json:"warn"`
} `json:"severities,omitempty"`
} `json:"automationRules"`
CreateIssuesAutomatically *bool `json:"createIssuesAutomatically,omitempty"`
CustomFields *[]struct {
ReferenceName string `json:"referenceName"`
Type string `json:"type"`
Value string `json:"value"`
} `json:"customFields,omitempty"`
ExcludeEvidence *bool `json:"excludeEvidence,omitempty"`
IssueTemplateMapping *map[string]interface{} `json:"issueTemplateMapping,omitempty"`
OrganizationName string `json:"organizationName"`
ProjectId string `json:"projectId"`
Tags *[]string `json:"tags,omitempty"`
WorkItemType string `json:"workItemType"`
} `json:"azure,omitempty"`
Github *struct {
AutomationRules struct {
PolicyCategories *struct {
Category1 bool `json:"category1"`
Category2 bool `json:"category2"`
Category3 bool `json:"category3"`
} `json:"policyCategories,omitempty"`
Severities *struct {
Critical bool `json:"critical"`
High bool `json:"high"`
Info bool `json:"info"`
Low bool `json:"low"`
Medium bool `json:"medium"`
Warn bool `json:"warn"`
} `json:"severities,omitempty"`
} `json:"automationRules"`
CreateIssuesAutomatically *bool `json:"createIssuesAutomatically,omitempty"`
Labels *[]string `json:"labels,omitempty"`
Repository string `json:"repository"`
} `json:"github,omitempty"`
Gitlab *struct {
AutomationRules struct {
PolicyCategories *struct {
Category1 bool `json:"category1"`
Category2 bool `json:"category2"`
Category3 bool `json:"category3"`
} `json:"policyCategories,omitempty"`
Severities *struct {
Critical bool `json:"critical"`
High bool `json:"high"`
Info bool `json:"info"`
Low bool `json:"low"`
Medium bool `json:"medium"`
Warn bool `json:"warn"`
} `json:"severities,omitempty"`
} `json:"automationRules"`
CreateIssuesAutomatically *bool `json:"createIssuesAutomatically,omitempty"`
ExcludeEvidence *bool `json:"excludeEvidence,omitempty"`
GroupId string `json:"groupId"`
Labels *[]string `json:"labels,omitempty"`
ProjectId string `json:"projectId"`
} `json:"gitlab,omitempty"`
Jira *struct {
AutomationRules struct {
PolicyCategories *struct {
Category1 bool `json:"category1"`
Category2 bool `json:"category2"`
Category3 bool `json:"category3"`
} `json:"policyCategories,omitempty"`
Severities *struct {
Critical bool `json:"critical"`
High bool `json:"high"`
Info bool `json:"info"`
Low bool `json:"low"`
Medium bool `json:"medium"`
Warn bool `json:"warn"`
} `json:"severities,omitempty"`
} `json:"automationRules"`
BaseUrl *string `json:"baseUrl,omitempty"`
CreateIssuesAutomatically *bool `json:"createIssuesAutomatically,omitempty"`
CustomFields *[]struct {
Name string `json:"name"`
Type string `json:"type"`
Value string `json:"value"`
} `json:"customFields,omitempty"`
ExcludeEvidence *bool `json:"excludeEvidence,omitempty"`
IssueTemplateMapping *map[string]interface{} `json:"issueTemplateMapping,omitempty"`
IssueType *string `json:"issueType,omitempty"`
Labels *[]string `json:"labels,omitempty"`
Project string `json:"project"`
} `json:"jira,omitempty"`
Servicenow *struct {
AssignmentGroupSysId *string `json:"assignmentGroupSysId,omitempty"`
AutomationRules struct {
PolicyCategories *struct {
Category1 bool `json:"category1"`
Category2 bool `json:"category2"`
Category3 bool `json:"category3"`
} `json:"policyCategories,omitempty"`
Severities *struct {
Critical bool `json:"critical"`
High bool `json:"high"`
Info bool `json:"info"`
Low bool `json:"low"`
Medium bool `json:"medium"`
Warn bool `json:"warn"`
} `json:"severities,omitempty"`
} `json:"automationRules"`
CategorySysId *string `json:"categorySysId,omitempty"`
CreateIssuesAutomatically *bool `json:"createIssuesAutomatically,omitempty"`
ExcludeEvidence *bool `json:"excludeEvidence,omitempty"`
ImpactLevel *string `json:"impactLevel,omitempty"`
UrgencyLevel *string `json:"urgencyLevel,omitempty"`
} `json:"servicenow,omitempty"`
} `json:"PEN_TEST,omitempty"`
PLATFORM *struct {
Azure *struct {
AutomationRules struct {
PolicyCategories *struct {
Category1 bool `json:"category1"`
Category2 bool `json:"category2"`
Category3 bool `json:"category3"`
} `json:"policyCategories,omitempty"`
Severities *struct {
Critical bool `json:"critical"`
High bool `json:"high"`
Info bool `json:"info"`
Low bool `json:"low"`
Medium bool `json:"medium"`
Warn bool `json:"warn"`
} `json:"severities,omitempty"`
} `json:"automationRules"`
CreateIssuesAutomatically *bool `json:"createIssuesAutomatically,omitempty"`
CustomFields *[]struct {
ReferenceName string `json:"referenceName"`
Type string `json:"type"`
Value string `json:"value"`
} `json:"customFields,omitempty"`
ExcludeEvidence *bool `json:"excludeEvidence,omitempty"`
IssueTemplateMapping *map[string]interface{} `json:"issueTemplateMapping,omitempty"`
OrganizationName string `json:"organizationName"`
ProjectId string `json:"projectId"`
Tags *[]string `json:"tags,omitempty"`
WorkItemType string `json:"workItemType"`
} `json:"azure,omitempty"`
Github *struct {
AutomationRules struct {
PolicyCategories *struct {
Category1 bool `json:"category1"`
Category2 bool `json:"category2"`
Category3 bool `json:"category3"`
} `json:"policyCategories,omitempty"`
Severities *struct {
Critical bool `json:"critical"`
High bool `json:"high"`
Info bool `json:"info"`
Low bool `json:"low"`
Medium bool `json:"medium"`
Warn bool `json:"warn"`
} `json:"severities,omitempty"`
} `json:"automationRules"`
CreateIssuesAutomatically *bool `json:"createIssuesAutomatically,omitempty"`
Labels *[]string `json:"labels,omitempty"`
Repository string `json:"repository"`
} `json:"github,omitempty"`
Gitlab *struct {
AutomationRules struct {
PolicyCategories *struct {
Category1 bool `json:"category1"`
Category2 bool `json:"category2"`
Category3 bool `json:"category3"`
} `json:"policyCategories,omitempty"`
Severities *struct {
Critical bool `json:"critical"`
High bool `json:"high"`
Info bool `json:"info"`
Low bool `json:"low"`
Medium bool `json:"medium"`
Warn bool `json:"warn"`
} `json:"severities,omitempty"`
} `json:"automationRules"`
CreateIssuesAutomatically *bool `json:"createIssuesAutomatically,omitempty"`
ExcludeEvidence *bool `json:"excludeEvidence,omitempty"`
GroupId string `json:"groupId"`
Labels *[]string `json:"labels,omitempty"`
ProjectId string `json:"projectId"`
} `json:"gitlab,omitempty"`
Jira *struct {
AutomationRules struct {
PolicyCategories *struct {
Category1 bool `json:"category1"`
Category2 bool `json:"category2"`
Category3 bool `json:"category3"`
} `json:"policyCategories,omitempty"`
Severities *struct {
Critical bool `json:"critical"`
High bool `json:"high"`
Info bool `json:"info"`
Low bool `json:"low"`
Medium bool `json:"medium"`
Warn bool `json:"warn"`
} `json:"severities,omitempty"`
} `json:"automationRules"`
BaseUrl *string `json:"baseUrl,omitempty"`
CreateIssuesAutomatically *bool `json:"createIssuesAutomatically,omitempty"`
CustomFields *[]struct {
Name string `json:"name"`
Type string `json:"type"`
Value string `json:"value"`
} `json:"customFields,omitempty"`
ExcludeEvidence *bool `json:"excludeEvidence,omitempty"`
IssueTemplateMapping *map[string]interface{} `json:"issueTemplateMapping,omitempty"`
IssueType *string `json:"issueType,omitempty"`
Labels *[]string `json:"labels,omitempty"`
Project string `json:"project"`
} `json:"jira,omitempty"`
Servicenow *struct {
AssignmentGroupSysId *string `json:"assignmentGroupSysId,omitempty"`
AutomationRules struct {
PolicyCategories *struct {
Category1 bool `json:"category1"`
Category2 bool `json:"category2"`
Category3 bool `json:"category3"`
} `json:"policyCategories,omitempty"`
Severities *struct {
Critical bool `json:"critical"`
High bool `json:"high"`
Info bool `json:"info"`
Low bool `json:"low"`
Medium bool `json:"medium"`
Warn bool `json:"warn"`
} `json:"severities,omitempty"`
} `json:"automationRules"`
CategorySysId *string `json:"categorySysId,omitempty"`
CreateIssuesAutomatically *bool `json:"createIssuesAutomatically,omitempty"`
ExcludeEvidence *bool `json:"excludeEvidence,omitempty"`
ImpactLevel *string `json:"impactLevel,omitempty"`
UrgencyLevel *string `json:"urgencyLevel,omitempty"`
} `json:"servicenow,omitempty"`
} `json:"PLATFORM,omitempty"`
} `json:"integrations,omitempty"`
// Package The package ID of the application to create.
Package string `json:"package"`
// Platform The platform of the application to create.
Platform PostAppJSONBodyPlatform `json:"platform"`
// Title The title of the application to create.
Title *string `json:"title,omitempty"`
}
PostAppJSONBody defines parameters for PostApp.
type PostAppJSONBodyPlatform ¶
type PostAppJSONBodyPlatform string
PostAppJSONBodyPlatform defines parameters for PostApp.
const ( PostAppJSONBodyPlatformAndroid PostAppJSONBodyPlatform = "android" PostAppJSONBodyPlatformFireos PostAppJSONBodyPlatform = "fireos" PostAppJSONBodyPlatformHarmonyos PostAppJSONBodyPlatform = "harmonyos" PostAppJSONBodyPlatformIos PostAppJSONBodyPlatform = "ios" PostAppJSONBodyPlatformPlaystation PostAppJSONBodyPlatform = "playstation" PostAppJSONBodyPlatformRoku PostAppJSONBodyPlatform = "roku" PostAppJSONBodyPlatformTizen PostAppJSONBodyPlatform = "tizen" PostAppJSONBodyPlatformWeb PostAppJSONBodyPlatform = "web" PostAppJSONBodyPlatformWebos PostAppJSONBodyPlatform = "webos" PostAppJSONBodyPlatformXbox PostAppJSONBodyPlatform = "xbox" )
Defines values for PostAppJSONBodyPlatform.
type PostAppJSONRequestBody ¶
type PostAppJSONRequestBody PostAppJSONBody
PostAppJSONRequestBody defines body for PostApp for application/json ContentType.
type PostAppParams ¶
type PostAppParams struct {
// Group The UUID group ref of the application to create (Optional if the user is only in one group).
Group *openapi_types.UUID `form:"group,omitempty" json:"group,omitempty"`
}
PostAppParams defines parameters for PostApp.
type PostAppPlatformPackageAssessment2XXAppstoreDownload ¶
type PostAppPlatformPackageAssessment2XXAppstoreDownload string
type PostAppPlatformPackageAssessment2XXTaskStatus ¶
type PostAppPlatformPackageAssessment2XXTaskStatus string
type PostAppPlatformPackageAssessmentParams ¶
type PostAppPlatformPackageAssessmentParams struct {
// Group The UUID group ref of the application to trigger an assessment for (Optional if the user is only in one group).
Group *openapi_types.UUID `form:"group,omitempty" json:"group,omitempty"`
// AppstoreDownload Set to "*" to trigger an app store assessment for the latest app store version available to NowSecure. Otherwise, an assessment is triggered for the latest uploaded binary.
AppstoreDownload *string `form:"appstore_download,omitempty" json:"appstore_download,omitempty"`
// Failfast Set to "true" to trigger a "failfast" assessment. Failfast assessments run pass 2 first so automation scripting failures can be identified quickly.
Failfast *bool `form:"failfast,omitempty" json:"failfast,omitempty"`
// AnalysisType The type of assessment to trigger. If specified, must be one of "full", "static" or "sbom".
AnalysisType *PostAppPlatformPackageAssessmentParamsAnalysisType `form:"analysisType,omitempty" json:"analysisType,omitempty"`
// HideSensitiveDataValues Specifying a value of `true` will hide sensitive values from the app configuration data returned with the assessment.
HideSensitiveDataValues *bool `form:"hideSensitiveDataValues,omitempty" json:"hideSensitiveDataValues,omitempty"`
}
PostAppPlatformPackageAssessmentParams defines parameters for PostAppPlatformPackageAssessment.
type PostAppPlatformPackageAssessmentParamsAnalysisType ¶
type PostAppPlatformPackageAssessmentParamsAnalysisType string
PostAppPlatformPackageAssessmentParamsAnalysisType defines parameters for PostAppPlatformPackageAssessment.
const ( PostAppPlatformPackageAssessmentParamsAnalysisTypeFull PostAppPlatformPackageAssessmentParamsAnalysisType = "full" PostAppPlatformPackageAssessmentParamsAnalysisTypeSbom PostAppPlatformPackageAssessmentParamsAnalysisType = "sbom" PostAppPlatformPackageAssessmentParamsAnalysisTypeStatic PostAppPlatformPackageAssessmentParamsAnalysisType = "static" )
Defines values for PostAppPlatformPackageAssessmentParamsAnalysisType.
type PostAppPlatformPackageAssessmentParamsPlatform ¶
type PostAppPlatformPackageAssessmentParamsPlatform string
PostAppPlatformPackageAssessmentParamsPlatform defines parameters for PostAppPlatformPackageAssessment.
const ( PostAppPlatformPackageAssessmentParamsPlatformAndroid PostAppPlatformPackageAssessmentParamsPlatform = "android" PostAppPlatformPackageAssessmentParamsPlatformIos PostAppPlatformPackageAssessmentParamsPlatform = "ios" )
Defines values for PostAppPlatformPackageAssessmentParamsPlatform.
type PostAppPlatformPackageAssessmentResponse ¶
type PostAppPlatformPackageAssessmentResponse struct {
Body []byte
HTTPResponse *http.Response
JSON2XX *struct {
// Account The UUID ref of the group this assessment belongs to.
Account *openapi_types.UUID `json:"account"`
// AdjustedIssues A map from finding keys to the finding's associated CVSS score in the user-edited assessment report.
AdjustedIssues *interface{} `json:"adjusted_issues,omitempty"`
// AdjustedScore The score for the user-edited assessment report.
AdjustedScore *float32 `json:"adjusted_score"`
// Application The UUID ref of the application this assessment belongs to.
Application *openapi_types.UUID `json:"application"`
// AppstoreDownload * if the assessment was ran on the latest app store binary at the time of assessment.
AppstoreDownload *PostAppPlatformPackageAssessment2XXAppstoreDownload `json:"appstore_download,omitempty"`
// Binary The SHA-256 hash of the binary this assessment was run on.
Binary *string `json:"binary"`
// Cancelled Whether this assessment was manually cancelled before completion.
Cancelled bool `json:"cancelled"`
// Config The complete configuration this assessment was ran with.
Config struct {
// Dynamic The dynamic-specific configuration this assessment was ran with.
Dynamic interface{} `json:"dynamic"`
// Static The static-specific configuration this assessment was ran with.
Static interface{} `json:"static"`
} `json:"config"`
// Created The date-time this assessment was created.
Created *time.Time `json:"created"`
// Creator The UUID ref of the user who triggered this assessment.
Creator *openapi_types.UUID `json:"creator"`
Events struct {
Dynamic []interface{} `json:"dynamic"`
} `json:"events"`
// Favorite Whether this assessment has been marked as a favorite.
Favorite *bool `json:"favorite"`
// Group The UUID ref of the group this assessment belongs to.
Group *openapi_types.UUID `json:"group"`
// IdentifiedVulnMap A map from finding keys to integer identified vulnerability IDs.
IdentifiedVulnMap *interface{} `json:"identified_vuln_map,omitempty"`
// Package The package ID of the application this assessment belongs to.
Package string `json:"package"`
// Platform The operating system of the application this assessment belongs to (android or ios).
Platform string `json:"platform"`
// Ref The unique identifier for the assessment.
Ref openapi_types.UUID `json:"ref"`
// Status An object describing the status of the static and dynamic tasks associated with this assessment.
Status struct {
// Dynamic A string describing the status of the dynamic task associated with this assessment.
Dynamic interface{} `json:"dynamic"`
// Static A string describing the status of the static task associated with this assessment.
Static interface{} `json:"static"`
} `json:"status"`
// Task An integer identifying the underlying analysis tasks associated with this assessment.
Task float64 `json:"task"`
// TaskErrorCode The error code describing the failure if an assessment failed.
TaskErrorCode *string `json:"task_error_code"`
// TaskStatus The state of the assessment.
TaskStatus *PostAppPlatformPackageAssessment2XXTaskStatus `json:"task_status,omitempty"`
// Updated The date-time this assessment was last updated.
Updated *time.Time `json:"updated"`
}
JSON4XX *LabRouteError
JSON5XX *LabRouteError
}
func ParsePostAppPlatformPackageAssessmentResponse ¶
func ParsePostAppPlatformPackageAssessmentResponse(rsp *http.Response) (*PostAppPlatformPackageAssessmentResponse, error)
ParsePostAppPlatformPackageAssessmentResponse parses an HTTP response from a PostAppPlatformPackageAssessmentWithResponse call
func TriggerAssessment ¶
func TriggerAssessment(ctx context.Context, client *ClientWithResponses, p TriggerAssessmentParams) (*PostAppPlatformPackageAssessmentResponse, error)
func (PostAppPlatformPackageAssessmentResponse) Status ¶
func (r PostAppPlatformPackageAssessmentResponse) Status() string
Status returns HTTPResponse.Status
func (PostAppPlatformPackageAssessmentResponse) StatusCode ¶
func (r PostAppPlatformPackageAssessmentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostAppPlatformPackageAssessmentTaskCancel2XXStatus ¶
type PostAppPlatformPackageAssessmentTaskCancel2XXStatus string
type PostAppPlatformPackageAssessmentTaskCancelParamsPlatform ¶
type PostAppPlatformPackageAssessmentTaskCancelParamsPlatform string
PostAppPlatformPackageAssessmentTaskCancelParamsPlatform defines parameters for PostAppPlatformPackageAssessmentTaskCancel.
const ( PostAppPlatformPackageAssessmentTaskCancelParamsPlatformAndroid PostAppPlatformPackageAssessmentTaskCancelParamsPlatform = "android" PostAppPlatformPackageAssessmentTaskCancelParamsPlatformIos PostAppPlatformPackageAssessmentTaskCancelParamsPlatform = "ios" )
Defines values for PostAppPlatformPackageAssessmentTaskCancelParamsPlatform.
type PostAppPlatformPackageAssessmentTaskCancelResponse ¶
type PostAppPlatformPackageAssessmentTaskCancelResponse struct {
Body []byte
HTTPResponse *http.Response
JSON2XX *struct {
// Status The state of the assessment.
Status PostAppPlatformPackageAssessmentTaskCancel2XXStatus `json:"status"`
}
JSON4XX *LabRouteError
JSON5XX *LabRouteError
}
func ParsePostAppPlatformPackageAssessmentTaskCancelResponse ¶
func ParsePostAppPlatformPackageAssessmentTaskCancelResponse(rsp *http.Response) (*PostAppPlatformPackageAssessmentTaskCancelResponse, error)
ParsePostAppPlatformPackageAssessmentTaskCancelResponse parses an HTTP response from a PostAppPlatformPackageAssessmentTaskCancelWithResponse call
func (PostAppPlatformPackageAssessmentTaskCancelResponse) Status ¶
func (r PostAppPlatformPackageAssessmentTaskCancelResponse) Status() string
Status returns HTTPResponse.Status
func (PostAppPlatformPackageAssessmentTaskCancelResponse) StatusCode ¶
func (r PostAppPlatformPackageAssessmentTaskCancelResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostAppPlatformPackageBinaryParams ¶
type PostAppPlatformPackageBinaryParams struct {
// Group The UUID ref of the group containing the application (Optional if the user is only in one group).
Group *openapi_types.UUID `form:"group,omitempty" json:"group,omitempty"`
}
PostAppPlatformPackageBinaryParams defines parameters for PostAppPlatformPackageBinary.
type PostAppPlatformPackageBinaryParamsPlatform ¶
type PostAppPlatformPackageBinaryParamsPlatform string
PostAppPlatformPackageBinaryParamsPlatform defines parameters for PostAppPlatformPackageBinary.
const ( PostAppPlatformPackageBinaryParamsPlatformAndroid PostAppPlatformPackageBinaryParamsPlatform = "android" PostAppPlatformPackageBinaryParamsPlatformIos PostAppPlatformPackageBinaryParamsPlatform = "ios" )
Defines values for PostAppPlatformPackageBinaryParamsPlatform.
type PostAppPlatformPackageBinaryResponse ¶
type PostAppPlatformPackageBinaryResponse struct {
Body []byte
HTTPResponse *http.Response
JSON2XX *struct {
// Account Deprecated. Use group instead.
Account openapi_types.UUID `json:"account"`
// Analyzed True if the last analysis of this application has completed.
Analyzed *bool `json:"analyzed,omitempty"`
// Application The UUID ref of the application the build belongs to.
Application openapi_types.UUID `json:"application"`
// Created Creation date of the application record.
Created time.Time `json:"created"`
// Digest The SHA-256 digest of the analyzed binary. Note that some applications are repackaged prior to analysis, so this digest may differ from the digest of the uploaded file.
Digest string `json:"digest"`
// DownloadedAppstoreApplicationKey The App store / Play store key for applications downloaded from a store.
DownloadedAppstoreApplicationKey *string `json:"downloaded_appstore_application_key,omitempty"`
// Group The UUID identifier of the group this application belongs to.
Group openapi_types.UUID `json:"group"`
// Icon The icon of the application in base64 format.
Icon *string `json:"icon,omitempty"`
// Package The package or bundle ID.
Package string `json:"package"`
// Platform The operating system of the application (android or ios).
Platform *string `json:"platform,omitempty"`
// Ref The UUID identifier of the application binary.
Ref openapi_types.UUID `json:"ref"`
// Title The application title.
Title *string `json:"title,omitempty"`
// Uploaded The date-time the binary was uploaded.
Uploaded *string `json:"uploaded,omitempty"`
// Uploader The UUID identifier of the user who uploaded the application.
Uploader *string `json:"uploader,omitempty"`
// Version The application version string.
Version *string `json:"version,omitempty"`
}
JSON4XX *LabRouteError
JSON5XX *LabRouteError
}
func ParsePostAppPlatformPackageBinaryResponse ¶
func ParsePostAppPlatformPackageBinaryResponse(rsp *http.Response) (*PostAppPlatformPackageBinaryResponse, error)
ParsePostAppPlatformPackageBinaryResponse parses an HTTP response from a PostAppPlatformPackageBinaryWithResponse call
func (PostAppPlatformPackageBinaryResponse) Status ¶
func (r PostAppPlatformPackageBinaryResponse) Status() string
Status returns HTTPResponse.Status
func (PostAppPlatformPackageBinaryResponse) StatusCode ¶
func (r PostAppPlatformPackageBinaryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostAppPlatformPackageConfigJSONBody ¶
type PostAppPlatformPackageConfigJSONBody struct {
// Dynamic The dynamic configuration for the application.
Dynamic *map[string]interface{} `json:"dynamic,omitempty"`
Integrations *struct {
PENTEST *struct {
Azure *struct {
AutomationRules struct {
PolicyCategories *struct {
Category1 bool `json:"category1"`
Category2 bool `json:"category2"`
Category3 bool `json:"category3"`
} `json:"policyCategories,omitempty"`
Severities *struct {
Critical bool `json:"critical"`
High bool `json:"high"`
Info bool `json:"info"`
Low bool `json:"low"`
Medium bool `json:"medium"`
Warn bool `json:"warn"`
} `json:"severities,omitempty"`
} `json:"automationRules"`
CreateIssuesAutomatically *bool `json:"createIssuesAutomatically,omitempty"`
CustomFields *[]struct {
ReferenceName string `json:"referenceName"`
Type string `json:"type"`
Value string `json:"value"`
} `json:"customFields,omitempty"`
ExcludeEvidence *bool `json:"excludeEvidence,omitempty"`
IssueTemplateMapping *map[string]interface{} `json:"issueTemplateMapping,omitempty"`
OrganizationName string `json:"organizationName"`
ProjectId string `json:"projectId"`
Tags *[]string `json:"tags,omitempty"`
WorkItemType string `json:"workItemType"`
} `json:"azure,omitempty"`
Github *struct {
AutomationRules struct {
PolicyCategories *struct {
Category1 bool `json:"category1"`
Category2 bool `json:"category2"`
Category3 bool `json:"category3"`
} `json:"policyCategories,omitempty"`
Severities *struct {
Critical bool `json:"critical"`
High bool `json:"high"`
Info bool `json:"info"`
Low bool `json:"low"`
Medium bool `json:"medium"`
Warn bool `json:"warn"`
} `json:"severities,omitempty"`
} `json:"automationRules"`
CreateIssuesAutomatically *bool `json:"createIssuesAutomatically,omitempty"`
Labels *[]string `json:"labels,omitempty"`
Repository string `json:"repository"`
} `json:"github,omitempty"`
Gitlab *struct {
AutomationRules struct {
PolicyCategories *struct {
Category1 bool `json:"category1"`
Category2 bool `json:"category2"`
Category3 bool `json:"category3"`
} `json:"policyCategories,omitempty"`
Severities *struct {
Critical bool `json:"critical"`
High bool `json:"high"`
Info bool `json:"info"`
Low bool `json:"low"`
Medium bool `json:"medium"`
Warn bool `json:"warn"`
} `json:"severities,omitempty"`
} `json:"automationRules"`
CreateIssuesAutomatically *bool `json:"createIssuesAutomatically,omitempty"`
ExcludeEvidence *bool `json:"excludeEvidence,omitempty"`
GroupId string `json:"groupId"`
Labels *[]string `json:"labels,omitempty"`
ProjectId string `json:"projectId"`
} `json:"gitlab,omitempty"`
Jira *struct {
AutomationRules struct {
PolicyCategories *struct {
Category1 bool `json:"category1"`
Category2 bool `json:"category2"`
Category3 bool `json:"category3"`
} `json:"policyCategories,omitempty"`
Severities *struct {
Critical bool `json:"critical"`
High bool `json:"high"`
Info bool `json:"info"`
Low bool `json:"low"`
Medium bool `json:"medium"`
Warn bool `json:"warn"`
} `json:"severities,omitempty"`
} `json:"automationRules"`
BaseUrl *string `json:"baseUrl,omitempty"`
CreateIssuesAutomatically *bool `json:"createIssuesAutomatically,omitempty"`
CustomFields *[]struct {
Name string `json:"name"`
Type string `json:"type"`
Value string `json:"value"`
} `json:"customFields,omitempty"`
ExcludeEvidence *bool `json:"excludeEvidence,omitempty"`
IssueTemplateMapping *map[string]interface{} `json:"issueTemplateMapping,omitempty"`
IssueType *string `json:"issueType,omitempty"`
Labels *[]string `json:"labels,omitempty"`
Project string `json:"project"`
} `json:"jira,omitempty"`
Servicenow *struct {
AssignmentGroupSysId *string `json:"assignmentGroupSysId,omitempty"`
AutomationRules struct {
PolicyCategories *struct {
Category1 bool `json:"category1"`
Category2 bool `json:"category2"`
Category3 bool `json:"category3"`
} `json:"policyCategories,omitempty"`
Severities *struct {
Critical bool `json:"critical"`
High bool `json:"high"`
Info bool `json:"info"`
Low bool `json:"low"`
Medium bool `json:"medium"`
Warn bool `json:"warn"`
} `json:"severities,omitempty"`
} `json:"automationRules"`
CategorySysId *string `json:"categorySysId,omitempty"`
CreateIssuesAutomatically *bool `json:"createIssuesAutomatically,omitempty"`
ExcludeEvidence *bool `json:"excludeEvidence,omitempty"`
ImpactLevel *string `json:"impactLevel,omitempty"`
UrgencyLevel *string `json:"urgencyLevel,omitempty"`
} `json:"servicenow,omitempty"`
} `json:"PEN_TEST,omitempty"`
PLATFORM *struct {
Azure *struct {
AutomationRules struct {
PolicyCategories *struct {
Category1 bool `json:"category1"`
Category2 bool `json:"category2"`
Category3 bool `json:"category3"`
} `json:"policyCategories,omitempty"`
Severities *struct {
Critical bool `json:"critical"`
High bool `json:"high"`
Info bool `json:"info"`
Low bool `json:"low"`
Medium bool `json:"medium"`
Warn bool `json:"warn"`
} `json:"severities,omitempty"`
} `json:"automationRules"`
CreateIssuesAutomatically *bool `json:"createIssuesAutomatically,omitempty"`
CustomFields *[]struct {
ReferenceName string `json:"referenceName"`
Type string `json:"type"`
Value string `json:"value"`
} `json:"customFields,omitempty"`
ExcludeEvidence *bool `json:"excludeEvidence,omitempty"`
IssueTemplateMapping *map[string]interface{} `json:"issueTemplateMapping,omitempty"`
OrganizationName string `json:"organizationName"`
ProjectId string `json:"projectId"`
Tags *[]string `json:"tags,omitempty"`
WorkItemType string `json:"workItemType"`
} `json:"azure,omitempty"`
Github *struct {
AutomationRules struct {
PolicyCategories *struct {
Category1 bool `json:"category1"`
Category2 bool `json:"category2"`
Category3 bool `json:"category3"`
} `json:"policyCategories,omitempty"`
Severities *struct {
Critical bool `json:"critical"`
High bool `json:"high"`
Info bool `json:"info"`
Low bool `json:"low"`
Medium bool `json:"medium"`
Warn bool `json:"warn"`
} `json:"severities,omitempty"`
} `json:"automationRules"`
CreateIssuesAutomatically *bool `json:"createIssuesAutomatically,omitempty"`
Labels *[]string `json:"labels,omitempty"`
Repository string `json:"repository"`
} `json:"github,omitempty"`
Gitlab *struct {
AutomationRules struct {
PolicyCategories *struct {
Category1 bool `json:"category1"`
Category2 bool `json:"category2"`
Category3 bool `json:"category3"`
} `json:"policyCategories,omitempty"`
Severities *struct {
Critical bool `json:"critical"`
High bool `json:"high"`
Info bool `json:"info"`
Low bool `json:"low"`
Medium bool `json:"medium"`
Warn bool `json:"warn"`
} `json:"severities,omitempty"`
} `json:"automationRules"`
CreateIssuesAutomatically *bool `json:"createIssuesAutomatically,omitempty"`
ExcludeEvidence *bool `json:"excludeEvidence,omitempty"`
GroupId string `json:"groupId"`
Labels *[]string `json:"labels,omitempty"`
ProjectId string `json:"projectId"`
} `json:"gitlab,omitempty"`
Jira *struct {
AutomationRules struct {
PolicyCategories *struct {
Category1 bool `json:"category1"`
Category2 bool `json:"category2"`
Category3 bool `json:"category3"`
} `json:"policyCategories,omitempty"`
Severities *struct {
Critical bool `json:"critical"`
High bool `json:"high"`
Info bool `json:"info"`
Low bool `json:"low"`
Medium bool `json:"medium"`
Warn bool `json:"warn"`
} `json:"severities,omitempty"`
} `json:"automationRules"`
BaseUrl *string `json:"baseUrl,omitempty"`
CreateIssuesAutomatically *bool `json:"createIssuesAutomatically,omitempty"`
CustomFields *[]struct {
Name string `json:"name"`
Type string `json:"type"`
Value string `json:"value"`
} `json:"customFields,omitempty"`
ExcludeEvidence *bool `json:"excludeEvidence,omitempty"`
IssueTemplateMapping *map[string]interface{} `json:"issueTemplateMapping,omitempty"`
IssueType *string `json:"issueType,omitempty"`
Labels *[]string `json:"labels,omitempty"`
Project string `json:"project"`
} `json:"jira,omitempty"`
Servicenow *struct {
AssignmentGroupSysId *string `json:"assignmentGroupSysId,omitempty"`
AutomationRules struct {
PolicyCategories *struct {
Category1 bool `json:"category1"`
Category2 bool `json:"category2"`
Category3 bool `json:"category3"`
} `json:"policyCategories,omitempty"`
Severities *struct {
Critical bool `json:"critical"`
High bool `json:"high"`
Info bool `json:"info"`
Low bool `json:"low"`
Medium bool `json:"medium"`
Warn bool `json:"warn"`
} `json:"severities,omitempty"`
} `json:"automationRules"`
CategorySysId *string `json:"categorySysId,omitempty"`
CreateIssuesAutomatically *bool `json:"createIssuesAutomatically,omitempty"`
ExcludeEvidence *bool `json:"excludeEvidence,omitempty"`
ImpactLevel *string `json:"impactLevel,omitempty"`
UrgencyLevel *string `json:"urgencyLevel,omitempty"`
} `json:"servicenow,omitempty"`
} `json:"PLATFORM,omitempty"`
} `json:"integrations,omitempty"`
// Static The static configuration for the application.
Static *map[string]interface{} `json:"static,omitempty"`
}
PostAppPlatformPackageConfigJSONBody defines parameters for PostAppPlatformPackageConfig.
type PostAppPlatformPackageConfigJSONRequestBody ¶
type PostAppPlatformPackageConfigJSONRequestBody PostAppPlatformPackageConfigJSONBody
PostAppPlatformPackageConfigJSONRequestBody defines body for PostAppPlatformPackageConfig for application/json ContentType.
type PostAppPlatformPackageConfigParams ¶
type PostAppPlatformPackageConfigParams struct {
// Group The UUID group ref of the application to update the config for. Optional if the user is only in one group.
Group *openapi_types.UUID `form:"group,omitempty" json:"group,omitempty"`
}
PostAppPlatformPackageConfigParams defines parameters for PostAppPlatformPackageConfig.
type PostAppPlatformPackageConfigParamsPlatform ¶
type PostAppPlatformPackageConfigParamsPlatform string
PostAppPlatformPackageConfigParamsPlatform defines parameters for PostAppPlatformPackageConfig.
const ( PostAppPlatformPackageConfigParamsPlatformAndroid PostAppPlatformPackageConfigParamsPlatform = "android" PostAppPlatformPackageConfigParamsPlatformIos PostAppPlatformPackageConfigParamsPlatform = "ios" )
Defines values for PostAppPlatformPackageConfigParamsPlatform.
type PostAppPlatformPackageConfigResponse ¶
type PostAppPlatformPackageConfigResponse struct {
Body []byte
HTTPResponse *http.Response
JSON2XX *struct {
// Dynamic The dynamic configuration for the application.
Dynamic *map[string]interface{} `json:"dynamic,omitempty"`
Integrations *struct {
PENTEST *struct {
Azure *struct {
AutomationRules struct {
PolicyCategories *struct {
Category1 bool `json:"category1"`
Category2 bool `json:"category2"`
Category3 bool `json:"category3"`
} `json:"policyCategories,omitempty"`
Severities *struct {
Critical bool `json:"critical"`
High bool `json:"high"`
Info bool `json:"info"`
Low bool `json:"low"`
Medium bool `json:"medium"`
Warn bool `json:"warn"`
} `json:"severities,omitempty"`
} `json:"automationRules"`
CreateIssuesAutomatically *bool `json:"createIssuesAutomatically,omitempty"`
CustomFields *[]struct {
ReferenceName string `json:"referenceName"`
Type string `json:"type"`
Value string `json:"value"`
} `json:"customFields,omitempty"`
ExcludeEvidence *bool `json:"excludeEvidence,omitempty"`
IssueTemplateMapping *map[string]interface{} `json:"issueTemplateMapping,omitempty"`
OrganizationName string `json:"organizationName"`
ProjectId string `json:"projectId"`
Tags *[]string `json:"tags,omitempty"`
WorkItemType string `json:"workItemType"`
} `json:"azure,omitempty"`
Github *struct {
AutomationRules struct {
PolicyCategories *struct {
Category1 bool `json:"category1"`
Category2 bool `json:"category2"`
Category3 bool `json:"category3"`
} `json:"policyCategories,omitempty"`
Severities *struct {
Critical bool `json:"critical"`
High bool `json:"high"`
Info bool `json:"info"`
Low bool `json:"low"`
Medium bool `json:"medium"`
Warn bool `json:"warn"`
} `json:"severities,omitempty"`
} `json:"automationRules"`
CreateIssuesAutomatically *bool `json:"createIssuesAutomatically,omitempty"`
Labels *[]string `json:"labels,omitempty"`
Repository string `json:"repository"`
} `json:"github,omitempty"`
Gitlab *struct {
AutomationRules struct {
PolicyCategories *struct {
Category1 bool `json:"category1"`
Category2 bool `json:"category2"`
Category3 bool `json:"category3"`
} `json:"policyCategories,omitempty"`
Severities *struct {
Critical bool `json:"critical"`
High bool `json:"high"`
Info bool `json:"info"`
Low bool `json:"low"`
Medium bool `json:"medium"`
Warn bool `json:"warn"`
} `json:"severities,omitempty"`
} `json:"automationRules"`
CreateIssuesAutomatically *bool `json:"createIssuesAutomatically,omitempty"`
ExcludeEvidence *bool `json:"excludeEvidence,omitempty"`
GroupId string `json:"groupId"`
Labels *[]string `json:"labels,omitempty"`
ProjectId string `json:"projectId"`
} `json:"gitlab,omitempty"`
Jira *struct {
AutomationRules struct {
PolicyCategories *struct {
Category1 bool `json:"category1"`
Category2 bool `json:"category2"`
Category3 bool `json:"category3"`
} `json:"policyCategories,omitempty"`
Severities *struct {
Critical bool `json:"critical"`
High bool `json:"high"`
Info bool `json:"info"`
Low bool `json:"low"`
Medium bool `json:"medium"`
Warn bool `json:"warn"`
} `json:"severities,omitempty"`
} `json:"automationRules"`
BaseUrl *string `json:"baseUrl,omitempty"`
CreateIssuesAutomatically *bool `json:"createIssuesAutomatically,omitempty"`
CustomFields *[]struct {
Name string `json:"name"`
Type string `json:"type"`
Value string `json:"value"`
} `json:"customFields,omitempty"`
ExcludeEvidence *bool `json:"excludeEvidence,omitempty"`
IssueTemplateMapping *map[string]interface{} `json:"issueTemplateMapping,omitempty"`
IssueType *string `json:"issueType,omitempty"`
Labels *[]string `json:"labels,omitempty"`
Project string `json:"project"`
} `json:"jira,omitempty"`
Servicenow *struct {
AssignmentGroupSysId *string `json:"assignmentGroupSysId,omitempty"`
AutomationRules struct {
PolicyCategories *struct {
Category1 bool `json:"category1"`
Category2 bool `json:"category2"`
Category3 bool `json:"category3"`
} `json:"policyCategories,omitempty"`
Severities *struct {
Critical bool `json:"critical"`
High bool `json:"high"`
Info bool `json:"info"`
Low bool `json:"low"`
Medium bool `json:"medium"`
Warn bool `json:"warn"`
} `json:"severities,omitempty"`
} `json:"automationRules"`
CategorySysId *string `json:"categorySysId,omitempty"`
CreateIssuesAutomatically *bool `json:"createIssuesAutomatically,omitempty"`
ExcludeEvidence *bool `json:"excludeEvidence,omitempty"`
ImpactLevel *string `json:"impactLevel,omitempty"`
UrgencyLevel *string `json:"urgencyLevel,omitempty"`
} `json:"servicenow,omitempty"`
} `json:"PEN_TEST,omitempty"`
PLATFORM *struct {
Azure *struct {
AutomationRules struct {
PolicyCategories *struct {
Category1 bool `json:"category1"`
Category2 bool `json:"category2"`
Category3 bool `json:"category3"`
} `json:"policyCategories,omitempty"`
Severities *struct {
Critical bool `json:"critical"`
High bool `json:"high"`
Info bool `json:"info"`
Low bool `json:"low"`
Medium bool `json:"medium"`
Warn bool `json:"warn"`
} `json:"severities,omitempty"`
} `json:"automationRules"`
CreateIssuesAutomatically *bool `json:"createIssuesAutomatically,omitempty"`
CustomFields *[]struct {
ReferenceName string `json:"referenceName"`
Type string `json:"type"`
Value string `json:"value"`
} `json:"customFields,omitempty"`
ExcludeEvidence *bool `json:"excludeEvidence,omitempty"`
IssueTemplateMapping *map[string]interface{} `json:"issueTemplateMapping,omitempty"`
OrganizationName string `json:"organizationName"`
ProjectId string `json:"projectId"`
Tags *[]string `json:"tags,omitempty"`
WorkItemType string `json:"workItemType"`
} `json:"azure,omitempty"`
Github *struct {
AutomationRules struct {
PolicyCategories *struct {
Category1 bool `json:"category1"`
Category2 bool `json:"category2"`
Category3 bool `json:"category3"`
} `json:"policyCategories,omitempty"`
Severities *struct {
Critical bool `json:"critical"`
High bool `json:"high"`
Info bool `json:"info"`
Low bool `json:"low"`
Medium bool `json:"medium"`
Warn bool `json:"warn"`
} `json:"severities,omitempty"`
} `json:"automationRules"`
CreateIssuesAutomatically *bool `json:"createIssuesAutomatically,omitempty"`
Labels *[]string `json:"labels,omitempty"`
Repository string `json:"repository"`
} `json:"github,omitempty"`
Gitlab *struct {
AutomationRules struct {
PolicyCategories *struct {
Category1 bool `json:"category1"`
Category2 bool `json:"category2"`
Category3 bool `json:"category3"`
} `json:"policyCategories,omitempty"`
Severities *struct {
Critical bool `json:"critical"`
High bool `json:"high"`
Info bool `json:"info"`
Low bool `json:"low"`
Medium bool `json:"medium"`
Warn bool `json:"warn"`
} `json:"severities,omitempty"`
} `json:"automationRules"`
CreateIssuesAutomatically *bool `json:"createIssuesAutomatically,omitempty"`
ExcludeEvidence *bool `json:"excludeEvidence,omitempty"`
GroupId string `json:"groupId"`
Labels *[]string `json:"labels,omitempty"`
ProjectId string `json:"projectId"`
} `json:"gitlab,omitempty"`
Jira *struct {
AutomationRules struct {
PolicyCategories *struct {
Category1 bool `json:"category1"`
Category2 bool `json:"category2"`
Category3 bool `json:"category3"`
} `json:"policyCategories,omitempty"`
Severities *struct {
Critical bool `json:"critical"`
High bool `json:"high"`
Info bool `json:"info"`
Low bool `json:"low"`
Medium bool `json:"medium"`
Warn bool `json:"warn"`
} `json:"severities,omitempty"`
} `json:"automationRules"`
BaseUrl *string `json:"baseUrl,omitempty"`
CreateIssuesAutomatically *bool `json:"createIssuesAutomatically,omitempty"`
CustomFields *[]struct {
Name string `json:"name"`
Type string `json:"type"`
Value string `json:"value"`
} `json:"customFields,omitempty"`
ExcludeEvidence *bool `json:"excludeEvidence,omitempty"`
IssueTemplateMapping *map[string]interface{} `json:"issueTemplateMapping,omitempty"`
IssueType *string `json:"issueType,omitempty"`
Labels *[]string `json:"labels,omitempty"`
Project string `json:"project"`
} `json:"jira,omitempty"`
Servicenow *struct {
AssignmentGroupSysId *string `json:"assignmentGroupSysId,omitempty"`
AutomationRules struct {
PolicyCategories *struct {
Category1 bool `json:"category1"`
Category2 bool `json:"category2"`
Category3 bool `json:"category3"`
} `json:"policyCategories,omitempty"`
Severities *struct {
Critical bool `json:"critical"`
High bool `json:"high"`
Info bool `json:"info"`
Low bool `json:"low"`
Medium bool `json:"medium"`
Warn bool `json:"warn"`
} `json:"severities,omitempty"`
} `json:"automationRules"`
CategorySysId *string `json:"categorySysId,omitempty"`
CreateIssuesAutomatically *bool `json:"createIssuesAutomatically,omitempty"`
ExcludeEvidence *bool `json:"excludeEvidence,omitempty"`
ImpactLevel *string `json:"impactLevel,omitempty"`
UrgencyLevel *string `json:"urgencyLevel,omitempty"`
} `json:"servicenow,omitempty"`
} `json:"PLATFORM,omitempty"`
} `json:"integrations,omitempty"`
// Static The static configuration for the application.
Static *map[string]interface{} `json:"static,omitempty"`
}
JSON4XX *LabRouteError
JSON5XX *LabRouteError
}
func ParsePostAppPlatformPackageConfigResponse ¶
func ParsePostAppPlatformPackageConfigResponse(rsp *http.Response) (*PostAppPlatformPackageConfigResponse, error)
ParsePostAppPlatformPackageConfigResponse parses an HTTP response from a PostAppPlatformPackageConfigWithResponse call
func (PostAppPlatformPackageConfigResponse) Status ¶
func (r PostAppPlatformPackageConfigResponse) Status() string
Status returns HTTPResponse.Status
func (PostAppPlatformPackageConfigResponse) StatusCode ¶
func (r PostAppPlatformPackageConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostAppPlatformPackageRunnerJSONBody ¶
type PostAppPlatformPackageRunnerJSONBody = map[string]interface{}
PostAppPlatformPackageRunnerJSONBody defines parameters for PostAppPlatformPackageRunner.
type PostAppPlatformPackageRunnerJSONRequestBody ¶
type PostAppPlatformPackageRunnerJSONRequestBody = PostAppPlatformPackageRunnerJSONBody
PostAppPlatformPackageRunnerJSONRequestBody defines body for PostAppPlatformPackageRunner for application/json ContentType.
type PostAppPlatformPackageRunnerParams ¶
type PostAppPlatformPackageRunnerParams struct {
// Group The UUID group ref of the application to upload the runner for (Optional if the user is only in one group).
Group *openapi_types.UUID `form:"group,omitempty" json:"group,omitempty"`
}
PostAppPlatformPackageRunnerParams defines parameters for PostAppPlatformPackageRunner.
type PostAppPlatformPackageRunnerParamsPlatform ¶
type PostAppPlatformPackageRunnerParamsPlatform string
PostAppPlatformPackageRunnerParamsPlatform defines parameters for PostAppPlatformPackageRunner.
const ( PostAppPlatformPackageRunnerParamsPlatformAndroid PostAppPlatformPackageRunnerParamsPlatform = "android" PostAppPlatformPackageRunnerParamsPlatformIos PostAppPlatformPackageRunnerParamsPlatform = "ios" )
Defines values for PostAppPlatformPackageRunnerParamsPlatform.
type PostAppPlatformPackageRunnerResponse ¶
type PostAppPlatformPackageRunnerResponse struct {
Body []byte
HTTPResponse *http.Response
JSON2XX *LabApp
JSON4XX *LabRouteError
JSON5XX *LabRouteError
}
func ParsePostAppPlatformPackageRunnerResponse ¶
func ParsePostAppPlatformPackageRunnerResponse(rsp *http.Response) (*PostAppPlatformPackageRunnerResponse, error)
ParsePostAppPlatformPackageRunnerResponse parses an HTTP response from a PostAppPlatformPackageRunnerWithResponse call
func (PostAppPlatformPackageRunnerResponse) Status ¶
func (r PostAppPlatformPackageRunnerResponse) Status() string
Status returns HTTPResponse.Status
func (PostAppPlatformPackageRunnerResponse) StatusCode ¶
func (r PostAppPlatformPackageRunnerResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostAppResponse ¶
type PostAppResponse struct {
Body []byte
HTTPResponse *http.Response
JSON2XX *LabApp
JSON4XX *LabRouteError
JSON5XX *LabRouteError
}
func ParsePostAppResponse ¶
func ParsePostAppResponse(rsp *http.Response) (*PostAppResponse, error)
ParsePostAppResponse parses an HTTP response from a PostAppWithResponse call
func (PostAppResponse) Status ¶
func (r PostAppResponse) Status() string
Status returns HTTPResponse.Status
func (PostAppResponse) StatusCode ¶
func (r PostAppResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostBinaryJSONBody ¶
type PostBinaryJSONBody = map[string]interface{}
PostBinaryJSONBody defines parameters for PostBinary.
type PostBinaryJSONRequestBody ¶
type PostBinaryJSONRequestBody = PostBinaryJSONBody
PostBinaryJSONRequestBody defines body for PostBinary for application/json ContentType.
type PostBinaryParams ¶
type PostBinaryParams struct {
// Group The UUID group ref of the group in which to upload the binary.
Group *openapi_types.UUID `form:"group,omitempty" json:"group,omitempty"`
}
PostBinaryParams defines parameters for PostBinary.
type PostBinaryResponse ¶
type PostBinaryResponse struct {
Body []byte
HTTPResponse *http.Response
JSON2XX *struct {
// Algorithm The hashing algorithm used to generate the binary digest.
Algorithm *string `json:"algorithm"`
// Analyzed Whether the binary has been analyzed.
Analyzed *bool `json:"analyzed"`
// Digest The hash digest of the binary file.
Digest string `json:"digest"`
// DownloadedAppstoreApplicationKey The iOS application store ID or Android package name for the app binary as it exists in the app store.
DownloadedAppstoreApplicationKey *string `json:"downloaded_appstore_application_key"`
// Icon The Base64 encoded string for the binary's icon.
Icon *string `json:"icon"`
// Name The name of the application the binary is for.
Name *string `json:"name"`
// Package The iOS Bundle ID or Android package name for the binary.
Package *string `json:"package"`
// Platform The Platform (ios/android) of the binary.
Platform *string `json:"platform"`
// Title The title of the application the binary is for.
Title *string `json:"title"`
Token *string `json:"token"`
// UploadRef The unique identifier for the upload record associated with this binary.
UploadRef *openapi_types.UUID `json:"uploadRef,omitempty"`
// Version The application version of the binary.
Version *string `json:"version"`
}
JSON4XX *LabRouteError
JSON5XX *LabRouteError
}
func ParsePostBinaryResponse ¶
func ParsePostBinaryResponse(rsp *http.Response) (*PostBinaryResponse, error)
ParsePostBinaryResponse parses an HTTP response from a PostBinaryWithResponse call
func (PostBinaryResponse) Status ¶
func (r PostBinaryResponse) Status() string
Status returns HTTPResponse.Status
func (PostBinaryResponse) StatusCode ¶
func (r PostBinaryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostBuild2XX0 ¶
type PostBuild2XX0 struct {
// Binary The SHA-256 hash of the analyzed binary.
Binary string `json:"binary"`
// Group The UUID ref of the group this application belongs to.
Group string `json:"group"`
// Package The package ID of the application.
Package string `json:"package"`
// Platform The operating system of the application (android or ios).
Platform string `json:"platform"`
// Version The application version.
Version *string `json:"version,omitempty"`
AdditionalProperties map[string]interface{} `json:"-"`
}
type PostBuild2XX1 ¶
type PostBuild2XX1 struct {
// Account The UUID ref of the group this assessment belongs to.
Account *openapi_types.UUID `json:"account"`
// AdjustedIssues A map from finding keys to the finding's associated CVSS score in the user-edited assessment report.
AdjustedIssues *interface{} `json:"adjusted_issues,omitempty"`
// AdjustedScore The score for the user-edited assessment report.
AdjustedScore *float32 `json:"adjusted_score"`
// Application The UUID ref of the application this assessment belongs to.
Application *openapi_types.UUID `json:"application"`
// AppstoreDownload * if the assessment was ran on the latest app store binary at the time of assessment.
AppstoreDownload *PostBuild2XX1AppstoreDownload `json:"appstore_download,omitempty"`
// Binary The SHA-256 hash of the binary this assessment was run on.
Binary *string `json:"binary"`
// Cancelled Whether this assessment was manually cancelled before completion.
Cancelled bool `json:"cancelled"`
// Config The complete configuration this assessment was ran with.
Config struct {
// Dynamic The dynamic-specific configuration this assessment was ran with.
Dynamic interface{} `json:"dynamic"`
// Static The static-specific configuration this assessment was ran with.
Static interface{} `json:"static"`
} `json:"config"`
// Created The date-time this assessment was created.
Created *time.Time `json:"created"`
// Creator The UUID ref of the user who triggered this assessment.
Creator *openapi_types.UUID `json:"creator"`
Events struct {
Dynamic []interface{} `json:"dynamic"`
} `json:"events"`
// Favorite Whether this assessment has been marked as a favorite.
Favorite *bool `json:"favorite"`
// Group The UUID ref of the group this assessment belongs to.
Group *openapi_types.UUID `json:"group"`
// IdentifiedVulnMap A map from finding keys to integer identified vulnerability IDs.
IdentifiedVulnMap *interface{} `json:"identified_vuln_map,omitempty"`
// Package The package ID of the application this assessment belongs to.
Package string `json:"package"`
// Platform The operating system of the application this assessment belongs to (android or ios).
Platform string `json:"platform"`
// Ref The unique identifier for the assessment.
Ref openapi_types.UUID `json:"ref"`
// Status An object describing the status of the static and dynamic tasks associated with this assessment.
Status struct {
// Dynamic A string describing the status of the dynamic task associated with this assessment.
Dynamic interface{} `json:"dynamic"`
// Static A string describing the status of the static task associated with this assessment.
Static interface{} `json:"static"`
} `json:"status"`
// Task An integer identifying the underlying analysis tasks associated with this assessment.
// TODO: Comment on upstream issue on float64 defaults
Task float64 `json:"task"`
// TaskErrorCode The error code describing the failure if an assessment failed.
TaskErrorCode *string `json:"task_error_code"`
// TaskStatus The state of the assessment.
TaskStatus *PostBuild2XX1TaskStatus `json:"task_status,omitempty"`
// Updated The date-time this assessment was last updated.
Updated *time.Time `json:"updated"`
}
func UploadFile ¶
func UploadFile(ctx context.Context, client *ClientWithResponses, p UploadFileParams) (*PostBuild2XX1, error)
type PostBuild2XX1AppstoreDownload ¶
type PostBuild2XX1AppstoreDownload string
type PostBuild2XX1TaskStatus ¶
type PostBuild2XX1TaskStatus string
type PostBuildJSONBody ¶
type PostBuildJSONBody = map[string]interface{}
PostBuildJSONBody defines parameters for PostBuild.
type PostBuildJSONRequestBody ¶
type PostBuildJSONRequestBody = PostBuildJSONBody
PostBuildJSONRequestBody defines body for PostBuild for application/json ContentType.
type PostBuildParams ¶
type PostBuildParams struct {
// AnalysisType The type of analysis to perform.
AnalysisType *PostBuildParamsAnalysisType `form:"analysisType,omitempty" json:"analysisType,omitempty"`
// Version Specifying a value will explicitly set version key on the build, overriding the value ultimately extracted from build metadata.
Version *string `form:"version,omitempty" json:"version,omitempty"`
// Group The UUID ref of the group to use for the assessment (Optional if the user is only in one group).
Group *openapi_types.UUID `form:"group,omitempty" json:"group,omitempty"`
// Assessment Specifying a value of `false` will opt out of triggering a subsequent assessment. In this case the response is the digest information for the upload.
Assessment *bool `form:"assessment,omitempty" json:"assessment,omitempty"`
// HideSensitiveDataValues Specifying a value of `true` will hide sensitive values from the app configuration data returned with the assessment.
HideSensitiveDataValues *bool `form:"hideSensitiveDataValues,omitempty" json:"hideSensitiveDataValues,omitempty"`
}
PostBuildParams defines parameters for PostBuild.
type PostBuildParamsAnalysisType ¶
type PostBuildParamsAnalysisType string
PostBuildParamsAnalysisType defines parameters for PostBuild.
const ( PostBuildParamsAnalysisTypeSbom PostBuildParamsAnalysisType = "sbom" PostBuildParamsAnalysisTypeStatic PostBuildParamsAnalysisType = "static" )
Defines values for PostBuildParamsAnalysisType.
type PostBuildPlatformPackageJSONBody ¶
type PostBuildPlatformPackageJSONBody = map[string]interface{}
PostBuildPlatformPackageJSONBody defines parameters for PostBuildPlatformPackage.
type PostBuildPlatformPackageJSONRequestBody ¶
type PostBuildPlatformPackageJSONRequestBody = PostBuildPlatformPackageJSONBody
PostBuildPlatformPackageJSONRequestBody defines body for PostBuildPlatformPackage for application/json ContentType.
type PostBuildPlatformPackageParams ¶
type PostBuildPlatformPackageParams struct {
// Group The application group containing the application.
Group openapi_types.UUID `form:"group" json:"group"`
}
PostBuildPlatformPackageParams defines parameters for PostBuildPlatformPackage.
type PostBuildPlatformPackageParamsPlatform ¶
type PostBuildPlatformPackageParamsPlatform string
PostBuildPlatformPackageParamsPlatform defines parameters for PostBuildPlatformPackage.
const ( PostBuildPlatformPackageParamsPlatformAndroid PostBuildPlatformPackageParamsPlatform = "android" PostBuildPlatformPackageParamsPlatformIos PostBuildPlatformPackageParamsPlatform = "ios" )
Defines values for PostBuildPlatformPackageParamsPlatform.
type PostBuildPlatformPackageResponse ¶
type PostBuildPlatformPackageResponse struct {
Body []byte
HTTPResponse *http.Response
JSON2XX *struct {
// Binary The SHA-256 digest of the analyzed binary. Note that some applications are repackaged prior to analysis, so this digest may differ from the digest of the uploaded file.
Binary string `json:"binary"`
// Group The UUID identifier of the group this application belongs to.
Group openapi_types.UUID `json:"group"`
// Package The package or bundle ID.
Package string `json:"package"`
// Platform The operating system of the application (android or ios).
Platform *string `json:"platform,omitempty"`
// Version The application version string.
Version *string `json:"version,omitempty"`
AdditionalProperties map[string]interface{} `json:"-"`
}
JSON4XX *LabRouteError
JSON5XX *LabRouteError
}
func ParsePostBuildPlatformPackageResponse ¶
func ParsePostBuildPlatformPackageResponse(rsp *http.Response) (*PostBuildPlatformPackageResponse, error)
ParsePostBuildPlatformPackageResponse parses an HTTP response from a PostBuildPlatformPackageWithResponse call
func (PostBuildPlatformPackageResponse) Status ¶
func (r PostBuildPlatformPackageResponse) Status() string
Status returns HTTPResponse.Status
func (PostBuildPlatformPackageResponse) StatusCode ¶
func (r PostBuildPlatformPackageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostBuildResponse ¶
type PostBuildResponse struct {
Body []byte
HTTPResponse *http.Response
JSON2XX *struct {
// contains filtered or unexported fields
}
JSON4XX *LabRouteError
JSON5XX *LabRouteError
}
func ParsePostBuildResponse ¶
func ParsePostBuildResponse(rsp *http.Response) (*PostBuildResponse, error)
ParsePostBuildResponse parses an HTTP response from a PostBuildWithResponse call
func (PostBuildResponse) Status ¶
func (r PostBuildResponse) Status() string
Status returns HTTPResponse.Status
func (PostBuildResponse) StatusCode ¶
func (r PostBuildResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostLoginTokenResponse ¶
type PostLoginTokenResponse struct {
Body []byte
HTTPResponse *http.Response
JSON2XX *ActionResult
JSON4XX *StandardError
JSON5XX *LabRouteError
}
func ParsePostLoginTokenResponse ¶
func ParsePostLoginTokenResponse(rsp *http.Response) (*PostLoginTokenResponse, error)
ParsePostLoginTokenResponse parses an HTTP response from a PostLoginTokenWithResponse call
func (PostLoginTokenResponse) Status ¶
func (r PostLoginTokenResponse) Status() string
Status returns HTTPResponse.Status
func (PostLoginTokenResponse) StatusCode ¶
func (r PostLoginTokenResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostResourceChangeAppGroupAppRefFromCurrentGroupRefToNewGroupRefResponse ¶
type PostResourceChangeAppGroupAppRefFromCurrentGroupRefToNewGroupRefResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *LabApp
JSON4XX *LabRouteError
JSON5XX *LabRouteError
}
func ParsePostResourceChangeAppGroupAppRefFromCurrentGroupRefToNewGroupRefResponse ¶
func ParsePostResourceChangeAppGroupAppRefFromCurrentGroupRefToNewGroupRefResponse(rsp *http.Response) (*PostResourceChangeAppGroupAppRefFromCurrentGroupRefToNewGroupRefResponse, error)
ParsePostResourceChangeAppGroupAppRefFromCurrentGroupRefToNewGroupRefResponse parses an HTTP response from a PostResourceChangeAppGroupAppRefFromCurrentGroupRefToNewGroupRefWithResponse call
func (PostResourceChangeAppGroupAppRefFromCurrentGroupRefToNewGroupRefResponse) Status ¶
Status returns HTTPResponse.Status
func (PostResourceChangeAppGroupAppRefFromCurrentGroupRefToNewGroupRefResponse) StatusCode ¶
func (r PostResourceChangeAppGroupAppRefFromCurrentGroupRefToNewGroupRefResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostUserTokenJSONBody ¶
type PostUserTokenJSONBody struct {
// ExpirationDays Expiration days
ExpirationDays *float32 `json:"expirationDays,omitempty"`
// Name Name
Name string `json:"name"`
}
PostUserTokenJSONBody defines parameters for PostUserToken.
type PostUserTokenJSONRequestBody ¶
type PostUserTokenJSONRequestBody PostUserTokenJSONBody
PostUserTokenJSONRequestBody defines body for PostUserToken for application/json ContentType.
type PostUserTokenRefreshJSONBody ¶
type PostUserTokenRefreshJSONBody struct {
// ExpirationDays Expiration days
ExpirationDays float32 `json:"expirationDays"`
// Jti jti/ref
Jti *openapi_types.UUID `json:"jti,omitempty"`
// Name Name
Name string `json:"name"`
}
PostUserTokenRefreshJSONBody defines parameters for PostUserTokenRefresh.
type PostUserTokenRefreshJSONRequestBody ¶
type PostUserTokenRefreshJSONRequestBody PostUserTokenRefreshJSONBody
PostUserTokenRefreshJSONRequestBody defines body for PostUserTokenRefresh for application/json ContentType.
type PostUserTokenRefreshResponse ¶
type PostUserTokenRefreshResponse struct {
Body []byte
HTTPResponse *http.Response
JSON2XX *struct {
Data struct {
// Exp Expires at
Exp float32 `json:"exp"`
// Iat Issued at
Iat float32 `json:"iat"`
// Iss Issuer
Iss string `json:"iss"`
// Jti jti/ref
Jti openapi_types.UUID `json:"jti"`
// Name Name
Name string `json:"name"`
// Sub User ref
Sub openapi_types.UUID `json:"sub"`
} `json:"data"`
Token string `json:"token"`
}
JSON404 *struct {
Message string `json:"message"`
Name string `json:"name"`
}
JSON4XX *StandardError
JSON5XX *StandardError
}
func ParsePostUserTokenRefreshResponse ¶
func ParsePostUserTokenRefreshResponse(rsp *http.Response) (*PostUserTokenRefreshResponse, error)
ParsePostUserTokenRefreshResponse parses an HTTP response from a PostUserTokenRefreshWithResponse call
func (PostUserTokenRefreshResponse) Status ¶
func (r PostUserTokenRefreshResponse) Status() string
Status returns HTTPResponse.Status
func (PostUserTokenRefreshResponse) StatusCode ¶
func (r PostUserTokenRefreshResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostUserTokenResponse ¶
type PostUserTokenResponse struct {
Body []byte
HTTPResponse *http.Response
JSON2XX *struct {
Data struct {
// Exp Expires at
Exp float32 `json:"exp"`
// Iat Issued at
Iat float32 `json:"iat"`
// Iss Issuer
Iss string `json:"iss"`
// Jti jti/ref
Jti openapi_types.UUID `json:"jti"`
// Name Name
Name string `json:"name"`
// Sub User ref
Sub openapi_types.UUID `json:"sub"`
} `json:"data"`
Token string `json:"token"`
}
JSON4XX *StandardError
JSON5XX *StandardError
}
func ParsePostUserTokenResponse ¶
func ParsePostUserTokenResponse(rsp *http.Response) (*PostUserTokenResponse, error)
ParsePostUserTokenResponse parses an HTTP response from a PostUserTokenWithResponse call
func (PostUserTokenResponse) Status ¶
func (r PostUserTokenResponse) Status() string
Status returns HTTPResponse.Status
func (PostUserTokenResponse) StatusCode ¶
func (r PostUserTokenResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type StandardError ¶
type StandardError struct {
// Code Error code
Code *string `json:"code,omitempty"`
// Error Error flag
Error *bool `json:"error,omitempty"`
Errors *[]string `json:"errors,omitempty"`
// Message Error message
Message string `json:"message"`
// Name Error name
Name *string `json:"name,omitempty"`
// Stack Error stacktrace
Stack *string `json:"stack,omitempty"`
// Type Error type
Type *string `json:"type,omitempty"`
AdditionalProperties map[string]interface{} `json:"-"`
}
StandardError defines model for standardError.
func (StandardError) Get ¶
func (a StandardError) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for StandardError. Returns the specified element and whether it was found
func (StandardError) MarshalJSON ¶
func (a StandardError) MarshalJSON() ([]byte, error)
Override default JSON handling for StandardError to handle AdditionalProperties
func (*StandardError) Set ¶
func (a *StandardError) Set(fieldName string, value interface{})
Setter for additional properties for StandardError
func (*StandardError) UnmarshalJSON ¶
func (a *StandardError) UnmarshalJSON(b []byte) error
Override default JSON handling for StandardError to handle AdditionalProperties