CheckmarxPythonSDK 1.8.6__py3-none-any.whl → 1.8.8__py3-none-any.whl

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.
Files changed (57) hide show
  1. CheckmarxPythonSDK/CxOne/__init__.py +225 -1
  2. CheckmarxPythonSDK/CxOne/accessControlAPI.py +563 -0
  3. CheckmarxPythonSDK/CxOne/aiAssetsAPI.py +618 -0
  4. CheckmarxPythonSDK/CxOne/analyticsAPI.py +41 -0
  5. CheckmarxPythonSDK/CxOne/apisecAPI.py +23 -0
  6. CheckmarxPythonSDK/CxOne/applicationsAPI.py +29 -0
  7. CheckmarxPythonSDK/CxOne/applicationsOverviewAPI.py +116 -0
  8. CheckmarxPythonSDK/CxOne/auditEventProcessorAPI.py +59 -0
  9. CheckmarxPythonSDK/CxOne/byorResultsHandlerV2API.py +346 -1
  10. CheckmarxPythonSDK/CxOne/cloudInsightsServiceAPI.py +23 -0
  11. CheckmarxPythonSDK/CxOne/contributorsAPI.py +23 -0
  12. CheckmarxPythonSDK/CxOne/cxLinkAPI.py +166 -0
  13. CheckmarxPythonSDK/CxOne/dataRetentionAPI.py +216 -0
  14. CheckmarxPythonSDK/CxOne/dto/CommentJSON.py +12 -0
  15. CheckmarxPythonSDK/CxOne/dto/PredicateHistory.py +23 -3
  16. CheckmarxPythonSDK/CxOne/dto/PredicateHistoryResponse.py +25 -0
  17. CheckmarxPythonSDK/CxOne/dto/PredicateInitialValues.py +14 -0
  18. CheckmarxPythonSDK/CxOne/dto/PredicateWithCommentJSON.py +18 -0
  19. CheckmarxPythonSDK/CxOne/dto/RoleRepresentation.py +1 -1
  20. CheckmarxPythonSDK/CxOne/dto/ScheduleInput.py +15 -0
  21. CheckmarxPythonSDK/CxOne/dto/__init__.py +3 -0
  22. CheckmarxPythonSDK/CxOne/fusionDispatcherAPI.py +54 -0
  23. CheckmarxPythonSDK/CxOne/fusionResultsAPI.py +182 -0
  24. CheckmarxPythonSDK/CxOne/globalInventoryReaderAPI.py +386 -0
  25. CheckmarxPythonSDK/CxOne/kicsMetadataAPI.py +57 -0
  26. CheckmarxPythonSDK/CxOne/kicsResultsPredicatesAPI.py +106 -0
  27. CheckmarxPythonSDK/CxOne/listsAPI.py +62 -0
  28. CheckmarxPythonSDK/CxOne/microEnginesAPI.py +486 -0
  29. CheckmarxPythonSDK/CxOne/organizationalDomainsAPI.py +93 -0
  30. CheckmarxPythonSDK/CxOne/presetManagerAPI.py +261 -0
  31. CheckmarxPythonSDK/CxOne/projectsAPI.py +245 -1
  32. CheckmarxPythonSDK/CxOne/reportAPI.py +25 -0
  33. CheckmarxPythonSDK/CxOne/repositoryInsightsAPI.py +78 -0
  34. CheckmarxPythonSDK/CxOne/resultsOverviewAPI.py +64 -0
  35. CheckmarxPythonSDK/CxOne/riskManagementAPI.py +181 -0
  36. CheckmarxPythonSDK/CxOne/sastQueriesAPI.py +12 -3
  37. CheckmarxPythonSDK/CxOne/sastQueriesAuditAPI.py +73 -0
  38. CheckmarxPythonSDK/CxOne/sastResultsAPI.py +108 -0
  39. CheckmarxPythonSDK/CxOne/sastResultsCompareAPI.py +43 -0
  40. CheckmarxPythonSDK/CxOne/sastResultsPredicatesAPI.py +176 -9
  41. CheckmarxPythonSDK/CxOne/sastScanMetadataServiceAPI.py +160 -0
  42. CheckmarxPythonSDK/CxOne/scansAPI.py +262 -1
  43. CheckmarxPythonSDK/CxOne/staticCorrelatorAPI.py +69 -0
  44. CheckmarxPythonSDK/CxOne/uploadsAPI.py +116 -1
  45. CheckmarxPythonSDK/CxOne/webhookAPI.py +44 -0
  46. CheckmarxPythonSDK/CxPortalSoapApiSDK/CxAuditWebService.py +511 -0
  47. CheckmarxPythonSDK/CxPortalSoapApiSDK/CxPortalWebService.py +1074 -5
  48. CheckmarxPythonSDK/CxPortalSoapApiSDK/__init__.py +75 -7
  49. CheckmarxPythonSDK/CxRestAPISDK/ProjectsAPI.py +21 -2
  50. CheckmarxPythonSDK/CxRestAPISDK/ScansAPI.py +41 -0
  51. CheckmarxPythonSDK/__version__.py +1 -1
  52. CheckmarxPythonSDK/api_client.py +6 -0
  53. {checkmarxpythonsdk-1.8.6.dist-info → checkmarxpythonsdk-1.8.8.dist-info}/METADATA +1 -1
  54. {checkmarxpythonsdk-1.8.6.dist-info → checkmarxpythonsdk-1.8.8.dist-info}/RECORD +57 -34
  55. {checkmarxpythonsdk-1.8.6.dist-info → checkmarxpythonsdk-1.8.8.dist-info}/WHEEL +0 -0
  56. {checkmarxpythonsdk-1.8.6.dist-info → checkmarxpythonsdk-1.8.8.dist-info}/licenses/LICENSE +0 -0
  57. {checkmarxpythonsdk-1.8.6.dist-info → checkmarxpythonsdk-1.8.8.dist-info}/top_level.txt +0 -0
@@ -5,6 +5,45 @@ from .accessControlAPI import (
5
5
  get_users,
6
6
  get_users_by_groups,
7
7
  get_users_count,
8
+ get_logged_in_user_roles,
9
+ post_forget_all_devices,
10
+ get_forget_device,
11
+ get_reset_otp,
12
+ post_reset_otp,
13
+ get_pip_users,
14
+ get_group_managers,
15
+ get_group_manager_users,
16
+ assign_group_manager,
17
+ unassign_group_manager,
18
+ get_api_keys,
19
+ create_api_key,
20
+ get_api_keys_count,
21
+ delete_api_key,
22
+ get_owner,
23
+ set_owner,
24
+ get_token_exchange,
25
+ post_token_exchange_federation,
26
+ post_service_token,
27
+ post_bulk_entities_find,
28
+ )
29
+ from .analyticsAPI import (
30
+ AnalyticsAPI,
31
+ query_kpi,
32
+ )
33
+ from .aiAssetsAPI import (
34
+ AiAssetsAPI,
35
+ get_ai_findings,
36
+ get_ai_findings_aggregate,
37
+ get_ai_finding_by_id,
38
+ get_ai_asset_types,
39
+ get_ai_assets,
40
+ get_ai_applications,
41
+ get_global_inventory_results,
42
+ get_global_inventory_result_by_id,
43
+ aggregate_global_inventory_results,
44
+ get_scan_results,
45
+ aggregate_scan_results,
46
+ get_asset_risks,
8
47
  )
9
48
 
10
49
  from .accessManagementAPI import (
@@ -52,6 +91,8 @@ from .accessManagementAPI import (
52
91
  from .apisecAPI import (
53
92
  ApiSecAPI,
54
93
  get_scan_apisec_risk_overview,
94
+ get_api_parameters,
95
+ get_parameters,
55
96
  )
56
97
  from .logsAPI import (
57
98
  LogsAPI,
@@ -65,6 +106,7 @@ from .applicationsAPI import (
65
106
  get_all_application_tags,
66
107
  get_an_application_by_id,
67
108
  update_an_application,
109
+ partial_update_an_application,
68
110
  delete_an_application,
69
111
  create_an_application_rule,
70
112
  get_a_list_of_rules_for_a_specific_application,
@@ -72,6 +114,16 @@ from .applicationsAPI import (
72
114
  update_an_application_rule,
73
115
  delete_an_application_rule,
74
116
  )
117
+ from .auditEventProcessorAPI import (
118
+ AuditEventProcessorAPI,
119
+ get_audit_events,
120
+ )
121
+ from .applicationsOverviewAPI import (
122
+ ApplicationsOverviewAPI,
123
+ get_applications_overview,
124
+ get_applications_overview_aggregate,
125
+ get_applications_overview_count,
126
+ )
75
127
  from .auditTrailAPI import (
76
128
  AuditTrailAPI,
77
129
  get_audit_events_for_tenant,
@@ -87,6 +139,13 @@ from .byorResultsHandlerV2API import (
87
139
  create_byor_import,
88
140
  get_job_by_id,
89
141
  patch_job_by_id,
142
+ delete_import,
143
+ get_aggregate_results,
144
+ get_a_list_of_imports,
145
+ get_latest_imports,
146
+ get_imports_summaries,
147
+ get_import_results,
148
+ bulk_triage_import_results,
90
149
  )
91
150
  from .cloudInsightsServiceAPI import (
92
151
  CloudInsightsServiceAPI,
@@ -97,6 +156,7 @@ from .cloudInsightsServiceAPI import (
97
156
  get_cloud_insight_account,
98
157
  delete_cloud_insight_account,
99
158
  get_account_logs,
159
+ get_account_log_by_id,
100
160
  get_all_containers_for_an_account_id,
101
161
  get_resources_filtered_by_group,
102
162
  )
@@ -110,15 +170,35 @@ from .contributorsAPI import (
110
170
  get_allowed_and_current_contributors_for_the_current_tenant,
111
171
  get_contributors_details_for_current_tenant_exported_in_csv,
112
172
  get_contributor_insights_for_current_tenant,
173
+ get_contributor_insights_details,
113
174
  get_number_of_unfamiliar_projects,
114
175
  get_unfamiliar_projects_in_csv,
115
176
  )
177
+ from .cxLinkAPI import (
178
+ CxLinkAPI,
179
+ get_links,
180
+ get_link,
181
+ create_link,
182
+ update_link,
183
+ delete_link,
184
+ recreate_link,
185
+ )
116
186
  from .customStateAPI import (
117
187
  CustomStateAPI,
118
188
  get_all_custom_states,
119
189
  create_a_custom_state,
120
190
  delete_a_custom_state,
121
191
  )
192
+ from .dataRetentionAPI import (
193
+ DataRetentionAPI,
194
+ get_data_retention_processes,
195
+ get_locked_scans,
196
+ get_process_status,
197
+ lock_scans,
198
+ unlock_scans,
199
+ start_data_retention_process,
200
+ abort_process,
201
+ )
122
202
  from .dastScanAPI import (
123
203
  DastScanAPI,
124
204
  get_tenant_overview,
@@ -150,6 +230,32 @@ from .flagsAPI import (
150
230
  get_all_feature_flags,
151
231
  get_feature_flag,
152
232
  )
233
+ from .fusionDispatcherAPI import (
234
+ FusionDispatcherAPI,
235
+ correlate,
236
+ get_scan_status,
237
+ )
238
+ from .fusionResultsAPI import (
239
+ FusionResultsAPI,
240
+ get_applications,
241
+ get_application_summary,
242
+ get_application_resources,
243
+ get_application_microservices,
244
+ get_application_risk_scores,
245
+ )
246
+ from .globalInventoryReaderAPI import (
247
+ GlobalInventoryReaderAPI,
248
+ get_api_changes,
249
+ get_api_inventory,
250
+ get_data_origin,
251
+ get_api_inventory_group,
252
+ get_inventory_metadata,
253
+ get_global_parameters,
254
+ get_api_risks,
255
+ get_risk_groups,
256
+ get_risk_widget,
257
+ get_risk_details,
258
+ )
153
259
  from .healthCheckServiceAPI import (
154
260
  HealthCheckServiceAPI,
155
261
  get_health_of_the_database,
@@ -164,6 +270,45 @@ from .kicsResultsAPI import (
164
270
  KicsResultsAPI,
165
271
  get_kics_results_by_scan_id,
166
272
  )
273
+ from .kicsMetadataAPI import (
274
+ KicsMetadataAPI,
275
+ get_kics_scans_metadata,
276
+ get_kics_scan_metadata,
277
+ )
278
+ from .kicsResultsPredicatesAPI import (
279
+ KicsResultsPredicatesAPI,
280
+ get_predicates_by_similarity_id,
281
+ get_predicates_changes,
282
+ create_predicate,
283
+ )
284
+ from .listsAPI import (
285
+ ListsAPI,
286
+ get_severities,
287
+ get_states,
288
+ get_statuses,
289
+ )
290
+ from .microEnginesAPI import (
291
+ MicroEnginesAPI,
292
+ get_predicates_history,
293
+ get_projects,
294
+ get_project,
295
+ get_engine_results,
296
+ get_result_groups,
297
+ get_scan_overview,
298
+ read_predicates_history,
299
+ read_projects,
300
+ read_project,
301
+ read_engine_results,
302
+ read_result_groups,
303
+ read_scan_overview,
304
+ post_predicates,
305
+ )
306
+ from .organizationalDomainsAPI import (
307
+ OrganizationalDomainsAPI,
308
+ list_organizational_domains,
309
+ add_organizational_domains,
310
+ delete_organizational_domain,
311
+ )
167
312
  from .KeycloakAPI import (
168
313
  AttackDetectionApi,
169
314
  AuthenticationManagementApi,
@@ -203,6 +348,13 @@ from .projectsAPI import (
203
348
  update_a_project,
204
349
  update_specific_project_fields,
205
350
  delete_a_project,
351
+ get_a_list_of_schedules,
352
+ create_a_schedule,
353
+ get_a_schedule_by_project_id,
354
+ update_a_schedule,
355
+ delete_a_schedule,
356
+ get_project_tags_by_filters,
357
+ reassign_a_project,
206
358
  update_project_group,
207
359
  update_primary_branch,
208
360
  add_project_single_tag,
@@ -215,6 +367,17 @@ from .projectsOverviewAPI import (
215
367
  get_tenant_projects_overview,
216
368
  get_project_counters,
217
369
  )
370
+ from .presetManagerAPI import (
371
+ PresetManagerAPI,
372
+ get_scanner_presets,
373
+ get_scanner_preset_by_id,
374
+ create_scanner_preset,
375
+ update_scanner_preset,
376
+ delete_scanner_preset,
377
+ clone_scanner_preset,
378
+ get_scanner_query_families,
379
+ get_scanner_queries_by_family,
380
+ )
218
381
  from .queryEditorAPI import (
219
382
  QueryEditorAPI,
220
383
  create_new_audit_session,
@@ -259,11 +422,17 @@ from .reportAPI import (
259
422
  ReportAPI,
260
423
  create_scan_report_v2,
261
424
  create_scan_report,
425
+ get_report_status,
262
426
  get_scan_report,
263
427
  get_risk_scan_report,
264
428
  create_sca_scan_report,
265
429
  get_sca_scan_report,
266
430
  )
431
+ from .repositoryInsightsAPI import (
432
+ RepositoryInsightsAPI,
433
+ get_project_repositories,
434
+ get_insights_by_repository,
435
+ )
267
436
  from .repoStoreServiceAPI import (
268
437
  RepoStoreServiceAPI,
269
438
  check_if_scan_has_source_code_available,
@@ -273,6 +442,18 @@ from .repoStoreServiceAPI import (
273
442
  view_source_code_of_specified_file,
274
443
  get_the_list_of_branches_inside_a_git_repository,
275
444
  )
445
+ from .riskManagementAPI import (
446
+ RiskManagementAPI,
447
+ get_summary,
448
+ get_results,
449
+ get_score_card,
450
+ update_result_state,
451
+ update_assignees,
452
+ )
453
+ from .resultsOverviewAPI import (
454
+ ResultsOverviewAPI,
455
+ get_projects_overview,
456
+ )
276
457
  from .resultsSummaryAPI import (
277
458
  ResultsSummaryAPI,
278
459
  get_summary_for_many_scans,
@@ -301,11 +482,14 @@ from .sastQueriesAuditAPI import (
301
482
  SastQueriesAuditAPI,
302
483
  get_all_queries,
303
484
  create_new_query,
485
+ create_query,
304
486
  get_all_queries_search,
305
487
  get_queries_metadata,
306
488
  get_query_source,
489
+ get_query_source_by_level_path,
307
490
  delete_overridden_query,
308
491
  update_query_source,
492
+ update_query_source_by_level,
309
493
  create_new_session,
310
494
  get_all_active_sessions_related_to_web_audit,
311
495
  get_all_active_sessions_related_to_web_audit as get_all_active_sessions_related_to_webaudit,
@@ -343,9 +527,15 @@ from .sastResourceManagementServiceAPI import (
343
527
  delete_sast_scan,
344
528
  get_sast_scans,
345
529
  )
530
+ from .sastResultsCompareAPI import (
531
+ SastResultsCompareAPI,
532
+ get_compare_status,
533
+ )
346
534
  from .sastResultsAPI import (
347
535
  SastResultsAPI,
348
536
  get_sast_results_by_scan_id,
537
+ get_sast_results_compare_by_scans,
538
+ get_similar_results,
349
539
  )
350
540
  from .sastResultsPredicatesAPI import (
351
541
  SastResultsPredicatesAPI,
@@ -355,6 +545,10 @@ from .sastResultsPredicatesAPI import (
355
545
  update_predicate_comment_by_predicate_id,
356
546
  recalculate_summary_counters,
357
547
  delete_a_predicate_history,
548
+ get_predicates_by_attack_vector_id,
549
+ get_predicates_changelog,
550
+ create_predicates_by_attack_vector,
551
+ get_predicates_status,
358
552
  )
359
553
  from .sastResultsSummaryAPI import (
360
554
  SastResultsSummaryAPI,
@@ -367,6 +561,13 @@ from .sastScanMetadataServiceAPI import (
367
561
  get_metadata_of_scan,
368
562
  get_engine_metrics_of_scan,
369
563
  get_engine_versions_of_scan,
564
+ delete_persisted_dom,
565
+ get_default_file_exclusion_config,
566
+ get_tenant_file_exclusion_config,
567
+ get_project_file_exclusion_config,
568
+ check_persisted_dom_exists,
569
+ update_tenant_file_exclusion_config,
570
+ update_project_file_exclusion_config,
370
571
  )
371
572
  from .scanConfigurationAPI import (
372
573
  ScanConfigurationAPI,
@@ -388,6 +589,10 @@ from .scannersResultsAPI import (
388
589
  ScannersResultsAPI,
389
590
  get_all_scanners_results_by_scan_id,
390
591
  )
592
+ from .staticCorrelatorAPI import (
593
+ StaticCorrelatorAPI,
594
+ update_risk,
595
+ )
391
596
 
392
597
  from .scansAPI import (
393
598
  ScansAPI,
@@ -403,6 +608,12 @@ from .scansAPI import (
403
608
  cancel_scan,
404
609
  delete_scan,
405
610
  get_a_detailed_workflow_of_a_scan,
611
+ get_field_values,
612
+ get_a_list_of_scans_brief,
613
+ get_scan_tags,
614
+ update_scan_tags,
615
+ rescan,
616
+ set_scan_recalculation_flag,
406
617
  get_scans_by_filters,
407
618
  )
408
619
 
@@ -410,6 +621,19 @@ from .uploadsAPI import (
410
621
  UploadsAPI,
411
622
  create_a_pre_signed_url_to_upload_files,
412
623
  upload_zip_content_for_scanning,
624
+ start_multipart_upload,
625
+ get_multipart_presigned_url,
626
+ complete_multipart_upload,
627
+ abort_multipart_upload,
413
628
  )
414
629
  from .versionsAPI import VersionsAPI
415
- from .webhookAPI import WebHookAPI
630
+ from .webhookAPI import (
631
+ WebHookAPI,
632
+ create_a_webhook_for_a_tenant,
633
+ get_a_list_of_webhooks_related_to_tenant,
634
+ create_a_webhook_on_project,
635
+ get_a_list_of_webhooks_related_to_project,
636
+ get_webhook_by_id,
637
+ update_webhook_by_id,
638
+ delete_webhook_by_id,
639
+ )