@sonatype/nexus-iq-api-client 0.193.0 → 0.193.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +2 -0
- package/dist/apis/AdvancedSearchApi.d.ts +10 -10
- package/dist/apis/ApplicationCategoriesApi.d.ts +45 -45
- package/dist/apis/ApplicationReportDataApi.d.ts +25 -25
- package/dist/apis/ApplicationsApi.d.ts +40 -40
- package/dist/apis/AuditLogsApi.d.ts +5 -5
- package/dist/apis/AutoPolicyWaiverExclusionsApi.d.ts +15 -15
- package/dist/apis/AutoPolicyWaiversApi.d.ts +40 -40
- package/dist/apis/CPEMatchingConfigurationApi.d.ts +10 -10
- package/dist/apis/ClaimComponentsApi.d.ts +15 -15
- package/dist/apis/ComponentLabelsApi.d.ts +30 -30
- package/dist/apis/ComponentSearchApi.d.ts +5 -5
- package/dist/apis/ComponentsApi.d.ts +25 -25
- package/dist/apis/CompositeSourceControlApi.d.ts +5 -5
- package/dist/apis/CompositeSourceControlValidatorApi.d.ts +5 -5
- package/dist/apis/ConfigCrowdApi.d.ts +10 -10
- package/dist/apis/ConfigJiraApi.d.ts +5 -5
- package/dist/apis/ConfigMailApi.d.ts +10 -10
- package/dist/apis/ConfigProxyServerApi.d.ts +5 -5
- package/dist/apis/ConfigReverseProxyAuthenticationApi.d.ts +5 -5
- package/dist/apis/ConfigSourceControlApi.d.ts +5 -5
- package/dist/apis/ConfigZscalerApi.d.ts +20 -20
- package/dist/apis/ConfigurationApi.d.ts +15 -15
- package/dist/apis/ConfigureArtifactoryConnectionApi.d.ts +40 -40
- package/dist/apis/CycloneDXApi.d.ts +10 -10
- package/dist/apis/DataRetentionPoliciesApi.d.ts +15 -15
- package/dist/apis/DeveloperPrioritiesApi.d.ts +10 -10
- package/dist/apis/EndpointsApi.d.ts +5 -5
- package/dist/apis/FeatureConfigurationApi.d.ts +10 -10
- package/dist/apis/FirewallApi.d.ts +70 -70
- package/dist/apis/LicenseLegalMetadataApi.d.ts +40 -40
- package/dist/apis/LicenseLegalMetadataTemplatesApi.d.ts +15 -15
- package/dist/apis/LicenseOverridesApi.d.ts +20 -20
- package/dist/apis/OrganizationsApi.d.ts +25 -25
- package/dist/apis/PolicyEvaluationApi.d.ts +25 -25
- package/dist/apis/PolicyViolationDetailsApi.d.ts +45 -45
- package/dist/apis/PolicyWaiverRequestsApi.d.ts +20 -20
- package/dist/apis/PolicyWaiversApi.d.ts +45 -45
- package/dist/apis/ProductLicenseApi.d.ts +67 -0
- package/dist/apis/ProductLicenseApi.js +105 -0
- package/dist/apis/ReportsApi.d.ts +20 -20
- package/dist/apis/RepositoriesApi.d.ts +10 -10
- package/dist/apis/RoleMembershipsApi.d.ts +30 -30
- package/dist/apis/SBOMApi.d.ts +45 -45
- package/dist/apis/SPDXApi.d.ts +10 -10
- package/dist/apis/SecurityVulnerabilityOverridesApi.d.ts +5 -5
- package/dist/apis/SolutionsApi.d.ts +5 -5
- package/dist/apis/SourceControlApi.d.ts +40 -40
- package/dist/apis/SourceControlMetricsApi.d.ts +5 -5
- package/dist/apis/ThirdPartyAnalysisApi.d.ts +10 -10
- package/dist/apis/UserTokensApi.d.ts +15 -15
- package/dist/apis/UsersApi.d.ts +25 -25
- package/dist/apis/VulnerabilityDetailsApi.d.ts +5 -5
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/esm/apis/AdvancedSearchApi.d.ts +10 -10
- package/dist/esm/apis/ApplicationCategoriesApi.d.ts +45 -45
- package/dist/esm/apis/ApplicationReportDataApi.d.ts +25 -25
- package/dist/esm/apis/ApplicationsApi.d.ts +40 -40
- package/dist/esm/apis/AuditLogsApi.d.ts +5 -5
- package/dist/esm/apis/AutoPolicyWaiverExclusionsApi.d.ts +15 -15
- package/dist/esm/apis/AutoPolicyWaiversApi.d.ts +40 -40
- package/dist/esm/apis/CPEMatchingConfigurationApi.d.ts +10 -10
- package/dist/esm/apis/ClaimComponentsApi.d.ts +15 -15
- package/dist/esm/apis/ComponentLabelsApi.d.ts +30 -30
- package/dist/esm/apis/ComponentSearchApi.d.ts +5 -5
- package/dist/esm/apis/ComponentsApi.d.ts +25 -25
- package/dist/esm/apis/CompositeSourceControlApi.d.ts +5 -5
- package/dist/esm/apis/CompositeSourceControlValidatorApi.d.ts +5 -5
- package/dist/esm/apis/ConfigCrowdApi.d.ts +10 -10
- package/dist/esm/apis/ConfigJiraApi.d.ts +5 -5
- package/dist/esm/apis/ConfigMailApi.d.ts +10 -10
- package/dist/esm/apis/ConfigProxyServerApi.d.ts +5 -5
- package/dist/esm/apis/ConfigReverseProxyAuthenticationApi.d.ts +5 -5
- package/dist/esm/apis/ConfigSourceControlApi.d.ts +5 -5
- package/dist/esm/apis/ConfigZscalerApi.d.ts +20 -20
- package/dist/esm/apis/ConfigurationApi.d.ts +15 -15
- package/dist/esm/apis/ConfigureArtifactoryConnectionApi.d.ts +40 -40
- package/dist/esm/apis/CycloneDXApi.d.ts +10 -10
- package/dist/esm/apis/DataRetentionPoliciesApi.d.ts +15 -15
- package/dist/esm/apis/DeveloperPrioritiesApi.d.ts +10 -10
- package/dist/esm/apis/EndpointsApi.d.ts +5 -5
- package/dist/esm/apis/FeatureConfigurationApi.d.ts +10 -10
- package/dist/esm/apis/FirewallApi.d.ts +70 -70
- package/dist/esm/apis/LicenseLegalMetadataApi.d.ts +40 -40
- package/dist/esm/apis/LicenseLegalMetadataTemplatesApi.d.ts +15 -15
- package/dist/esm/apis/LicenseOverridesApi.d.ts +20 -20
- package/dist/esm/apis/OrganizationsApi.d.ts +25 -25
- package/dist/esm/apis/PolicyEvaluationApi.d.ts +25 -25
- package/dist/esm/apis/PolicyViolationDetailsApi.d.ts +45 -45
- package/dist/esm/apis/PolicyWaiverRequestsApi.d.ts +20 -20
- package/dist/esm/apis/PolicyWaiversApi.d.ts +45 -45
- package/dist/esm/apis/ProductLicenseApi.d.ts +67 -0
- package/dist/esm/apis/ProductLicenseApi.js +101 -0
- package/dist/esm/apis/ReportsApi.d.ts +20 -20
- package/dist/esm/apis/RepositoriesApi.d.ts +10 -10
- package/dist/esm/apis/RoleMembershipsApi.d.ts +30 -30
- package/dist/esm/apis/SBOMApi.d.ts +45 -45
- package/dist/esm/apis/SPDXApi.d.ts +10 -10
- package/dist/esm/apis/SecurityVulnerabilityOverridesApi.d.ts +5 -5
- package/dist/esm/apis/SolutionsApi.d.ts +5 -5
- package/dist/esm/apis/SourceControlApi.d.ts +40 -40
- package/dist/esm/apis/SourceControlMetricsApi.d.ts +5 -5
- package/dist/esm/apis/ThirdPartyAnalysisApi.d.ts +10 -10
- package/dist/esm/apis/UserTokensApi.d.ts +15 -15
- package/dist/esm/apis/UsersApi.d.ts +25 -25
- package/dist/esm/apis/VulnerabilityDetailsApi.d.ts +5 -5
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.js +1 -0
- package/dist/esm/models/InstallLicenseRequest.d.ts +32 -0
- package/dist/esm/models/InstallLicenseRequest.js +41 -0
- package/dist/esm/models/index.d.ts +1 -0
- package/dist/esm/models/index.js +1 -0
- package/dist/models/InstallLicenseRequest.d.ts +32 -0
- package/dist/models/InstallLicenseRequest.js +48 -0
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/package.json +1 -1
- package/src/apis/AdvancedSearchApi.ts +10 -10
- package/src/apis/ApplicationCategoriesApi.ts +45 -45
- package/src/apis/ApplicationReportDataApi.ts +25 -25
- package/src/apis/ApplicationsApi.ts +40 -40
- package/src/apis/AuditLogsApi.ts +5 -5
- package/src/apis/AutoPolicyWaiverExclusionsApi.ts +15 -15
- package/src/apis/AutoPolicyWaiversApi.ts +40 -40
- package/src/apis/CPEMatchingConfigurationApi.ts +10 -10
- package/src/apis/ClaimComponentsApi.ts +15 -15
- package/src/apis/ComponentLabelsApi.ts +30 -30
- package/src/apis/ComponentSearchApi.ts +5 -5
- package/src/apis/ComponentsApi.ts +25 -25
- package/src/apis/CompositeSourceControlApi.ts +5 -5
- package/src/apis/CompositeSourceControlValidatorApi.ts +5 -5
- package/src/apis/ConfigCrowdApi.ts +10 -10
- package/src/apis/ConfigJiraApi.ts +5 -5
- package/src/apis/ConfigMailApi.ts +10 -10
- package/src/apis/ConfigProxyServerApi.ts +5 -5
- package/src/apis/ConfigReverseProxyAuthenticationApi.ts +5 -5
- package/src/apis/ConfigSourceControlApi.ts +5 -5
- package/src/apis/ConfigZscalerApi.ts +20 -20
- package/src/apis/ConfigurationApi.ts +15 -15
- package/src/apis/ConfigureArtifactoryConnectionApi.ts +40 -40
- package/src/apis/CycloneDXApi.ts +10 -10
- package/src/apis/DataRetentionPoliciesApi.ts +15 -15
- package/src/apis/DeveloperPrioritiesApi.ts +10 -10
- package/src/apis/EndpointsApi.ts +5 -5
- package/src/apis/FeatureConfigurationApi.ts +10 -10
- package/src/apis/FirewallApi.ts +70 -70
- package/src/apis/LicenseLegalMetadataApi.ts +40 -40
- package/src/apis/LicenseLegalMetadataTemplatesApi.ts +15 -15
- package/src/apis/LicenseOverridesApi.ts +20 -20
- package/src/apis/OrganizationsApi.ts +25 -25
- package/src/apis/PolicyEvaluationApi.ts +25 -25
- package/src/apis/PolicyViolationDetailsApi.ts +45 -45
- package/src/apis/PolicyWaiverRequestsApi.ts +20 -20
- package/src/apis/PolicyWaiversApi.ts +45 -45
- package/src/apis/ProductLicenseApi.ts +140 -0
- package/src/apis/ReportsApi.ts +20 -20
- package/src/apis/RepositoriesApi.ts +10 -10
- package/src/apis/RoleMembershipsApi.ts +30 -30
- package/src/apis/SBOMApi.ts +45 -45
- package/src/apis/SPDXApi.ts +10 -10
- package/src/apis/SecurityVulnerabilityOverridesApi.ts +5 -5
- package/src/apis/SolutionsApi.ts +5 -5
- package/src/apis/SourceControlApi.ts +40 -40
- package/src/apis/SourceControlMetricsApi.ts +5 -5
- package/src/apis/ThirdPartyAnalysisApi.ts +10 -10
- package/src/apis/UserTokensApi.ts +15 -15
- package/src/apis/UsersApi.ts +25 -25
- package/src/apis/VulnerabilityDetailsApi.ts +5 -5
- package/src/apis/index.ts +1 -0
- package/src/models/InstallLicenseRequest.ts +65 -0
- package/src/models/index.ts +1 -0
|
@@ -31,41 +31,41 @@ import {
|
|
|
31
31
|
PolicyTagToJSON,
|
|
32
32
|
} from '../models/index';
|
|
33
33
|
|
|
34
|
-
export interface
|
|
34
|
+
export interface ApplicationCategoriesApiAddTagRequest {
|
|
35
35
|
organizationId: string;
|
|
36
36
|
apiApplicationCategoryDTO: ApiApplicationCategoryDTO;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
export interface
|
|
39
|
+
export interface ApplicationCategoriesApiDeleteTagRequest {
|
|
40
40
|
organizationId: string;
|
|
41
41
|
tagId: string;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
export interface
|
|
44
|
+
export interface ApplicationCategoriesApiGetApplicableTagsRequest {
|
|
45
45
|
organizationId: string;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
export interface
|
|
48
|
+
export interface ApplicationCategoriesApiGetApplicableTagsByApplicationPublicIdRequest {
|
|
49
49
|
applicationPublicId: string;
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
export interface
|
|
52
|
+
export interface ApplicationCategoriesApiGetApplicationApplicableTagsRequest {
|
|
53
53
|
applicationPublicId: string;
|
|
54
54
|
}
|
|
55
55
|
|
|
56
|
-
export interface
|
|
56
|
+
export interface ApplicationCategoriesApiGetAppliedPolicyTagsRequest {
|
|
57
57
|
organizationId: string;
|
|
58
58
|
}
|
|
59
59
|
|
|
60
|
-
export interface
|
|
60
|
+
export interface ApplicationCategoriesApiGetAppliedTagsRequest {
|
|
61
61
|
organizationId: string;
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
-
export interface
|
|
64
|
+
export interface ApplicationCategoriesApiGetTagsRequest {
|
|
65
65
|
organizationId: string;
|
|
66
66
|
}
|
|
67
67
|
|
|
68
|
-
export interface
|
|
68
|
+
export interface ApplicationCategoriesApiUpdateTagRequest {
|
|
69
69
|
organizationId: string;
|
|
70
70
|
apiApplicationCategoryDTO: ApiApplicationCategoryDTO;
|
|
71
71
|
}
|
|
@@ -85,12 +85,12 @@ export interface ApplicationCategoriesApiInterface {
|
|
|
85
85
|
* @throws {RequiredError}
|
|
86
86
|
* @memberof ApplicationCategoriesApiInterface
|
|
87
87
|
*/
|
|
88
|
-
addTagRaw(requestParameters:
|
|
88
|
+
addTagRaw(requestParameters: ApplicationCategoriesApiAddTagRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiApplicationCategoryDTO>>;
|
|
89
89
|
|
|
90
90
|
/**
|
|
91
91
|
* Grouping applications with similar characteristics into categories makes policy management easier. You can then create a policy that applies to a specific category. Use this method to add a new application category or tag.
|
|
92
92
|
*/
|
|
93
|
-
addTag(requestParameters:
|
|
93
|
+
addTag(requestParameters: ApplicationCategoriesApiAddTagRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiApplicationCategoryDTO>;
|
|
94
94
|
|
|
95
95
|
/**
|
|
96
96
|
* Grouping applications with similar characteristics into categories makes policy management easier. You can then create a policy that applies to a specific category. Use this method to update an existing application category.Use this method to delete an existing application category.
|
|
@@ -100,12 +100,12 @@ export interface ApplicationCategoriesApiInterface {
|
|
|
100
100
|
* @throws {RequiredError}
|
|
101
101
|
* @memberof ApplicationCategoriesApiInterface
|
|
102
102
|
*/
|
|
103
|
-
deleteTagRaw(requestParameters:
|
|
103
|
+
deleteTagRaw(requestParameters: ApplicationCategoriesApiDeleteTagRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
104
104
|
|
|
105
105
|
/**
|
|
106
106
|
* Grouping applications with similar characteristics into categories makes policy management easier. You can then create a policy that applies to a specific category. Use this method to update an existing application category.Use this method to delete an existing application category.
|
|
107
107
|
*/
|
|
108
|
-
deleteTag(requestParameters:
|
|
108
|
+
deleteTag(requestParameters: ApplicationCategoriesApiDeleteTagRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
109
109
|
|
|
110
110
|
/**
|
|
111
111
|
* Grouping applications with similar characteristics into categories makes policy management easier. You can then create a policy that applies to a specific category. Use this method to retrieve a list of application categories that can be applied to applications in this organization.
|
|
@@ -114,12 +114,12 @@ export interface ApplicationCategoriesApiInterface {
|
|
|
114
114
|
* @throws {RequiredError}
|
|
115
115
|
* @memberof ApplicationCategoriesApiInterface
|
|
116
116
|
*/
|
|
117
|
-
getApplicableTagsRaw(requestParameters:
|
|
117
|
+
getApplicableTagsRaw(requestParameters: ApplicationCategoriesApiGetApplicableTagsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApplicableTagsDTO>>;
|
|
118
118
|
|
|
119
119
|
/**
|
|
120
120
|
* Grouping applications with similar characteristics into categories makes policy management easier. You can then create a policy that applies to a specific category. Use this method to retrieve a list of application categories that can be applied to applications in this organization.
|
|
121
121
|
*/
|
|
122
|
-
getApplicableTags(requestParameters:
|
|
122
|
+
getApplicableTags(requestParameters: ApplicationCategoriesApiGetApplicableTagsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApplicableTagsDTO>;
|
|
123
123
|
|
|
124
124
|
/**
|
|
125
125
|
* Grouping applications with similar characteristics into categories makes policy management easier. You can then create a policy that applies to a specific category. Use this method to retrieve a list of application categories that can be applied to applications in this organization.
|
|
@@ -128,12 +128,12 @@ export interface ApplicationCategoriesApiInterface {
|
|
|
128
128
|
* @throws {RequiredError}
|
|
129
129
|
* @memberof ApplicationCategoriesApiInterface
|
|
130
130
|
*/
|
|
131
|
-
getApplicableTagsByApplicationPublicIdRaw(requestParameters:
|
|
131
|
+
getApplicableTagsByApplicationPublicIdRaw(requestParameters: ApplicationCategoriesApiGetApplicableTagsByApplicationPublicIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<ApiApplicationCategoryDTO>>>;
|
|
132
132
|
|
|
133
133
|
/**
|
|
134
134
|
* Grouping applications with similar characteristics into categories makes policy management easier. You can then create a policy that applies to a specific category. Use this method to retrieve a list of application categories that can be applied to applications in this organization.
|
|
135
135
|
*/
|
|
136
|
-
getApplicableTagsByApplicationPublicId(requestParameters:
|
|
136
|
+
getApplicableTagsByApplicationPublicId(requestParameters: ApplicationCategoriesApiGetApplicableTagsByApplicationPublicIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ApiApplicationCategoryDTO>>;
|
|
137
137
|
|
|
138
138
|
/**
|
|
139
139
|
* Grouping applications with similar characteristics into categories makes policy management easier. You can then create a policy that applies to a specific category. Use this method to retrieve a list of application categories available to applications in this organization.
|
|
@@ -142,12 +142,12 @@ export interface ApplicationCategoriesApiInterface {
|
|
|
142
142
|
* @throws {RequiredError}
|
|
143
143
|
* @memberof ApplicationCategoriesApiInterface
|
|
144
144
|
*/
|
|
145
|
-
getApplicationApplicableTagsRaw(requestParameters:
|
|
145
|
+
getApplicationApplicableTagsRaw(requestParameters: ApplicationCategoriesApiGetApplicationApplicableTagsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApplicableTagsDTO>>;
|
|
146
146
|
|
|
147
147
|
/**
|
|
148
148
|
* Grouping applications with similar characteristics into categories makes policy management easier. You can then create a policy that applies to a specific category. Use this method to retrieve a list of application categories available to applications in this organization.
|
|
149
149
|
*/
|
|
150
|
-
getApplicationApplicableTags(requestParameters:
|
|
150
|
+
getApplicationApplicableTags(requestParameters: ApplicationCategoriesApiGetApplicationApplicableTagsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApplicableTagsDTO>;
|
|
151
151
|
|
|
152
152
|
/**
|
|
153
153
|
* Grouping applications with similar characteristics into categories makes policy management easier. You can then create a policy that applies to a specific category. Use this method to retrieve a list of application categories that are applied to applications in this organization.
|
|
@@ -156,12 +156,12 @@ export interface ApplicationCategoriesApiInterface {
|
|
|
156
156
|
* @throws {RequiredError}
|
|
157
157
|
* @memberof ApplicationCategoriesApiInterface
|
|
158
158
|
*/
|
|
159
|
-
getAppliedPolicyTagsRaw(requestParameters:
|
|
159
|
+
getAppliedPolicyTagsRaw(requestParameters: ApplicationCategoriesApiGetAppliedPolicyTagsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<PolicyTag>>>;
|
|
160
160
|
|
|
161
161
|
/**
|
|
162
162
|
* Grouping applications with similar characteristics into categories makes policy management easier. You can then create a policy that applies to a specific category. Use this method to retrieve a list of application categories that are applied to applications in this organization.
|
|
163
163
|
*/
|
|
164
|
-
getAppliedPolicyTags(requestParameters:
|
|
164
|
+
getAppliedPolicyTags(requestParameters: ApplicationCategoriesApiGetAppliedPolicyTagsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<PolicyTag>>;
|
|
165
165
|
|
|
166
166
|
/**
|
|
167
167
|
* Grouping applications with similar characteristics into categories makes policy management easier. You can then create a policy that applies to a specific category. Use this method to retrieve a list of application categories that can be applied to applications in this organization.
|
|
@@ -170,12 +170,12 @@ export interface ApplicationCategoriesApiInterface {
|
|
|
170
170
|
* @throws {RequiredError}
|
|
171
171
|
* @memberof ApplicationCategoriesApiInterface
|
|
172
172
|
*/
|
|
173
|
-
getAppliedTagsRaw(requestParameters:
|
|
173
|
+
getAppliedTagsRaw(requestParameters: ApplicationCategoriesApiGetAppliedTagsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AppliedTagsDTO>>;
|
|
174
174
|
|
|
175
175
|
/**
|
|
176
176
|
* Grouping applications with similar characteristics into categories makes policy management easier. You can then create a policy that applies to a specific category. Use this method to retrieve a list of application categories that can be applied to applications in this organization.
|
|
177
177
|
*/
|
|
178
|
-
getAppliedTags(requestParameters:
|
|
178
|
+
getAppliedTags(requestParameters: ApplicationCategoriesApiGetAppliedTagsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AppliedTagsDTO>;
|
|
179
179
|
|
|
180
180
|
/**
|
|
181
181
|
* Grouping applications with similar characteristics into categories makes policy management easier. You can then create a policy that applies to a specific category. Use this method to retrieve a list of application categories in use by applications in this organization.
|
|
@@ -184,12 +184,12 @@ export interface ApplicationCategoriesApiInterface {
|
|
|
184
184
|
* @throws {RequiredError}
|
|
185
185
|
* @memberof ApplicationCategoriesApiInterface
|
|
186
186
|
*/
|
|
187
|
-
getTagsRaw(requestParameters:
|
|
187
|
+
getTagsRaw(requestParameters: ApplicationCategoriesApiGetTagsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<ApiApplicationCategoryDTO>>>;
|
|
188
188
|
|
|
189
189
|
/**
|
|
190
190
|
* Grouping applications with similar characteristics into categories makes policy management easier. You can then create a policy that applies to a specific category. Use this method to retrieve a list of application categories in use by applications in this organization.
|
|
191
191
|
*/
|
|
192
|
-
getTags(requestParameters:
|
|
192
|
+
getTags(requestParameters: ApplicationCategoriesApiGetTagsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ApiApplicationCategoryDTO>>;
|
|
193
193
|
|
|
194
194
|
/**
|
|
195
195
|
* Grouping applications with similar characteristics into categories makes policy management easier. You can then create a policy that applies to a specific category. Use this method to retrieve a list of application categories.
|
|
@@ -212,12 +212,12 @@ export interface ApplicationCategoriesApiInterface {
|
|
|
212
212
|
* @throws {RequiredError}
|
|
213
213
|
* @memberof ApplicationCategoriesApiInterface
|
|
214
214
|
*/
|
|
215
|
-
updateTagRaw(requestParameters:
|
|
215
|
+
updateTagRaw(requestParameters: ApplicationCategoriesApiUpdateTagRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiApplicationCategoryDTO>>;
|
|
216
216
|
|
|
217
217
|
/**
|
|
218
218
|
* Grouping applications with similar characteristics into categories makes policy management easier. You can then create a policy that applies to a specific category. Use this method to update an existing application category.
|
|
219
219
|
*/
|
|
220
|
-
updateTag(requestParameters:
|
|
220
|
+
updateTag(requestParameters: ApplicationCategoriesApiUpdateTagRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiApplicationCategoryDTO>;
|
|
221
221
|
|
|
222
222
|
}
|
|
223
223
|
|
|
@@ -229,7 +229,7 @@ export class ApplicationCategoriesApi extends runtime.BaseAPI implements Applica
|
|
|
229
229
|
/**
|
|
230
230
|
* Grouping applications with similar characteristics into categories makes policy management easier. You can then create a policy that applies to a specific category. Use this method to add a new application category or tag.
|
|
231
231
|
*/
|
|
232
|
-
async addTagRaw(requestParameters:
|
|
232
|
+
async addTagRaw(requestParameters: ApplicationCategoriesApiAddTagRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiApplicationCategoryDTO>> {
|
|
233
233
|
if (requestParameters['organizationId'] == null) {
|
|
234
234
|
throw new runtime.RequiredError(
|
|
235
235
|
'organizationId',
|
|
@@ -267,7 +267,7 @@ export class ApplicationCategoriesApi extends runtime.BaseAPI implements Applica
|
|
|
267
267
|
/**
|
|
268
268
|
* Grouping applications with similar characteristics into categories makes policy management easier. You can then create a policy that applies to a specific category. Use this method to add a new application category or tag.
|
|
269
269
|
*/
|
|
270
|
-
async addTag(requestParameters:
|
|
270
|
+
async addTag(requestParameters: ApplicationCategoriesApiAddTagRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiApplicationCategoryDTO> {
|
|
271
271
|
const response = await this.addTagRaw(requestParameters, initOverrides);
|
|
272
272
|
return await response.value();
|
|
273
273
|
}
|
|
@@ -275,7 +275,7 @@ export class ApplicationCategoriesApi extends runtime.BaseAPI implements Applica
|
|
|
275
275
|
/**
|
|
276
276
|
* Grouping applications with similar characteristics into categories makes policy management easier. You can then create a policy that applies to a specific category. Use this method to update an existing application category.Use this method to delete an existing application category.
|
|
277
277
|
*/
|
|
278
|
-
async deleteTagRaw(requestParameters:
|
|
278
|
+
async deleteTagRaw(requestParameters: ApplicationCategoriesApiDeleteTagRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
279
279
|
if (requestParameters['organizationId'] == null) {
|
|
280
280
|
throw new runtime.RequiredError(
|
|
281
281
|
'organizationId',
|
|
@@ -310,14 +310,14 @@ export class ApplicationCategoriesApi extends runtime.BaseAPI implements Applica
|
|
|
310
310
|
/**
|
|
311
311
|
* Grouping applications with similar characteristics into categories makes policy management easier. You can then create a policy that applies to a specific category. Use this method to update an existing application category.Use this method to delete an existing application category.
|
|
312
312
|
*/
|
|
313
|
-
async deleteTag(requestParameters:
|
|
313
|
+
async deleteTag(requestParameters: ApplicationCategoriesApiDeleteTagRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
314
314
|
await this.deleteTagRaw(requestParameters, initOverrides);
|
|
315
315
|
}
|
|
316
316
|
|
|
317
317
|
/**
|
|
318
318
|
* Grouping applications with similar characteristics into categories makes policy management easier. You can then create a policy that applies to a specific category. Use this method to retrieve a list of application categories that can be applied to applications in this organization.
|
|
319
319
|
*/
|
|
320
|
-
async getApplicableTagsRaw(requestParameters:
|
|
320
|
+
async getApplicableTagsRaw(requestParameters: ApplicationCategoriesApiGetApplicableTagsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApplicableTagsDTO>> {
|
|
321
321
|
if (requestParameters['organizationId'] == null) {
|
|
322
322
|
throw new runtime.RequiredError(
|
|
323
323
|
'organizationId',
|
|
@@ -345,7 +345,7 @@ export class ApplicationCategoriesApi extends runtime.BaseAPI implements Applica
|
|
|
345
345
|
/**
|
|
346
346
|
* Grouping applications with similar characteristics into categories makes policy management easier. You can then create a policy that applies to a specific category. Use this method to retrieve a list of application categories that can be applied to applications in this organization.
|
|
347
347
|
*/
|
|
348
|
-
async getApplicableTags(requestParameters:
|
|
348
|
+
async getApplicableTags(requestParameters: ApplicationCategoriesApiGetApplicableTagsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApplicableTagsDTO> {
|
|
349
349
|
const response = await this.getApplicableTagsRaw(requestParameters, initOverrides);
|
|
350
350
|
return await response.value();
|
|
351
351
|
}
|
|
@@ -353,7 +353,7 @@ export class ApplicationCategoriesApi extends runtime.BaseAPI implements Applica
|
|
|
353
353
|
/**
|
|
354
354
|
* Grouping applications with similar characteristics into categories makes policy management easier. You can then create a policy that applies to a specific category. Use this method to retrieve a list of application categories that can be applied to applications in this organization.
|
|
355
355
|
*/
|
|
356
|
-
async getApplicableTagsByApplicationPublicIdRaw(requestParameters:
|
|
356
|
+
async getApplicableTagsByApplicationPublicIdRaw(requestParameters: ApplicationCategoriesApiGetApplicableTagsByApplicationPublicIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<ApiApplicationCategoryDTO>>> {
|
|
357
357
|
if (requestParameters['applicationPublicId'] == null) {
|
|
358
358
|
throw new runtime.RequiredError(
|
|
359
359
|
'applicationPublicId',
|
|
@@ -381,7 +381,7 @@ export class ApplicationCategoriesApi extends runtime.BaseAPI implements Applica
|
|
|
381
381
|
/**
|
|
382
382
|
* Grouping applications with similar characteristics into categories makes policy management easier. You can then create a policy that applies to a specific category. Use this method to retrieve a list of application categories that can be applied to applications in this organization.
|
|
383
383
|
*/
|
|
384
|
-
async getApplicableTagsByApplicationPublicId(requestParameters:
|
|
384
|
+
async getApplicableTagsByApplicationPublicId(requestParameters: ApplicationCategoriesApiGetApplicableTagsByApplicationPublicIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ApiApplicationCategoryDTO>> {
|
|
385
385
|
const response = await this.getApplicableTagsByApplicationPublicIdRaw(requestParameters, initOverrides);
|
|
386
386
|
return await response.value();
|
|
387
387
|
}
|
|
@@ -389,7 +389,7 @@ export class ApplicationCategoriesApi extends runtime.BaseAPI implements Applica
|
|
|
389
389
|
/**
|
|
390
390
|
* Grouping applications with similar characteristics into categories makes policy management easier. You can then create a policy that applies to a specific category. Use this method to retrieve a list of application categories available to applications in this organization.
|
|
391
391
|
*/
|
|
392
|
-
async getApplicationApplicableTagsRaw(requestParameters:
|
|
392
|
+
async getApplicationApplicableTagsRaw(requestParameters: ApplicationCategoriesApiGetApplicationApplicableTagsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApplicableTagsDTO>> {
|
|
393
393
|
if (requestParameters['applicationPublicId'] == null) {
|
|
394
394
|
throw new runtime.RequiredError(
|
|
395
395
|
'applicationPublicId',
|
|
@@ -417,7 +417,7 @@ export class ApplicationCategoriesApi extends runtime.BaseAPI implements Applica
|
|
|
417
417
|
/**
|
|
418
418
|
* Grouping applications with similar characteristics into categories makes policy management easier. You can then create a policy that applies to a specific category. Use this method to retrieve a list of application categories available to applications in this organization.
|
|
419
419
|
*/
|
|
420
|
-
async getApplicationApplicableTags(requestParameters:
|
|
420
|
+
async getApplicationApplicableTags(requestParameters: ApplicationCategoriesApiGetApplicationApplicableTagsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApplicableTagsDTO> {
|
|
421
421
|
const response = await this.getApplicationApplicableTagsRaw(requestParameters, initOverrides);
|
|
422
422
|
return await response.value();
|
|
423
423
|
}
|
|
@@ -425,7 +425,7 @@ export class ApplicationCategoriesApi extends runtime.BaseAPI implements Applica
|
|
|
425
425
|
/**
|
|
426
426
|
* Grouping applications with similar characteristics into categories makes policy management easier. You can then create a policy that applies to a specific category. Use this method to retrieve a list of application categories that are applied to applications in this organization.
|
|
427
427
|
*/
|
|
428
|
-
async getAppliedPolicyTagsRaw(requestParameters:
|
|
428
|
+
async getAppliedPolicyTagsRaw(requestParameters: ApplicationCategoriesApiGetAppliedPolicyTagsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<PolicyTag>>> {
|
|
429
429
|
if (requestParameters['organizationId'] == null) {
|
|
430
430
|
throw new runtime.RequiredError(
|
|
431
431
|
'organizationId',
|
|
@@ -453,7 +453,7 @@ export class ApplicationCategoriesApi extends runtime.BaseAPI implements Applica
|
|
|
453
453
|
/**
|
|
454
454
|
* Grouping applications with similar characteristics into categories makes policy management easier. You can then create a policy that applies to a specific category. Use this method to retrieve a list of application categories that are applied to applications in this organization.
|
|
455
455
|
*/
|
|
456
|
-
async getAppliedPolicyTags(requestParameters:
|
|
456
|
+
async getAppliedPolicyTags(requestParameters: ApplicationCategoriesApiGetAppliedPolicyTagsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<PolicyTag>> {
|
|
457
457
|
const response = await this.getAppliedPolicyTagsRaw(requestParameters, initOverrides);
|
|
458
458
|
return await response.value();
|
|
459
459
|
}
|
|
@@ -461,7 +461,7 @@ export class ApplicationCategoriesApi extends runtime.BaseAPI implements Applica
|
|
|
461
461
|
/**
|
|
462
462
|
* Grouping applications with similar characteristics into categories makes policy management easier. You can then create a policy that applies to a specific category. Use this method to retrieve a list of application categories that can be applied to applications in this organization.
|
|
463
463
|
*/
|
|
464
|
-
async getAppliedTagsRaw(requestParameters:
|
|
464
|
+
async getAppliedTagsRaw(requestParameters: ApplicationCategoriesApiGetAppliedTagsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AppliedTagsDTO>> {
|
|
465
465
|
if (requestParameters['organizationId'] == null) {
|
|
466
466
|
throw new runtime.RequiredError(
|
|
467
467
|
'organizationId',
|
|
@@ -489,7 +489,7 @@ export class ApplicationCategoriesApi extends runtime.BaseAPI implements Applica
|
|
|
489
489
|
/**
|
|
490
490
|
* Grouping applications with similar characteristics into categories makes policy management easier. You can then create a policy that applies to a specific category. Use this method to retrieve a list of application categories that can be applied to applications in this organization.
|
|
491
491
|
*/
|
|
492
|
-
async getAppliedTags(requestParameters:
|
|
492
|
+
async getAppliedTags(requestParameters: ApplicationCategoriesApiGetAppliedTagsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AppliedTagsDTO> {
|
|
493
493
|
const response = await this.getAppliedTagsRaw(requestParameters, initOverrides);
|
|
494
494
|
return await response.value();
|
|
495
495
|
}
|
|
@@ -497,7 +497,7 @@ export class ApplicationCategoriesApi extends runtime.BaseAPI implements Applica
|
|
|
497
497
|
/**
|
|
498
498
|
* Grouping applications with similar characteristics into categories makes policy management easier. You can then create a policy that applies to a specific category. Use this method to retrieve a list of application categories in use by applications in this organization.
|
|
499
499
|
*/
|
|
500
|
-
async getTagsRaw(requestParameters:
|
|
500
|
+
async getTagsRaw(requestParameters: ApplicationCategoriesApiGetTagsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<ApiApplicationCategoryDTO>>> {
|
|
501
501
|
if (requestParameters['organizationId'] == null) {
|
|
502
502
|
throw new runtime.RequiredError(
|
|
503
503
|
'organizationId',
|
|
@@ -525,7 +525,7 @@ export class ApplicationCategoriesApi extends runtime.BaseAPI implements Applica
|
|
|
525
525
|
/**
|
|
526
526
|
* Grouping applications with similar characteristics into categories makes policy management easier. You can then create a policy that applies to a specific category. Use this method to retrieve a list of application categories in use by applications in this organization.
|
|
527
527
|
*/
|
|
528
|
-
async getTags(requestParameters:
|
|
528
|
+
async getTags(requestParameters: ApplicationCategoriesApiGetTagsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ApiApplicationCategoryDTO>> {
|
|
529
529
|
const response = await this.getTagsRaw(requestParameters, initOverrides);
|
|
530
530
|
return await response.value();
|
|
531
531
|
}
|
|
@@ -562,7 +562,7 @@ export class ApplicationCategoriesApi extends runtime.BaseAPI implements Applica
|
|
|
562
562
|
/**
|
|
563
563
|
* Grouping applications with similar characteristics into categories makes policy management easier. You can then create a policy that applies to a specific category. Use this method to update an existing application category.
|
|
564
564
|
*/
|
|
565
|
-
async updateTagRaw(requestParameters:
|
|
565
|
+
async updateTagRaw(requestParameters: ApplicationCategoriesApiUpdateTagRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiApplicationCategoryDTO>> {
|
|
566
566
|
if (requestParameters['organizationId'] == null) {
|
|
567
567
|
throw new runtime.RequiredError(
|
|
568
568
|
'organizationId',
|
|
@@ -600,7 +600,7 @@ export class ApplicationCategoriesApi extends runtime.BaseAPI implements Applica
|
|
|
600
600
|
/**
|
|
601
601
|
* Grouping applications with similar characteristics into categories makes policy management easier. You can then create a policy that applies to a specific category. Use this method to update an existing application category.
|
|
602
602
|
*/
|
|
603
|
-
async updateTag(requestParameters:
|
|
603
|
+
async updateTag(requestParameters: ApplicationCategoriesApiUpdateTagRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiApplicationCategoryDTO> {
|
|
604
604
|
const response = await this.updateTagRaw(requestParameters, initOverrides);
|
|
605
605
|
return await response.value();
|
|
606
606
|
}
|
|
@@ -31,17 +31,17 @@ import {
|
|
|
31
31
|
ApiReportRawDataDTOV2ToJSON,
|
|
32
32
|
} from '../models/index';
|
|
33
33
|
|
|
34
|
-
export interface
|
|
34
|
+
export interface ApplicationReportDataApiGetDataRequest {
|
|
35
35
|
applicationPublicId: string;
|
|
36
36
|
scanId: string;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
export interface
|
|
39
|
+
export interface ApplicationReportDataApiGetDependencyTreeRequest {
|
|
40
40
|
applicationPublicId: string;
|
|
41
41
|
scanId: string;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
export interface
|
|
44
|
+
export interface ApplicationReportDataApiGetPolicyViolationDiffRequest {
|
|
45
45
|
applicationPublicId: string;
|
|
46
46
|
fromCommit: string;
|
|
47
47
|
toCommit: string;
|
|
@@ -50,13 +50,13 @@ export interface GetPolicyViolationDiffRequest {
|
|
|
50
50
|
includeViolationTimes?: boolean;
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
export interface
|
|
53
|
+
export interface ApplicationReportDataApiGetPolicyViolations1Request {
|
|
54
54
|
applicationPublicId: string;
|
|
55
55
|
scanId: string;
|
|
56
56
|
includeViolationTimes?: boolean;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
export interface
|
|
59
|
+
export interface ApplicationReportDataApiGetRawDataRequest {
|
|
60
60
|
applicationPublicId: string;
|
|
61
61
|
scanId: string;
|
|
62
62
|
}
|
|
@@ -76,12 +76,12 @@ export interface ApplicationReportDataApiInterface {
|
|
|
76
76
|
* @throws {RequiredError}
|
|
77
77
|
* @memberof ApplicationReportDataApiInterface
|
|
78
78
|
*/
|
|
79
|
-
getDataRaw(requestParameters:
|
|
79
|
+
getDataRaw(requestParameters: ApplicationReportDataApiGetDataRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
80
80
|
|
|
81
81
|
/**
|
|
82
82
|
* This is an older version of the endpoint. This call will now be redirected to /api/v2/applications/{applicationPublicId}/reports/{scanId}/raw (see below)
|
|
83
83
|
*/
|
|
84
|
-
getData(requestParameters:
|
|
84
|
+
getData(requestParameters: ApplicationReportDataApiGetDataRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
85
85
|
|
|
86
86
|
/**
|
|
87
87
|
* Use this method to retrieve the dependencies related to the component identified at the time of application evaluation. This is currently available only for Java (Maven) and NPM applications. Permissions required: View IQ Elements
|
|
@@ -91,12 +91,12 @@ export interface ApplicationReportDataApiInterface {
|
|
|
91
91
|
* @throws {RequiredError}
|
|
92
92
|
* @memberof ApplicationReportDataApiInterface
|
|
93
93
|
*/
|
|
94
|
-
getDependencyTreeRaw(requestParameters:
|
|
94
|
+
getDependencyTreeRaw(requestParameters: ApplicationReportDataApiGetDependencyTreeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiDependencyTreeResponseDTO>>;
|
|
95
95
|
|
|
96
96
|
/**
|
|
97
97
|
* Use this method to retrieve the dependencies related to the component identified at the time of application evaluation. This is currently available only for Java (Maven) and NPM applications. Permissions required: View IQ Elements
|
|
98
98
|
*/
|
|
99
|
-
getDependencyTree(requestParameters:
|
|
99
|
+
getDependencyTree(requestParameters: ApplicationReportDataApiGetDependencyTreeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiDependencyTreeResponseDTO>;
|
|
100
100
|
|
|
101
101
|
/**
|
|
102
102
|
* By configuring Lifecycle with SCM, policy evaluations can be linked to the Git commit hash. Use this method to compare the violations between policy evaluations for 2 commits, by providing the linked commit hashes. Permissions required: View IQ Elements
|
|
@@ -110,12 +110,12 @@ export interface ApplicationReportDataApiInterface {
|
|
|
110
110
|
* @throws {RequiredError}
|
|
111
111
|
* @memberof ApplicationReportDataApiInterface
|
|
112
112
|
*/
|
|
113
|
-
getPolicyViolationDiffRaw(requestParameters:
|
|
113
|
+
getPolicyViolationDiffRaw(requestParameters: ApplicationReportDataApiGetPolicyViolationDiffRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiPolicyViolationDiffDTO>>;
|
|
114
114
|
|
|
115
115
|
/**
|
|
116
116
|
* By configuring Lifecycle with SCM, policy evaluations can be linked to the Git commit hash. Use this method to compare the violations between policy evaluations for 2 commits, by providing the linked commit hashes. Permissions required: View IQ Elements
|
|
117
117
|
*/
|
|
118
|
-
getPolicyViolationDiff(requestParameters:
|
|
118
|
+
getPolicyViolationDiff(requestParameters: ApplicationReportDataApiGetPolicyViolationDiffRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiPolicyViolationDiffDTO>;
|
|
119
119
|
|
|
120
120
|
/**
|
|
121
121
|
* Use this method to retrieve the policy violation data generated as a result of an application evaluation, for each component identified in the application evaluation./n/nPermissions required: View IQ Elements
|
|
@@ -126,12 +126,12 @@ export interface ApplicationReportDataApiInterface {
|
|
|
126
126
|
* @throws {RequiredError}
|
|
127
127
|
* @memberof ApplicationReportDataApiInterface
|
|
128
128
|
*/
|
|
129
|
-
getPolicyViolations1Raw(requestParameters:
|
|
129
|
+
getPolicyViolations1Raw(requestParameters: ApplicationReportDataApiGetPolicyViolations1Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiReportPolicyDataDTOV2>>;
|
|
130
130
|
|
|
131
131
|
/**
|
|
132
132
|
* Use this method to retrieve the policy violation data generated as a result of an application evaluation, for each component identified in the application evaluation./n/nPermissions required: View IQ Elements
|
|
133
133
|
*/
|
|
134
|
-
getPolicyViolations1(requestParameters:
|
|
134
|
+
getPolicyViolations1(requestParameters: ApplicationReportDataApiGetPolicyViolations1Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiReportPolicyDataDTOV2>;
|
|
135
135
|
|
|
136
136
|
/**
|
|
137
137
|
* Use this method to retrieve the \'raw\' data generated as a result of an application evaluation. \'raw\' data includes: the components identified in the application, and the licenses and vulnerabilities associated with the identified components./n/nPermissions required: View IQ Elements
|
|
@@ -141,12 +141,12 @@ export interface ApplicationReportDataApiInterface {
|
|
|
141
141
|
* @throws {RequiredError}
|
|
142
142
|
* @memberof ApplicationReportDataApiInterface
|
|
143
143
|
*/
|
|
144
|
-
getRawDataRaw(requestParameters:
|
|
144
|
+
getRawDataRaw(requestParameters: ApplicationReportDataApiGetRawDataRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiReportRawDataDTOV2>>;
|
|
145
145
|
|
|
146
146
|
/**
|
|
147
147
|
* Use this method to retrieve the \'raw\' data generated as a result of an application evaluation. \'raw\' data includes: the components identified in the application, and the licenses and vulnerabilities associated with the identified components./n/nPermissions required: View IQ Elements
|
|
148
148
|
*/
|
|
149
|
-
getRawData(requestParameters:
|
|
149
|
+
getRawData(requestParameters: ApplicationReportDataApiGetRawDataRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiReportRawDataDTOV2>;
|
|
150
150
|
|
|
151
151
|
}
|
|
152
152
|
|
|
@@ -158,7 +158,7 @@ export class ApplicationReportDataApi extends runtime.BaseAPI implements Applica
|
|
|
158
158
|
/**
|
|
159
159
|
* This is an older version of the endpoint. This call will now be redirected to /api/v2/applications/{applicationPublicId}/reports/{scanId}/raw (see below)
|
|
160
160
|
*/
|
|
161
|
-
async getDataRaw(requestParameters:
|
|
161
|
+
async getDataRaw(requestParameters: ApplicationReportDataApiGetDataRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
162
162
|
if (requestParameters['applicationPublicId'] == null) {
|
|
163
163
|
throw new runtime.RequiredError(
|
|
164
164
|
'applicationPublicId',
|
|
@@ -193,14 +193,14 @@ export class ApplicationReportDataApi extends runtime.BaseAPI implements Applica
|
|
|
193
193
|
/**
|
|
194
194
|
* This is an older version of the endpoint. This call will now be redirected to /api/v2/applications/{applicationPublicId}/reports/{scanId}/raw (see below)
|
|
195
195
|
*/
|
|
196
|
-
async getData(requestParameters:
|
|
196
|
+
async getData(requestParameters: ApplicationReportDataApiGetDataRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
197
197
|
await this.getDataRaw(requestParameters, initOverrides);
|
|
198
198
|
}
|
|
199
199
|
|
|
200
200
|
/**
|
|
201
201
|
* Use this method to retrieve the dependencies related to the component identified at the time of application evaluation. This is currently available only for Java (Maven) and NPM applications. Permissions required: View IQ Elements
|
|
202
202
|
*/
|
|
203
|
-
async getDependencyTreeRaw(requestParameters:
|
|
203
|
+
async getDependencyTreeRaw(requestParameters: ApplicationReportDataApiGetDependencyTreeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiDependencyTreeResponseDTO>> {
|
|
204
204
|
if (requestParameters['applicationPublicId'] == null) {
|
|
205
205
|
throw new runtime.RequiredError(
|
|
206
206
|
'applicationPublicId',
|
|
@@ -235,7 +235,7 @@ export class ApplicationReportDataApi extends runtime.BaseAPI implements Applica
|
|
|
235
235
|
/**
|
|
236
236
|
* Use this method to retrieve the dependencies related to the component identified at the time of application evaluation. This is currently available only for Java (Maven) and NPM applications. Permissions required: View IQ Elements
|
|
237
237
|
*/
|
|
238
|
-
async getDependencyTree(requestParameters:
|
|
238
|
+
async getDependencyTree(requestParameters: ApplicationReportDataApiGetDependencyTreeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiDependencyTreeResponseDTO> {
|
|
239
239
|
const response = await this.getDependencyTreeRaw(requestParameters, initOverrides);
|
|
240
240
|
return await response.value();
|
|
241
241
|
}
|
|
@@ -243,7 +243,7 @@ export class ApplicationReportDataApi extends runtime.BaseAPI implements Applica
|
|
|
243
243
|
/**
|
|
244
244
|
* By configuring Lifecycle with SCM, policy evaluations can be linked to the Git commit hash. Use this method to compare the violations between policy evaluations for 2 commits, by providing the linked commit hashes. Permissions required: View IQ Elements
|
|
245
245
|
*/
|
|
246
|
-
async getPolicyViolationDiffRaw(requestParameters:
|
|
246
|
+
async getPolicyViolationDiffRaw(requestParameters: ApplicationReportDataApiGetPolicyViolationDiffRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiPolicyViolationDiffDTO>> {
|
|
247
247
|
if (requestParameters['applicationPublicId'] == null) {
|
|
248
248
|
throw new runtime.RequiredError(
|
|
249
249
|
'applicationPublicId',
|
|
@@ -305,7 +305,7 @@ export class ApplicationReportDataApi extends runtime.BaseAPI implements Applica
|
|
|
305
305
|
/**
|
|
306
306
|
* By configuring Lifecycle with SCM, policy evaluations can be linked to the Git commit hash. Use this method to compare the violations between policy evaluations for 2 commits, by providing the linked commit hashes. Permissions required: View IQ Elements
|
|
307
307
|
*/
|
|
308
|
-
async getPolicyViolationDiff(requestParameters:
|
|
308
|
+
async getPolicyViolationDiff(requestParameters: ApplicationReportDataApiGetPolicyViolationDiffRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiPolicyViolationDiffDTO> {
|
|
309
309
|
const response = await this.getPolicyViolationDiffRaw(requestParameters, initOverrides);
|
|
310
310
|
return await response.value();
|
|
311
311
|
}
|
|
@@ -313,7 +313,7 @@ export class ApplicationReportDataApi extends runtime.BaseAPI implements Applica
|
|
|
313
313
|
/**
|
|
314
314
|
* Use this method to retrieve the policy violation data generated as a result of an application evaluation, for each component identified in the application evaluation./n/nPermissions required: View IQ Elements
|
|
315
315
|
*/
|
|
316
|
-
async getPolicyViolations1Raw(requestParameters:
|
|
316
|
+
async getPolicyViolations1Raw(requestParameters: ApplicationReportDataApiGetPolicyViolations1Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiReportPolicyDataDTOV2>> {
|
|
317
317
|
if (requestParameters['applicationPublicId'] == null) {
|
|
318
318
|
throw new runtime.RequiredError(
|
|
319
319
|
'applicationPublicId',
|
|
@@ -352,7 +352,7 @@ export class ApplicationReportDataApi extends runtime.BaseAPI implements Applica
|
|
|
352
352
|
/**
|
|
353
353
|
* Use this method to retrieve the policy violation data generated as a result of an application evaluation, for each component identified in the application evaluation./n/nPermissions required: View IQ Elements
|
|
354
354
|
*/
|
|
355
|
-
async getPolicyViolations1(requestParameters:
|
|
355
|
+
async getPolicyViolations1(requestParameters: ApplicationReportDataApiGetPolicyViolations1Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiReportPolicyDataDTOV2> {
|
|
356
356
|
const response = await this.getPolicyViolations1Raw(requestParameters, initOverrides);
|
|
357
357
|
return await response.value();
|
|
358
358
|
}
|
|
@@ -360,7 +360,7 @@ export class ApplicationReportDataApi extends runtime.BaseAPI implements Applica
|
|
|
360
360
|
/**
|
|
361
361
|
* Use this method to retrieve the \'raw\' data generated as a result of an application evaluation. \'raw\' data includes: the components identified in the application, and the licenses and vulnerabilities associated with the identified components./n/nPermissions required: View IQ Elements
|
|
362
362
|
*/
|
|
363
|
-
async getRawDataRaw(requestParameters:
|
|
363
|
+
async getRawDataRaw(requestParameters: ApplicationReportDataApiGetRawDataRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiReportRawDataDTOV2>> {
|
|
364
364
|
if (requestParameters['applicationPublicId'] == null) {
|
|
365
365
|
throw new runtime.RequiredError(
|
|
366
366
|
'applicationPublicId',
|
|
@@ -395,7 +395,7 @@ export class ApplicationReportDataApi extends runtime.BaseAPI implements Applica
|
|
|
395
395
|
/**
|
|
396
396
|
* Use this method to retrieve the \'raw\' data generated as a result of an application evaluation. \'raw\' data includes: the components identified in the application, and the licenses and vulnerabilities associated with the identified components./n/nPermissions required: View IQ Elements
|
|
397
397
|
*/
|
|
398
|
-
async getRawData(requestParameters:
|
|
398
|
+
async getRawData(requestParameters: ApplicationReportDataApiGetRawDataRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiReportRawDataDTOV2> {
|
|
399
399
|
const response = await this.getRawDataRaw(requestParameters, initOverrides);
|
|
400
400
|
return await response.value();
|
|
401
401
|
}
|