CheckmarxPythonSDK 1.3.7__tar.gz → 1.3.8__tar.gz
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.
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxAccessControl/AccessControl.py +310 -338
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxODataApiSDK/ProjectsODataAPI.py +563 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxODataApiSDK/ResultsODataAPI.py +346 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxODataApiSDK/ScansODataAPI.py +316 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxODataApiSDK/Utilities.py +4 -7
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxODataApiSDK/__init__.py +1 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxODataApiSDK/config.py +43 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/AccessControlAPI/api.py +120 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/CodeRepositoryProjectImportAPI.py +93 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/KeycloakAPI/ClientRoleMappingsAPI.py +45 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/KeycloakAPI/ClientsAPI.py +364 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/KeycloakAPI/GroupsAPI.py +441 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/KeycloakAPI/RoleMapperAPI.py +26 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/KeycloakAPI/RolesAPI.py +247 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/KeycloakAPI/RootAPI.py +29 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/KeycloakAPI/UsersAPI.py +490 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/KeycloakAPI/__init__.py +22 -20
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/__init__.py +122 -45
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/accessManagementAPI.py +992 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/apisecAPI.py +20 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/applicationsAPI.py +313 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/auditTrailAPI.py +49 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/byorResultsHandlerAPI.py +77 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/byorResultsHandlerV2API.py +79 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/cloudInsightsServiceAPI.py +283 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/config.py +40 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/contributorsAPI.py +81 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/customStateAPI.py +67 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/dto/AddAssignmentRoles.py +24 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/dto/ApiSecCounters.py +33 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/dto/Application.py +41 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/dto/ApplicationsCollection.py +20 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/dto/Assignment.py +42 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/dto/AssignmentInput.py +32 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/dto/AssignmentsForResource.py +23 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/dto/AssignmentsWithBaseRoles.py +32 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/dto/AuditEvent.py +24 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/dto/AuditEventLink.py +16 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/dto/AuditEvents.py +21 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/dto/BaseRolesRequest.py +12 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/dto/BaseRolesResponse.py +17 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/dto/ByorJob.py +20 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/dto/ByorJobPatchRequest.py +17 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/dto/Client.py +64 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/dto/ClientWithResource.py +32 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/dto/ClientsWithResourcesResponse.py +20 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/dto/CloudInsightAccount.py +28 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/dto/CloudInsightAccountLog.py +28 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/dto/CloudInsightContainer.py +24 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/dto/CloudInsightCreateEnrichAccount.py +13 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/dto/CloudInsightEnrichAccount.py +14 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/dto/ContributorInsights.py +25 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/dto/ContributorScmInsights.py +14 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/dto/ContributorUnfamiliarProjects.py +12 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/dto/CreateRoleRequest.py +16 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/dto/CustomState.py +18 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/dto/EffectivePermissionsForResourceResponse.py +21 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/dto/EngineData.py +22 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/dto/EntitiesForExtendedResponse.py +21 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/dto/EntityRolesRequest.py +17 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/dto/EntityType.py +7 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/dto/Error.py +8 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/dto/FileInfo.py +18 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/dto/Flag.py +26 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/dto/Group.py +7 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/dto/GroupRepresentation.py +16 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/dto/GroupWithResource.py +41 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/dto/GroupsResponse.py +18 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/dto/GroupsWithResourcesResponse.py +20 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/dto/InternalClient.py +16 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/dto/InternalGroup.py +14 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/dto/InternalUser.py +18 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/dto/KicsResult.py +62 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/dto/KicsResultCollection.py +16 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/dto/MultipleAssignmentInput.py +32 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/dto/PaginatedAccountLogsListResponse.py +20 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/dto/PaginatedAccountsListResponse.py +22 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/dto/PaginatedContainersListResponse.py +20 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/dto/PaginatedResourcesList.py +20 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/dto/Permission.py +21 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/dto/Project.py +40 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/dto/ProjectResponseCollection.py +18 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/dto/ProjectResponseModel.py +39 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/dto/ProjectsCollection.py +20 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/dto/ProtocolMappersRepresentation.py +22 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/QueryBuilderPrompt.py +5 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/dto/Resource.py +32 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/dto/ResourceType.py +9 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/dto/ResourcesResponse.py +20 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/dto/Role.py +24 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/dto/RoleWithDetails.py +36 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/dto/SeverityCounter.py +14 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/dto/TotalCounters.py +16 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/dto/TriageRequest.py +26 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/dto/TriageResponse.py +26 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/dto/User.py +33 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/dto/UserWithResource.py +41 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/dto/UsersWithResourcesResponse.py +20 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/dto/__init__.py +181 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/flagsAPI.py +69 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/healthCheckServiceAPI.py +90 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/kicsResultsAPI.py +87 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/projectsAPI.py +495 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/projectsOverviewAPI.py +174 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/queryEditorAPI.py +495 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/repoManagerAPI.py +600 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/repoStoreServiceAPI.py +155 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/reportAPI.py +243 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/resultsSummaryAPI.py +83 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/sastBestFixLocationAPI.py +98 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/sastMigrationAPI.py +128 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/sastQueriesAPI.py +173 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/sastQueriesAuditAPI.py +513 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/sastQueriesAuditPresetsAPI.py +326 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/sastResourceManagementServiceAPI.py +111 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/sastResultsAPI.py +205 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/sastResultsPredicatesAPI.py +80 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/sastResultsSummaryAPI.py +150 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/sastScanMetadataServiceAPI.py +164 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/scaAPI.py +15 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/scanConfigurationAPI.py +401 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/scannersResultsAPI.py +95 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/scansAPI.py +518 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxOne/uploadsAPI.py +65 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxPortalSoapApiSDK/CxAuditWebService.py +63 -62
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxPortalSoapApiSDK/CxPortalWebService.py +1273 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxPortalSoapApiSDK/__init__.py +2 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxPortalSoapApiSDK/config.py +43 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxPortalSoapApiSDK/zeepClient.py +59 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxReporting/api.py +117 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxReporting/config.py +37 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxRestAPISDK/AccessControlAPI.py +15 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/ConfigurationAPI.py +19 -12
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/CustomFieldsAPI.py +13 -12
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/CustomTasksAPI.py +18 -14
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/DataRetentionAPI.py +39 -29
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/EnginesAPI.py +46 -43
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/GeneralAPI.py +53 -71
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/OsaAPI.py +45 -36
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/ProjectsAPI.py +230 -238
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/QueriesAPI.py +17 -11
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/ScansAPI.py +196 -205
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/TeamAPI.py +17 -14
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxRestAPISDK/config.py +54 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxScaApiSDK/AccessControlAPI.py +15 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxScaApiSDK/api.py +232 -201
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/CxScaApiSDK/config.py +34 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/__init__.py +4 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/__version__.py +1 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/api_client.py +264 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/configuration.py +22 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/utilities/CxError.py +28 -0
- checkmarxpythonsdk-1.3.8/CheckmarxPythonSDK/utilities/compat.py +10 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/utilities/configUtility.py +7 -15
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK.egg-info/PKG-INFO +5 -9
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK.egg-info/SOURCES.txt +59 -29
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/PKG-INFO +5 -9
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/README.md +2 -6
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/setup.py +2 -2
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxODataApiSDK/HttpRequests.py +0 -56
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxODataApiSDK/ProjectsODataAPI.py +0 -526
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxODataApiSDK/ResultsODataAPI.py +0 -273
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxODataApiSDK/ScansODataAPI.py +0 -303
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/AccessControlAPI/api.py +0 -102
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/AccessControlAPI/url.py +0 -1
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/Configuration.py +0 -8
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/KeycloakAPI/AttackDetectionAPI.py +0 -8
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/KeycloakAPI/AuthenticationManagementAPI.py +0 -0
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/KeycloakAPI/ClientAttributeCertificateAPI.py +0 -0
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/KeycloakAPI/ClientInitialAccessAPI.py +0 -0
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/KeycloakAPI/ClientRegistrationPolicyAPI.py +0 -0
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/KeycloakAPI/ClientRoleMappingsAPI.py +0 -29
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/KeycloakAPI/ClientScopesAPI.py +0 -0
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/KeycloakAPI/ClientsAPI.py +0 -330
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/KeycloakAPI/ComponentAPI.py +0 -0
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/KeycloakAPI/GroupsAPI.py +0 -364
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/KeycloakAPI/IdentityProvidersAPI.py +0 -0
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/KeycloakAPI/KeyAPI.py +0 -0
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/KeycloakAPI/ProtocolMappersAPI.py +0 -0
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/KeycloakAPI/RealmsAdminAPI.py +0 -0
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/KeycloakAPI/RoleMapperAPI.py +0 -16
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/KeycloakAPI/RolesAPI.py +0 -206
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/KeycloakAPI/RolesByIDAPI.py +0 -0
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/KeycloakAPI/RootAPI.py +0 -15
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/KeycloakAPI/ScopeMappingsAPI.py +0 -0
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/KeycloakAPI/UserStorageProviderAPI.py +0 -0
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/KeycloakAPI/UsersAPI.py +0 -325
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/apisecAPI.py +0 -8
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/applicationsAPI.py +0 -320
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/auditTrailAPI.py +0 -58
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/byorResultsHandlerAPI.py +0 -27
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/cloudInsightsServiceAPI.py +0 -213
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/codeRepositoryProjectAPI.py +0 -67
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/config.py +0 -22
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/contributorsAPI.py +0 -35
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/customStateAPI.py +0 -43
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/dto/Account.py +0 -30
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/dto/ApiSecCounters.py +0 -32
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/dto/Application.py +0 -35
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/dto/ApplicationsCollection.py +0 -23
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/dto/AuditEvent.py +0 -28
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/dto/AuditEventLink.py +0 -18
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/dto/AuditEvents.py +0 -20
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/dto/Container.py +0 -28
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/dto/CreateEnrichAccount.py +0 -22
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/dto/EngineData.py +0 -20
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/dto/EnrichAccount.py +0 -16
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/dto/Error.py +0 -8
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/dto/FileInfo.py +0 -19
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/dto/Flag.py +0 -28
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/dto/Group.py +0 -15
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/dto/KicsResult.py +0 -95
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/dto/Project.py +0 -48
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/dto/ProjectResponseModel.py +0 -42
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/dto/ProjectsCollection.py +0 -18
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/dto/SeverityCounter.py +0 -16
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/dto/TotalCounters.py +0 -14
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/dto/__init__.py +0 -129
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/flagsAPI.py +0 -66
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/healthCheckServiceAPI.py +0 -59
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/httpRequests.py +0 -146
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/kicsResultsAPI.py +0 -83
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/policyInformationPointAPI.py +0 -32
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/projectsAPI.py +0 -441
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/projectsOverviewAPI.py +0 -211
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/queryEditorAPI.py +0 -347
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/repoManagerAPI.py +0 -388
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/repoStoreServiceAPI.py +0 -123
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/reportAPI.py +0 -159
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/resultsSummaryAPI.py +0 -68
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/sastBestFixLocationAPI.py +0 -81
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/sastMigrationAPI.py +0 -105
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/sastQueriesAPI.py +0 -144
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/sastQueriesAuditAPI.py +0 -304
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/sastQueriesAuditPresetsAPI.py +0 -289
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/sastResourceManagementServiceAPI.py +0 -88
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/sastResultsAPI.py +0 -169
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/sastResultsPredicatesAPI.py +0 -73
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/sastResultsSummaryAPI.py +0 -96
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/sastScanMetadataServiceAPI.py +0 -154
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/scaAPI.py +0 -41
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/scanConfigurationAPI.py +0 -339
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/scannersResultsAPI.py +0 -75
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/scansAPI.py +0 -456
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxOne/uploadsAPI.py +0 -64
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxPortalSoapApiSDK/CxPortalWebService.py +0 -1248
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxPortalSoapApiSDK/authHeaders.py +0 -22
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxPortalSoapApiSDK/zeepClient.py +0 -67
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxReporting/api.py +0 -95
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxReporting/config.py +0 -20
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxReporting/httpRequests.py +0 -33
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxRestAPISDK/AccessControlAPI.py +0 -19
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxRestAPISDK/config.py +0 -25
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxRestAPISDK/httpRequests.py +0 -74
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxScaApiSDK/AccessControlAPI.py +0 -21
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxScaApiSDK/config.py +0 -18
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/CxScaApiSDK/httpRequests.py +0 -72
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/__version__.py +0 -1
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/utilities/compat.py +0 -24
- checkmarxpythonsdk-1.3.7/CheckmarxPythonSDK/utilities/httpRequests.py +0 -447
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxAccessControl/__init__.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxAccessControl/accesscontrol/__init__.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxAccessControl/accesscontrol/dto/AuthenticationProvider.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxAccessControl/accesscontrol/dto/Configuration.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxAccessControl/accesscontrol/dto/LDAPGroup.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxAccessControl/accesscontrol/dto/LDAPGroupAndRoleMappingDetail.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxAccessControl/accesscontrol/dto/LDAPRoleMapping.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxAccessControl/accesscontrol/dto/LDAPServer.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxAccessControl/accesscontrol/dto/LDAPTeamMapping.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxAccessControl/accesscontrol/dto/MyProfile.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxAccessControl/accesscontrol/dto/OIDCClient.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxAccessControl/accesscontrol/dto/Permission.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxAccessControl/accesscontrol/dto/Role.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxAccessControl/accesscontrol/dto/SAMLIdentityProvider.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxAccessControl/accesscontrol/dto/SAMLRoleMapping.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxAccessControl/accesscontrol/dto/SAMLServiceProvider.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxAccessControl/accesscontrol/dto/SAMLTeamMapping.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxAccessControl/accesscontrol/dto/SMTPSetting.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxAccessControl/accesscontrol/dto/ServiceProvider.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxAccessControl/accesscontrol/dto/SystemLocale.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxAccessControl/accesscontrol/dto/Team.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxAccessControl/accesscontrol/dto/User.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxAccessControl/accesscontrol/dto/WindowsDomain.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxAccessControl/accesscontrol/dto/__init__.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/AccessControlAPI/__init__.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/AccessControlAPI/dto/AstIdWithName.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/AccessControlAPI/dto/AstUser.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/AccessControlAPI/dto/__init__.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/AccessToken.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/AccessTokenAccess.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/AccessTokenAuthorization.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/AccessTokenCertConf.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/AddressClaimSet.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/AuthenticationExecutionExportRepresentation.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/AuthenticationExecutionInfoRepresentation.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/AuthenticationExecutionRepresentation.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/AuthenticationFlowRepresentation.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/AuthenticatorConfigInfoRepresentation.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/AuthenticatorConfigRepresentation.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/CertificateRepresentation.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/ClientInitialAccessCreatePresentation.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/ClientInitialAccessPresentation.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/ClientMappingsRepresentation.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/ClientPoliciesRepresentation.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/ClientPolicyConditionRepresentation.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/ClientPolicyExecutorRepresentation.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/ClientPolicyRepresentation.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/ClientProfileRepresentation.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/ClientProfilesRepresentation.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/ClientRepresentation.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/ClientScopeEvaluateResourceProtocolMapperEvaluationRepresentation.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/ClientScopeRepresentation.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/ComponentExportRepresentation.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/ComponentRepresentation.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/ConfigPropertyRepresentation.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/CredentialRepresentation.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/FederatedIdentityRepresentation.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/GlobalRequestResult.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/Group.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/GroupRepresentation.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/IDToken.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/IdentityProviderMapperRepresentation.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/IdentityProviderRepresentation.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/JsonNode.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/KeyStoreConfig.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/KeysMetadataRepresentation.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/KeysMetadataRepresentationKeyMetadataRepresentation.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/ManagementPermissionReference.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/MappingsRepresentation.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/MemoryInfoRepresentation.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/MultivaluedHashMap.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/PartialImportRepresentation.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/PasswordPolicyTypeRepresentation.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/Permission.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/PolicyRepresentation.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/ProfileInfoRepresentation.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/ProtocolMapperRepresentation.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/ProviderRepresentation.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/RealmEventsConfigRepresentation.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/RealmRepresentation.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/RequiredActionProviderRepresentation.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/ResourceRepresentation.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/ResourceServerRepresentation.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/RoleRepresentation.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/RoleRepresentationComposites.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/RolesRepresentation.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/ScopeMappingRepresentation.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/ScopePermissions.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/ScopeRepresentation.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/ServerInfoRepresentation.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/SpiInfoRepresentation.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/SynchronizationResult.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/SystemInfoRepresentation.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/TestLdapConnectionRepresentation.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/User.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/UserConsentRepresentation.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/UserFederationMapperRepresentation.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/UserFederationProviderRepresentation.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/UserRepresentation.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/__init__.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/KeycloakAPI/url.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/ApplicationInput.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/AsyncRequestResponse.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/AuditQuery.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/BflTree.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/Category.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/CategoryType.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/ChangeDetails.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/CommentJSON.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/CompilationResponse.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/ComplianceSummary.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/Contributors.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/CreatedApplication.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/Credentials.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/DebugMessage.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/DebugMessageResponse.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/DefaultConfig.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/DefaultConfigOut.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/EngineMetrics.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/ExecutionResponse.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/GPTMessage.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/Git.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/ImportItem.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/ImportItemWithLogs.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/ImportRequest.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/ImportResults.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/KicsCounters.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/LanguageSummary.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/LogItem.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/Metadata.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/MethodInfo.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/MethodParameter.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/PlatformSummary.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/Predicate.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/PredicateHistory.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/PredicateWithCommentJSON.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/PredicateWithCommentsJSON.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/Preset.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/PresetPaged.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/PresetSummary.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/ProjectCounter.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/ProjectInput.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/ProjectSettings.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/Property.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/Queries.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/QueriesResponse.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/QueriesTree.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/Query.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/QueryBuilderMessage.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/QueryDescription.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/QueryDescriptionSampleCode.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/QueryDetails.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/QueryRequest.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/QueryResponse.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/QueryResult.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/QuerySearch.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/QuerySummary.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/RequestStatus.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/RequestStatusDetectLanguages.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/RequestStatusNotReady.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/Result.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/ResultNode.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/ResultResponse.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/ResultsResponse.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/ResultsSummary.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/ResultsSummaryTree.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/RichProject.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/Rule.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/RuleInput.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/SCMImportInput.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/SastCounters.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/SastResult.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/SastScan.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/SastStatus.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/ScaContainersCounters.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/ScaCounters.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/ScaPackageCounters.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/Scan.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/ScanConfig.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/ScanEngineVersion.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/ScanInfo.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/ScanInfoCollection.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/ScanInput.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/ScanParameter.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/Scanner.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/ScansCollection.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/Scm.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/ScmOrganization.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/ScmProject.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/Session.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/SessionRequest.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/SessionResponse.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/Sessions.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/SeveritySummary.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/SinkFileSummary.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/SinkNodeSummary.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/SourceFileSummary.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/SourceNodeSummary.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/SourcesTree.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/StartEnrich.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/StatusDetails.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/StatusSummary.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/SubCheck.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/SubsetScan.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/TaskInfo.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/TimeStamp.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/Tree.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/Upload.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/WebError.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/dto/WorkspaceQuery.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxOne/utilities.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxReporting/__init__.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxReporting/dto/CreateReportDTO.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxReporting/dto/CreateReportResponseDTO.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxReporting/dto/FilterDTO.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxReporting/dto/ReportStatusDTO.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxReporting/dto/__init__.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/CxSastXML/__init__.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/CxSastXML/dto/CxXMLResults.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/CxSastXML/dto/Line.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/CxSastXML/dto/Path.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/CxSastXML/dto/PathNode.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/CxSastXML/dto/Query.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/CxSastXML/dto/Result.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/CxSastXML/dto/Snippet.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/CxSastXML/dto/__init__.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/CxSastXML/xml_results.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/__init__.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/exceptions/__init__.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/osa/__init__.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/osa/dto/CxOsaLibrary.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/osa/dto/CxOsaLicense.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/osa/dto/CxOsaLocation.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/osa/dto/CxOsaMatchType.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/osa/dto/CxOsaScanDetail.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/osa/dto/CxOsaSeverity.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/osa/dto/CxOsaState.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/osa/dto/CxOsaSummaryReport.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/osa/dto/CxOsaVulnerability.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/osa/dto/CxOsaVulnerabilityComment.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/osa/dto/CxOsaVulnerabilityState.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/osa/dto/__init__.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/__init__.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/configuration/__init__.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/configuration/dto/CxSASTConfig.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/configuration/dto/__init__.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/dataRetention/__init__.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/dataRetention/dto/CxDataRetentionRequestStatus.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/dataRetention/dto/CxDataRetentionRequestStatusStage.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/dataRetention/dto/CxDefineDataRetentionDateRangeRequest.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/dataRetention/dto/CxDefineDataRetentionNumberOfScansRequest.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/dataRetention/dto/CxDefineDataRetentionResponse.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/dataRetention/dto/__init__.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/engines/__init__.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/engines/dto/CxEngineConfiguration.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/engines/dto/CxEngineDedication.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/engines/dto/CxEngineServer.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/engines/dto/CxEngineServerStatus.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/engines/dto/CxRegisterEngineRequestBody.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/engines/dto/__init__.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/general/__init__.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/general/dto/CxServerLicenseData.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/general/dto/CxSupportedLanguage.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/general/dto/CxTranslationInput.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/general/dto/CxUserPersistence.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/general/dto/__init__.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/projects/__init__.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/projects/dto/CxCreateProjectRequest.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/projects/dto/CxCreateProjectResponse.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/projects/dto/CxCredential.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/projects/dto/CxCustomRemoteSourceSettings.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/projects/dto/CxGitSettings.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/projects/dto/CxIssueTrackingSystem.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/projects/dto/CxIssueTrackingSystemDetail.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/projects/dto/CxIssueTrackingSystemField.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/projects/dto/CxIssueTrackingSystemFieldAllowedValue.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/projects/dto/CxIssueTrackingSystemJira.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/projects/dto/CxIssueTrackingSystemJiraField.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/projects/dto/CxIssueTrackingSystemType.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/projects/dto/CxLink.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/projects/dto/CxPerforceSettings.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/projects/dto/CxProject.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/projects/dto/CxProjectExcludeSettings.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/projects/dto/CxProjectQueueSetting.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/projects/dto/CxSVNSettings.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/projects/dto/CxSharedRemoteSourceSettingsRequest.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/projects/dto/CxSharedRemoteSourceSettingsResponse.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/projects/dto/CxSourceSettingsLink.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/projects/dto/CxTFSSettings.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/projects/dto/CxURI.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/projects/dto/CxUpdateProjectNameTeamIdRequest.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/projects/dto/CxUpdateProjectRequest.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/projects/dto/__init__.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/projects/dto/customFields/CxCustomField.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/projects/dto/customFields/__init__.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/projects/dto/customTasks/CxCustomTask.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/projects/dto/customTasks/__init__.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/projects/dto/presets/CxPreset.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/projects/dto/presets/__init__.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/scans/__init__.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/scans/dto/CxCreateNewScanResponse.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/scans/dto/CxDateAndTime.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/scans/dto/CxFinishedScanStatus.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/scans/dto/CxLanguageState.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/scans/dto/CxLanguageStatistic.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/scans/dto/CxPolicyFindingResponse.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/scans/dto/CxPolicyFindingsStatus.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/scans/dto/CxRegisterScanReportResponse.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/scans/dto/CxResultsStatistics.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/scans/dto/CxScanDetail.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/scans/dto/CxScanFailedGeneralQueries.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/scans/dto/CxScanFailedQueries.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/scans/dto/CxScanFileCountOfLanguage.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/scans/dto/CxScanParsedFiles.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/scans/dto/CxScanParsedFilesMetric.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/scans/dto/CxScanQueueDetail.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/scans/dto/CxScanReportStatus.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/scans/dto/CxScanReportXmlContent.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/scans/dto/CxScanResult.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/scans/dto/CxScanResultAttackVector.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/scans/dto/CxScanResultAttackVectorByBFL.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/scans/dto/CxScanResultLabelsFields.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/scans/dto/CxScanResultNode.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/scans/dto/CxScanResultsPage.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/scans/dto/CxScanStage.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/scans/dto/CxScanState.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/scans/dto/CxScanStatistics.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/scans/dto/CxScanSucceededGeneralQueries.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/scans/dto/CxScanType.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/scans/dto/CxSchedulingSettings.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/scans/dto/CxStatisticsResult.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/scans/dto/CxStatus.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/scans/dto/CxStatusDetail.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/scans/dto/__init__.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/scans/dto/scanSettings/CxCreateScanSettingsRequestBody.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/scans/dto/scanSettings/CxCreateScanSettingsResponse.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/scans/dto/scanSettings/CxEmailNotification.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/scans/dto/scanSettings/CxLanguage.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/scans/dto/scanSettings/CxPostScanActionConditions.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/scans/dto/scanSettings/CxScanSettings.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/sast/scans/dto/scanSettings/__init__.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/team/__init__.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/team/dto/CxTeam.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxRestAPISDK/team/dto/__init__.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/CxScaApiSDK/__init__.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/external/__init__.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/external/sarif/__init__.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/external/sarif/dto/CxCategory.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/external/sarif/dto/CxSarifCategory.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/external/sarif/dto/SarifArtifactLocation.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/external/sarif/dto/SarifDescription.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/external/sarif/dto/SarifDriver.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/external/sarif/dto/SarifDriverRule.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/external/sarif/dto/SarifLocation.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/external/sarif/dto/SarifMessage.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/external/sarif/dto/SarifMultiFormatMessageString.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/external/sarif/dto/SarifPhysicalLocation.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/external/sarif/dto/SarifPhysicalLocationPropertyBag.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/external/sarif/dto/SarifRegion.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/external/sarif/dto/SarifResultPropertyBag.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/external/sarif/dto/SarifResultsCollection.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/external/sarif/dto/SarifRun.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/external/sarif/dto/SarifScanResult.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/external/sarif/dto/SarifTaxa.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/external/sarif/dto/SarifTaxaPropertyBag.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/external/sarif/dto/SarifTaxaRelationship.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/external/sarif/dto/SarifTaxaRelationshipTarget.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/external/sarif/dto/SarifTaxonomy.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/external/sarif/dto/SarifTool.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/external/sarif/dto/SarifToolComponent.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/external/sarif/dto/__init__.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/external/sarif/sast_xml_to_sarif.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/external/sarif/stig_mapping.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK/utilities/__init__.py +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK.egg-info/dependency_links.txt +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK.egg-info/requires.txt +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/CheckmarxPythonSDK.egg-info/top_level.txt +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/LICENSE +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/setup.cfg +0 -0
- {checkmarxpythonsdk-1.3.7 → checkmarxpythonsdk-1.3.8}/tests/test_sample.py +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
from CheckmarxPythonSDK.api_client import ApiClient
|
|
2
2
|
import os
|
|
3
3
|
import json
|
|
4
|
-
|
|
4
|
+
from typing import List
|
|
5
5
|
from requests_toolbelt import MultipartEncoder
|
|
6
6
|
|
|
7
7
|
from CheckmarxPythonSDK.utilities.compat import OK, NO_CONTENT, CREATED
|
|
@@ -38,23 +38,18 @@ def construct_user(item):
|
|
|
38
38
|
|
|
39
39
|
class AccessControl:
|
|
40
40
|
|
|
41
|
-
def __init__(self,
|
|
41
|
+
def __init__(self, api_client: ApiClient = None, is_iam: bool = False):
|
|
42
42
|
"""
|
|
43
43
|
|
|
44
44
|
Args:
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
put_request (function):
|
|
48
|
-
delete_request (function):
|
|
45
|
+
api_client (ApiClient):
|
|
46
|
+
is_iam (bool)
|
|
49
47
|
"""
|
|
50
|
-
self.
|
|
51
|
-
self.post_request = post_request
|
|
52
|
-
self.put_request = put_request
|
|
53
|
-
self.delete_request = delete_request
|
|
48
|
+
self.api_client = api_client
|
|
54
49
|
self.is_iam = is_iam
|
|
55
50
|
self.sast_ac = "" if is_iam else "/cxrestapi/auth"
|
|
56
51
|
|
|
57
|
-
def get_all_assignable_users(self):
|
|
52
|
+
def get_all_assignable_users(self) -> List[User]:
|
|
58
53
|
"""
|
|
59
54
|
|
|
60
55
|
Returns:
|
|
@@ -62,22 +57,22 @@ class AccessControl:
|
|
|
62
57
|
"""
|
|
63
58
|
result = []
|
|
64
59
|
relative_url = self.sast_ac + "/AssignableUsers"
|
|
65
|
-
response = self.get_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
60
|
+
response = self.api_client.get_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
66
61
|
if response.status_code == OK:
|
|
67
62
|
result = [
|
|
68
63
|
construct_user(item) for item in response.json()
|
|
69
64
|
]
|
|
70
65
|
return result
|
|
71
66
|
|
|
72
|
-
def get_all_authentication_providers(self):
|
|
67
|
+
def get_all_authentication_providers(self) -> List[AuthenticationProvider]:
|
|
73
68
|
"""
|
|
74
69
|
|
|
75
70
|
Returns:
|
|
76
|
-
|
|
71
|
+
List[AuthenticationProvider]
|
|
77
72
|
"""
|
|
78
73
|
result = []
|
|
79
74
|
relative_url = self.sast_ac + "/AuthenticationProviders"
|
|
80
|
-
response = self.get_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
75
|
+
response = self.api_client.get_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
81
76
|
if response.status_code == OK:
|
|
82
77
|
result = [
|
|
83
78
|
AuthenticationProvider(
|
|
@@ -91,7 +86,9 @@ class AccessControl:
|
|
|
91
86
|
]
|
|
92
87
|
return result
|
|
93
88
|
|
|
94
|
-
def submit_first_admin_user(
|
|
89
|
+
def submit_first_admin_user(
|
|
90
|
+
self, username: str, password: str, first_name: str, last_name: str, email: str
|
|
91
|
+
) -> bool:
|
|
95
92
|
"""
|
|
96
93
|
|
|
97
94
|
Args:
|
|
@@ -113,12 +110,12 @@ class AccessControl:
|
|
|
113
110
|
"email": email
|
|
114
111
|
})
|
|
115
112
|
relative_url = self.sast_ac + "/Users/FirstAdmin"
|
|
116
|
-
response = self.post_request(relative_url=relative_url, data=post_data, is_iam=self.is_iam)
|
|
113
|
+
response = self.api_client.post_request(relative_url=relative_url, data=post_data, is_iam=self.is_iam)
|
|
117
114
|
if response.status_code == CREATED:
|
|
118
115
|
result = True
|
|
119
116
|
return result
|
|
120
117
|
|
|
121
|
-
def get_admin_user_exists_confirmation(self):
|
|
118
|
+
def get_admin_user_exists_confirmation(self) -> bool:
|
|
122
119
|
"""
|
|
123
120
|
|
|
124
121
|
Returns:
|
|
@@ -126,25 +123,25 @@ class AccessControl:
|
|
|
126
123
|
"""
|
|
127
124
|
result = False
|
|
128
125
|
relative_url = self.sast_ac + "/Users/FirstAdminExistence"
|
|
129
|
-
response = self.get_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
126
|
+
response = self.api_client.get_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
130
127
|
if response.status_code == OK and response.json().get("firstAdminExists"):
|
|
131
128
|
result = True
|
|
132
129
|
return result
|
|
133
130
|
|
|
134
|
-
def get_all_ldap_role_mapping(self, ldap_server_id=None):
|
|
131
|
+
def get_all_ldap_role_mapping(self, ldap_server_id: int = None) -> List[LDAPRoleMapping]:
|
|
135
132
|
"""
|
|
136
133
|
|
|
137
134
|
Args:
|
|
138
135
|
ldap_server_id (int):
|
|
139
136
|
|
|
140
137
|
Returns:
|
|
141
|
-
|
|
138
|
+
List[LDAPRoleMapping]
|
|
142
139
|
"""
|
|
143
140
|
result = []
|
|
144
141
|
relative_url = self.sast_ac + "/LDAPRoleMappings"
|
|
145
142
|
if ldap_server_id:
|
|
146
143
|
relative_url += "?ldapServerId={id}".format(id=ldap_server_id)
|
|
147
|
-
response = self.get_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
144
|
+
response = self.api_client.get_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
148
145
|
if response.status_code == OK:
|
|
149
146
|
result = [
|
|
150
147
|
LDAPRoleMapping(
|
|
@@ -157,7 +154,9 @@ class AccessControl:
|
|
|
157
154
|
]
|
|
158
155
|
return result
|
|
159
156
|
|
|
160
|
-
def update_ldap_role_mapping(
|
|
157
|
+
def update_ldap_role_mapping(
|
|
158
|
+
self, ldap_server_id: int, role_id: int, ldap_group_dn: str, ldap_group_display_name: str
|
|
159
|
+
) -> bool:
|
|
161
160
|
"""
|
|
162
161
|
|
|
163
162
|
Args:
|
|
@@ -178,12 +177,10 @@ class AccessControl:
|
|
|
178
177
|
"ldapGroupDisplayName": ldap_group_display_name
|
|
179
178
|
}
|
|
180
179
|
)
|
|
181
|
-
response = self.put_request(relative_url=relative_url, data=put_data, is_iam=self.is_iam)
|
|
182
|
-
|
|
183
|
-
result = True
|
|
184
|
-
return result
|
|
180
|
+
response = self.api_client.put_request(relative_url=relative_url, data=put_data, is_iam=self.is_iam)
|
|
181
|
+
return response.status_code == NO_CONTENT
|
|
185
182
|
|
|
186
|
-
def delete_ldap_role_mapping(self, ldap_role_mapping_id):
|
|
183
|
+
def delete_ldap_role_mapping(self, ldap_role_mapping_id: int) -> bool:
|
|
187
184
|
"""
|
|
188
185
|
|
|
189
186
|
Args:
|
|
@@ -194,17 +191,17 @@ class AccessControl:
|
|
|
194
191
|
"""
|
|
195
192
|
result = False
|
|
196
193
|
relative_url = self.sast_ac + "/LDAPRoleMappings/{id}".format(id=ldap_role_mapping_id)
|
|
197
|
-
response = self.delete_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
198
|
-
|
|
199
|
-
result = True
|
|
200
|
-
return result
|
|
194
|
+
response = self.api_client.delete_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
195
|
+
return response.status_code == NO_CONTENT
|
|
201
196
|
|
|
202
|
-
def test_ldap_server_connection(
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
197
|
+
def test_ldap_server_connection(
|
|
198
|
+
self, host: str, port: int, username: str, password: str, use_ssl: bool, verify_ssl_certificate: bool,
|
|
199
|
+
base_dn: str, user_object_filter: str, user_object_class: str, username_attribute: str,
|
|
200
|
+
first_name_attribute: str, last_name_attribute: str, email_attribute: str, synchronization_enabled: bool,
|
|
201
|
+
advanced_team_and_role_mapping_enabled: bool, additional_group_dn: str, group_object_class: str,
|
|
202
|
+
group_object_filter: str, group_name_attribute: str, group_members_attribute: str,
|
|
203
|
+
user_membership_attribute: str
|
|
204
|
+
) -> bool:
|
|
208
205
|
"""
|
|
209
206
|
|
|
210
207
|
Args:
|
|
@@ -233,7 +230,6 @@ class AccessControl:
|
|
|
233
230
|
Returns:
|
|
234
231
|
bool
|
|
235
232
|
"""
|
|
236
|
-
result = False
|
|
237
233
|
post_data = json.dumps(
|
|
238
234
|
{
|
|
239
235
|
"host": host,
|
|
@@ -260,12 +256,12 @@ class AccessControl:
|
|
|
260
256
|
}
|
|
261
257
|
)
|
|
262
258
|
relative_url = self.sast_ac + "/LDAPServers/TestConnection"
|
|
263
|
-
response = self.post_request(relative_url=relative_url, data=post_data, is_iam=self.is_iam)
|
|
264
|
-
|
|
265
|
-
result = True
|
|
266
|
-
return result
|
|
259
|
+
response = self.api_client.post_request(relative_url=relative_url, data=post_data, is_iam=self.is_iam)
|
|
260
|
+
return response.status_code == OK
|
|
267
261
|
|
|
268
|
-
def get_user_entries_by_search_criteria(
|
|
262
|
+
def get_user_entries_by_search_criteria(
|
|
263
|
+
self, ldap_server_id: int, username_contains_pattern: str = None
|
|
264
|
+
) -> List[User]:
|
|
269
265
|
"""
|
|
270
266
|
|
|
271
267
|
Args:
|
|
@@ -273,13 +269,13 @@ class AccessControl:
|
|
|
273
269
|
username_contains_pattern (str):
|
|
274
270
|
|
|
275
271
|
Returns:
|
|
276
|
-
|
|
272
|
+
List[User]
|
|
277
273
|
"""
|
|
278
274
|
result = []
|
|
279
275
|
relative_url = self.sast_ac + "/LDAPServers/{id}/UserEntries".format(id=ldap_server_id)
|
|
280
276
|
if username_contains_pattern:
|
|
281
277
|
relative_url += "?userNameContainsPattern={}".format(username_contains_pattern)
|
|
282
|
-
response = self.get_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
278
|
+
response = self.api_client.get_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
283
279
|
if response.status_code == OK:
|
|
284
280
|
result = [
|
|
285
281
|
# We can't use construct_user because the response
|
|
@@ -293,7 +289,7 @@ class AccessControl:
|
|
|
293
289
|
]
|
|
294
290
|
return result
|
|
295
291
|
|
|
296
|
-
def get_group_entries_by_search_criteria(self, ldap_server_id, name_contains_pattern):
|
|
292
|
+
def get_group_entries_by_search_criteria(self, ldap_server_id: int, name_contains_pattern: str) -> List[LDAPGroup]:
|
|
297
293
|
"""
|
|
298
294
|
|
|
299
295
|
Args:
|
|
@@ -301,13 +297,13 @@ class AccessControl:
|
|
|
301
297
|
name_contains_pattern (str):
|
|
302
298
|
|
|
303
299
|
Returns:
|
|
304
|
-
|
|
300
|
+
List[LDAPGroup]
|
|
305
301
|
"""
|
|
306
302
|
result = []
|
|
307
303
|
relative_url = self.sast_ac + "/LDAPServers/{id}/GroupEntries".format(id=ldap_server_id)
|
|
308
304
|
if name_contains_pattern:
|
|
309
305
|
relative_url += "?nameContainsPattern={}".format(name_contains_pattern)
|
|
310
|
-
response = self.get_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
306
|
+
response = self.api_client.get_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
311
307
|
if response.status_code == OK:
|
|
312
308
|
result = [
|
|
313
309
|
LDAPGroup(
|
|
@@ -317,15 +313,15 @@ class AccessControl:
|
|
|
317
313
|
]
|
|
318
314
|
return result
|
|
319
315
|
|
|
320
|
-
def get_all_ldap_servers(self):
|
|
316
|
+
def get_all_ldap_servers(self) -> List[LDAPServer]:
|
|
321
317
|
"""
|
|
322
318
|
|
|
323
319
|
Returns:
|
|
324
|
-
|
|
320
|
+
List[LDAPServer]
|
|
325
321
|
"""
|
|
326
322
|
result = []
|
|
327
323
|
relative_url = self.sast_ac + "/LDAPServers"
|
|
328
|
-
response = self.get_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
324
|
+
response = self.api_client.get_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
329
325
|
if response.status_code == OK:
|
|
330
326
|
result = [
|
|
331
327
|
LDAPServer(
|
|
@@ -364,17 +360,16 @@ class AccessControl:
|
|
|
364
360
|
]
|
|
365
361
|
return result
|
|
366
362
|
|
|
367
|
-
def create_new_ldap_server(
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
user_membership_attribute):
|
|
363
|
+
def create_new_ldap_server(
|
|
364
|
+
self, password: str, active: bool, name: str, host: str, port: int, username: str, use_ssl: bool,
|
|
365
|
+
verify_ssl_certificate: bool, based_dn: str, additional_user_dn: str, user_object_filter: str,
|
|
366
|
+
user_object_class: str, username_attribute: str, first_name_attribute: str, last_name_attribute: str,
|
|
367
|
+
email_attribute: str, ldap_directory_type: str, sso_enabled: bool, synchronization_enabled: bool,
|
|
368
|
+
default_team_id: int, default_role_id: int, update_team_and_role_upon_login_enabled: bool,
|
|
369
|
+
periodical_synchronization_enabled: bool, advanced_team_and_role_mapping_enabled: bool,
|
|
370
|
+
additional_group_dn: str, group_object_class: str, group_object_filter: str, group_name_attribute: str,
|
|
371
|
+
group_members_attribute: str, user_membership_attribute: str
|
|
372
|
+
) -> bool:
|
|
378
373
|
"""
|
|
379
374
|
|
|
380
375
|
Args:
|
|
@@ -412,7 +407,6 @@ class AccessControl:
|
|
|
412
407
|
Returns:
|
|
413
408
|
bool
|
|
414
409
|
"""
|
|
415
|
-
result = False
|
|
416
410
|
relative_url = self.sast_ac + "/LDAPServers"
|
|
417
411
|
post_data = json.dumps(
|
|
418
412
|
{
|
|
@@ -448,12 +442,10 @@ class AccessControl:
|
|
|
448
442
|
"userMembershipAttribute": user_membership_attribute
|
|
449
443
|
}
|
|
450
444
|
)
|
|
451
|
-
response = self.post_request(relative_url=relative_url, data=post_data, is_iam=self.is_iam)
|
|
452
|
-
|
|
453
|
-
result = True
|
|
454
|
-
return result
|
|
445
|
+
response = self.api_client.post_request(relative_url=relative_url, data=post_data, is_iam=self.is_iam)
|
|
446
|
+
return response.status_code == CREATED
|
|
455
447
|
|
|
456
|
-
def get_ldap_server_by_id(self, ldap_server_id):
|
|
448
|
+
def get_ldap_server_by_id(self, ldap_server_id: int) -> LDAPServer:
|
|
457
449
|
"""
|
|
458
450
|
|
|
459
451
|
Args:
|
|
@@ -464,7 +456,7 @@ class AccessControl:
|
|
|
464
456
|
"""
|
|
465
457
|
result = None
|
|
466
458
|
relative_url = self.sast_ac + "/LDAPServers/{id}".format(id=ldap_server_id)
|
|
467
|
-
response = self.get_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
459
|
+
response = self.api_client.get_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
468
460
|
if response.status_code == OK:
|
|
469
461
|
item = response.json()
|
|
470
462
|
result = LDAPServer(
|
|
@@ -502,17 +494,16 @@ class AccessControl:
|
|
|
502
494
|
)
|
|
503
495
|
return result
|
|
504
496
|
|
|
505
|
-
def update_ldap_server(
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
user_membership_attribute):
|
|
497
|
+
def update_ldap_server(
|
|
498
|
+
self, ldap_server_id: int, password: str, active: bool, name: str, host: str, port: int, username: str,
|
|
499
|
+
use_ssl: bool, verify_ssl_certificate: bool, based_dn: str, additional_user_dn: str, user_object_filter: str,
|
|
500
|
+
user_object_class: str, username_attribute: str, first_name_attribute: str, last_name_attribute: str,
|
|
501
|
+
email_attribute: str, ldap_directory_type: str, sso_enabled: bool, synchronization_enabled: bool,
|
|
502
|
+
default_team_id: str, default_role_id: str, update_team_and_role_upon_login_enabled: bool,
|
|
503
|
+
periodical_synchronization_enabled: bool, advanced_team_and_role_mapping_enabled: bool,
|
|
504
|
+
additional_group_dn: str, group_object_class: str, group_object_filter: str, group_name_attribute: str,
|
|
505
|
+
group_members_attribute: str, user_membership_attribute: str
|
|
506
|
+
) -> bool:
|
|
516
507
|
"""
|
|
517
508
|
|
|
518
509
|
Args:
|
|
@@ -587,12 +578,12 @@ class AccessControl:
|
|
|
587
578
|
"userMembershipAttribute": user_membership_attribute
|
|
588
579
|
}
|
|
589
580
|
)
|
|
590
|
-
response = self.put_request(relative_url=relative_url, data=put_data, is_iam=self.is_iam)
|
|
581
|
+
response = self.api_client.put_request(relative_url=relative_url, data=put_data, is_iam=self.is_iam)
|
|
591
582
|
if response.status_code == NO_CONTENT:
|
|
592
583
|
result = True
|
|
593
584
|
return result
|
|
594
585
|
|
|
595
|
-
def delete_ldap_server(self, ldap_server_id):
|
|
586
|
+
def delete_ldap_server(self, ldap_server_id: int) -> bool:
|
|
596
587
|
"""
|
|
597
588
|
|
|
598
589
|
Args:
|
|
@@ -603,12 +594,10 @@ class AccessControl:
|
|
|
603
594
|
"""
|
|
604
595
|
result = False
|
|
605
596
|
relative_url = self.sast_ac + "/LDAPServers/{id}".format(id=ldap_server_id)
|
|
606
|
-
response = self.delete_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
607
|
-
|
|
608
|
-
result = True
|
|
609
|
-
return result
|
|
597
|
+
response = self.api_client.delete_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
598
|
+
return response.status_code == NO_CONTENT
|
|
610
599
|
|
|
611
|
-
def get_ldap_team_mapping(self, ldap_server_id=None, team_id=None):
|
|
600
|
+
def get_ldap_team_mapping(self, ldap_server_id: int = None, team_id: int = None) -> List[LDAPTeamMapping]:
|
|
612
601
|
"""
|
|
613
602
|
|
|
614
603
|
Args:
|
|
@@ -616,7 +605,7 @@ class AccessControl:
|
|
|
616
605
|
team_id (int):
|
|
617
606
|
|
|
618
607
|
Returns:
|
|
619
|
-
|
|
608
|
+
List[LDAPTeamMapping]
|
|
620
609
|
"""
|
|
621
610
|
result = []
|
|
622
611
|
relative_url = self.sast_ac + "/LDAPTeamMappings"
|
|
@@ -627,7 +616,7 @@ class AccessControl:
|
|
|
627
616
|
optionals.append("teamId={id}".format(id=team_id))
|
|
628
617
|
if optionals:
|
|
629
618
|
relative_url += "?" + "&".join(optionals)
|
|
630
|
-
response = self.get_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
619
|
+
response = self.api_client.get_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
631
620
|
if response.status_code == OK:
|
|
632
621
|
result = [
|
|
633
622
|
LDAPTeamMapping(
|
|
@@ -640,7 +629,9 @@ class AccessControl:
|
|
|
640
629
|
]
|
|
641
630
|
return result
|
|
642
631
|
|
|
643
|
-
def update_ldap_team_mapping(
|
|
632
|
+
def update_ldap_team_mapping(
|
|
633
|
+
self, ldap_server_id: int, team_id: int, ldap_group_dn: str, ldap_group_display_name: str
|
|
634
|
+
) -> bool:
|
|
644
635
|
"""
|
|
645
636
|
|
|
646
637
|
Args:
|
|
@@ -661,12 +652,10 @@ class AccessControl:
|
|
|
661
652
|
"ldapGroupDisplayName": ldap_group_display_name
|
|
662
653
|
}
|
|
663
654
|
)
|
|
664
|
-
response = self.put_request(relative_url=relative_url, data=put_data, is_iam=self.is_iam)
|
|
665
|
-
|
|
666
|
-
result = True
|
|
667
|
-
return result
|
|
655
|
+
response = self.api_client.put_request(relative_url=relative_url, data=put_data, is_iam=self.is_iam)
|
|
656
|
+
return response.status_code == NO_CONTENT
|
|
668
657
|
|
|
669
|
-
def delete_ldap_team_mapping(self, ldap_team_mapping_id):
|
|
658
|
+
def delete_ldap_team_mapping(self, ldap_team_mapping_id: int) -> bool:
|
|
670
659
|
"""
|
|
671
660
|
|
|
672
661
|
Args:
|
|
@@ -677,12 +666,10 @@ class AccessControl:
|
|
|
677
666
|
"""
|
|
678
667
|
result = False
|
|
679
668
|
relative_url = self.sast_ac + "/LDAPTeamMappings/{id}".format(id=ldap_team_mapping_id)
|
|
680
|
-
response = self.delete_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
681
|
-
|
|
682
|
-
result = True
|
|
683
|
-
return result
|
|
669
|
+
response = self.api_client.delete_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
670
|
+
return response.status_code == NO_CONTENT
|
|
684
671
|
|
|
685
|
-
def get_my_profile(self):
|
|
672
|
+
def get_my_profile(self) -> MyProfile:
|
|
686
673
|
"""
|
|
687
674
|
|
|
688
675
|
Returns:
|
|
@@ -690,7 +677,7 @@ class AccessControl:
|
|
|
690
677
|
"""
|
|
691
678
|
result = None
|
|
692
679
|
relative_url = self.sast_ac + "/MyProfile"
|
|
693
|
-
response = self.get_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
680
|
+
response = self.api_client.get_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
694
681
|
if response.status_code == OK:
|
|
695
682
|
item = response.json()
|
|
696
683
|
result = MyProfile(
|
|
@@ -710,8 +697,10 @@ class AccessControl:
|
|
|
710
697
|
)
|
|
711
698
|
return result
|
|
712
699
|
|
|
713
|
-
def update_my_profile(
|
|
714
|
-
|
|
700
|
+
def update_my_profile(
|
|
701
|
+
self, first_name: str, last_name: str, email: str, phone_number: str, cell_phone_number: str,
|
|
702
|
+
job_title: str, other: str, country: str, locale_id: int
|
|
703
|
+
) -> bool:
|
|
715
704
|
"""
|
|
716
705
|
|
|
717
706
|
Args:
|
|
@@ -741,20 +730,18 @@ class AccessControl:
|
|
|
741
730
|
"localeId": locale_id
|
|
742
731
|
})
|
|
743
732
|
relative_url = self.sast_ac + "/MyProfile"
|
|
744
|
-
response = self.put_request(relative_url=relative_url, data=put_data, is_iam=self.is_iam)
|
|
745
|
-
|
|
746
|
-
result = True
|
|
747
|
-
return result
|
|
733
|
+
response = self.api_client.put_request(relative_url=relative_url, data=put_data, is_iam=self.is_iam)
|
|
734
|
+
return response.status_code == NO_CONTENT
|
|
748
735
|
|
|
749
|
-
def get_all_oidc_clients(self):
|
|
736
|
+
def get_all_oidc_clients(self) -> List[OIDCClient]:
|
|
750
737
|
"""
|
|
751
738
|
|
|
752
739
|
Returns:
|
|
753
|
-
|
|
740
|
+
List[OIDCClient]
|
|
754
741
|
"""
|
|
755
742
|
result = []
|
|
756
743
|
relative_url = self.sast_ac + "/OIDCClients"
|
|
757
|
-
response = self.get_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
744
|
+
response = self.api_client.get_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
758
745
|
if response.status_code == OK:
|
|
759
746
|
result = [
|
|
760
747
|
OIDCClient(
|
|
@@ -792,17 +779,18 @@ class AccessControl:
|
|
|
792
779
|
]
|
|
793
780
|
return result
|
|
794
781
|
|
|
795
|
-
def create_new_oidc_client(
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
782
|
+
def create_new_oidc_client(
|
|
783
|
+
self, update_access_token_claims_on_refresh: bool, access_token_type: int, include_jwt_id: bool,
|
|
784
|
+
always_include_user_claims_in_id_token: bool, client_id: str, client_name: str, allow_offline_access: bool,
|
|
785
|
+
client_secrets: List[str], allow_grant_types: List[str], allowed_scopes: List[str], enabled: bool,
|
|
786
|
+
require_client_secret: bool, redirect_uris: List[str], post_logout_redirect_uris: List[str],
|
|
787
|
+
front_channel_logout_uri: str, front_channel_logout_session_required: bool,
|
|
788
|
+
back_channel_logout_uri: str, back_channel_logout_session_required: bool, identity_token_life_time: int,
|
|
789
|
+
access_token_life_time: int, authorization_code_life_time: int, absolute_refresh_token_life_time: int,
|
|
790
|
+
sliding_refresh_token_life_time: int, refresh_token_usage: int, refresh_token_expiration: int,
|
|
791
|
+
allowed_cors_origins: List[str], allowed_access_tokens_via_browser: bool,
|
|
792
|
+
claims: List[str], client_claims_prefix: str
|
|
793
|
+
) -> bool:
|
|
806
794
|
"""
|
|
807
795
|
|
|
808
796
|
Args:
|
|
@@ -874,12 +862,12 @@ class AccessControl:
|
|
|
874
862
|
}
|
|
875
863
|
)
|
|
876
864
|
relative_url = self.sast_ac + "/OIDCClients"
|
|
877
|
-
response = self.post_request(relative_url=relative_url, data=post_data, is_iam=self.is_iam)
|
|
865
|
+
response = self.api_client.post_request(relative_url=relative_url, data=post_data, is_iam=self.is_iam)
|
|
878
866
|
if response.status_code == CREATED:
|
|
879
867
|
result = True
|
|
880
868
|
return result
|
|
881
869
|
|
|
882
|
-
def get_oidc_client_by_id(self, oidc_client_id):
|
|
870
|
+
def get_oidc_client_by_id(self, oidc_client_id: int) -> OIDCClient:
|
|
883
871
|
"""
|
|
884
872
|
|
|
885
873
|
Args:
|
|
@@ -890,7 +878,7 @@ class AccessControl:
|
|
|
890
878
|
"""
|
|
891
879
|
result = None
|
|
892
880
|
relative_url = self.sast_ac + "/OIDCClients/{id}".format(id=oidc_client_id)
|
|
893
|
-
response = self.get_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
881
|
+
response = self.api_client.get_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
894
882
|
if response.status_code == OK:
|
|
895
883
|
item = response.json()
|
|
896
884
|
result = OIDCClient(
|
|
@@ -927,18 +915,19 @@ class AccessControl:
|
|
|
927
915
|
)
|
|
928
916
|
return result
|
|
929
917
|
|
|
930
|
-
def update_an_oidc_client(
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
918
|
+
def update_an_oidc_client(
|
|
919
|
+
self, oidc_client_id: int, update_access_token_claims_on_refresh: bool, access_token_type: int,
|
|
920
|
+
include_jwt_id: bool, always_include_user_claims_in_id_token: bool, client_id: str, client_name: str,
|
|
921
|
+
allow_offline_access: bool, client_secrets: List[str], allow_grant_types: List[str],
|
|
922
|
+
allowed_scopes: List[str], enabled: bool, require_client_secret: bool,
|
|
923
|
+
redirect_uris: List[str], post_logout_redirect_uris: List[str], front_channel_logout_uri: str,
|
|
924
|
+
front_channel_logout_session_required: bool, back_channel_logout_uri: str,
|
|
925
|
+
back_channel_logout_session_required: bool, identity_token_life_time: int,
|
|
926
|
+
access_token_life_time: int, authorization_code_life_time: int, absolute_refresh_token_life_time: int,
|
|
927
|
+
sliding_refresh_token_life_time: int, refresh_token_usage: int, refresh_token_expiration: int,
|
|
928
|
+
allowed_cors_origins: List[str], allowed_access_tokens_via_browser: bool,
|
|
929
|
+
claims: List[str], client_claims_prefix: str
|
|
930
|
+
) -> bool:
|
|
942
931
|
"""
|
|
943
932
|
|
|
944
933
|
Args:
|
|
@@ -1012,12 +1001,10 @@ class AccessControl:
|
|
|
1012
1001
|
)
|
|
1013
1002
|
|
|
1014
1003
|
relative_url = self.sast_ac + "/OIDCClients/{id}".format(id=oidc_client_id)
|
|
1015
|
-
response = self.put_request(relative_url=relative_url, data=put_data, is_iam=self.is_iam)
|
|
1016
|
-
|
|
1017
|
-
result = True
|
|
1018
|
-
return result
|
|
1004
|
+
response = self.api_client.put_request(relative_url=relative_url, data=put_data, is_iam=self.is_iam)
|
|
1005
|
+
return response.status_code == NO_CONTENT
|
|
1019
1006
|
|
|
1020
|
-
def delete_an_oidc_client(self, oidc_client_id):
|
|
1007
|
+
def delete_an_oidc_client(self, oidc_client_id: int) -> bool:
|
|
1021
1008
|
"""
|
|
1022
1009
|
|
|
1023
1010
|
Args:
|
|
@@ -1028,20 +1015,18 @@ class AccessControl:
|
|
|
1028
1015
|
"""
|
|
1029
1016
|
result = False
|
|
1030
1017
|
relative_url = self.sast_ac + "/OIDCClients/{id}".format(id=oidc_client_id)
|
|
1031
|
-
response = self.delete_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
1032
|
-
|
|
1033
|
-
result = True
|
|
1034
|
-
return result
|
|
1018
|
+
response = self.api_client.delete_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
1019
|
+
return response.status_code == NO_CONTENT
|
|
1035
1020
|
|
|
1036
|
-
def get_all_permissions(self):
|
|
1021
|
+
def get_all_permissions(self) -> List[Permission]:
|
|
1037
1022
|
"""
|
|
1038
1023
|
|
|
1039
1024
|
Returns:
|
|
1040
|
-
|
|
1025
|
+
List[Permission]
|
|
1041
1026
|
"""
|
|
1042
1027
|
result = []
|
|
1043
1028
|
relative_url = self.sast_ac + "/Permissions"
|
|
1044
|
-
response = self.get_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
1029
|
+
response = self.api_client.get_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
1045
1030
|
if response.status_code == OK:
|
|
1046
1031
|
result = [
|
|
1047
1032
|
Permission(
|
|
@@ -1053,7 +1038,7 @@ class AccessControl:
|
|
|
1053
1038
|
]
|
|
1054
1039
|
return result
|
|
1055
1040
|
|
|
1056
|
-
def get_permission_by_id(self, permission_id):
|
|
1041
|
+
def get_permission_by_id(self, permission_id: int) -> Permission:
|
|
1057
1042
|
"""
|
|
1058
1043
|
|
|
1059
1044
|
Args:
|
|
@@ -1064,7 +1049,7 @@ class AccessControl:
|
|
|
1064
1049
|
"""
|
|
1065
1050
|
result = None
|
|
1066
1051
|
relative_url = self.sast_ac + "/Permissions/{id}".format(id=permission_id)
|
|
1067
|
-
response = self.get_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
1052
|
+
response = self.api_client.get_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
1068
1053
|
if response.status_code == OK:
|
|
1069
1054
|
item = response.json()
|
|
1070
1055
|
result = Permission(
|
|
@@ -1075,15 +1060,15 @@ class AccessControl:
|
|
|
1075
1060
|
)
|
|
1076
1061
|
return result
|
|
1077
1062
|
|
|
1078
|
-
def get_all_roles(self):
|
|
1063
|
+
def get_all_roles(self) -> List[Role]:
|
|
1079
1064
|
"""
|
|
1080
1065
|
|
|
1081
1066
|
Returns:
|
|
1082
|
-
|
|
1067
|
+
List[Role]
|
|
1083
1068
|
"""
|
|
1084
1069
|
result = []
|
|
1085
1070
|
relative_url = self.sast_ac + "/Roles"
|
|
1086
|
-
response = self.get_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
1071
|
+
response = self.api_client.get_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
1087
1072
|
if response.status_code == OK:
|
|
1088
1073
|
result = [
|
|
1089
1074
|
Role(
|
|
@@ -1096,7 +1081,7 @@ class AccessControl:
|
|
|
1096
1081
|
]
|
|
1097
1082
|
return result
|
|
1098
1083
|
|
|
1099
|
-
def get_role_id_by_name(self, name):
|
|
1084
|
+
def get_role_id_by_name(self, name: str | List[str]) -> int | List[int] | None:
|
|
1100
1085
|
"""
|
|
1101
1086
|
|
|
1102
1087
|
Args:
|
|
@@ -1126,7 +1111,7 @@ class AccessControl:
|
|
|
1126
1111
|
if len(roles) > 1:
|
|
1127
1112
|
return [role.id for role in roles]
|
|
1128
1113
|
|
|
1129
|
-
def create_new_role(self, name, description, permission_ids):
|
|
1114
|
+
def create_new_role(self, name: str, description: str, permission_ids: List[int]) -> bool:
|
|
1130
1115
|
"""
|
|
1131
1116
|
|
|
1132
1117
|
Args:
|
|
@@ -1137,7 +1122,6 @@ class AccessControl:
|
|
|
1137
1122
|
Returns:
|
|
1138
1123
|
boolean
|
|
1139
1124
|
"""
|
|
1140
|
-
result = False
|
|
1141
1125
|
post_data = json.dumps(
|
|
1142
1126
|
{
|
|
1143
1127
|
"name": name,
|
|
@@ -1146,12 +1130,10 @@ class AccessControl:
|
|
|
1146
1130
|
}
|
|
1147
1131
|
)
|
|
1148
1132
|
relative_url = self.sast_ac + "/Roles"
|
|
1149
|
-
response = self.post_request(relative_url=relative_url, data=post_data, is_iam=self.is_iam)
|
|
1150
|
-
|
|
1151
|
-
result = True
|
|
1152
|
-
return result
|
|
1133
|
+
response = self.api_client.post_request(relative_url=relative_url, data=post_data, is_iam=self.is_iam)
|
|
1134
|
+
return response.status_code == CREATED
|
|
1153
1135
|
|
|
1154
|
-
def get_role_by_id(self, role_id):
|
|
1136
|
+
def get_role_by_id(self, role_id: int) -> Role:
|
|
1155
1137
|
"""
|
|
1156
1138
|
|
|
1157
1139
|
Args:
|
|
@@ -1162,7 +1144,7 @@ class AccessControl:
|
|
|
1162
1144
|
"""
|
|
1163
1145
|
result = None
|
|
1164
1146
|
relative_url = self.sast_ac + "/Roles/{id}".format(id=role_id)
|
|
1165
|
-
response = self.get_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
1147
|
+
response = self.api_client.get_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
1166
1148
|
if response.status_code == OK:
|
|
1167
1149
|
item = response.json()
|
|
1168
1150
|
result = Role(
|
|
@@ -1174,7 +1156,7 @@ class AccessControl:
|
|
|
1174
1156
|
)
|
|
1175
1157
|
return result
|
|
1176
1158
|
|
|
1177
|
-
def update_a_role(self, role_id, name, description, permission_ids):
|
|
1159
|
+
def update_a_role(self, role_id: int, name: str, description: str, permission_ids: List[int]) -> bool:
|
|
1178
1160
|
"""
|
|
1179
1161
|
|
|
1180
1162
|
Args:
|
|
@@ -1195,12 +1177,12 @@ class AccessControl:
|
|
|
1195
1177
|
}
|
|
1196
1178
|
)
|
|
1197
1179
|
relative_url = self.sast_ac + "/Roles/{id}".format(id=role_id)
|
|
1198
|
-
response = self.put_request(relative_url=relative_url, data=put_data, is_iam=self.is_iam)
|
|
1180
|
+
response = self.api_client.put_request(relative_url=relative_url, data=put_data, is_iam=self.is_iam)
|
|
1199
1181
|
if response.status_code == NO_CONTENT:
|
|
1200
1182
|
result = True
|
|
1201
1183
|
return result
|
|
1202
1184
|
|
|
1203
|
-
def delete_a_role(self, role_id):
|
|
1185
|
+
def delete_a_role(self, role_id: int) -> bool:
|
|
1204
1186
|
"""
|
|
1205
1187
|
|
|
1206
1188
|
Args:
|
|
@@ -1211,20 +1193,18 @@ class AccessControl:
|
|
|
1211
1193
|
"""
|
|
1212
1194
|
result = False
|
|
1213
1195
|
relative_url = self.sast_ac + "/Roles/{id}".format(id=role_id)
|
|
1214
|
-
response = self.delete_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
1215
|
-
|
|
1216
|
-
result = True
|
|
1217
|
-
return result
|
|
1196
|
+
response = self.api_client.delete_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
1197
|
+
return response.status_code == NO_CONTENT
|
|
1218
1198
|
|
|
1219
|
-
def get_all_saml_identity_providers(self):
|
|
1199
|
+
def get_all_saml_identity_providers(self) -> List[SAMLIdentityProvider]:
|
|
1220
1200
|
"""
|
|
1221
1201
|
|
|
1222
1202
|
Returns:
|
|
1223
|
-
|
|
1203
|
+
List[SAMLIdentityProvider]
|
|
1224
1204
|
"""
|
|
1225
1205
|
result = []
|
|
1226
1206
|
relative_url = self.sast_ac + "/SamlIdentityProviders"
|
|
1227
|
-
response = self.get_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
1207
|
+
response = self.api_client.get_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
1228
1208
|
if response.status_code == OK:
|
|
1229
1209
|
result = [
|
|
1230
1210
|
SAMLIdentityProvider(
|
|
@@ -1246,9 +1226,11 @@ class AccessControl:
|
|
|
1246
1226
|
]
|
|
1247
1227
|
return result
|
|
1248
1228
|
|
|
1249
|
-
def create_new_saml_identity_provider(
|
|
1250
|
-
|
|
1251
|
-
|
|
1229
|
+
def create_new_saml_identity_provider(
|
|
1230
|
+
self, certificate_file_path: str, active: bool, name: str, issuer: str, login_url: str, logout_url: str,
|
|
1231
|
+
error_url: str, sign_authn_request: bool, authn_request_binding: str, is_manual_management: bool,
|
|
1232
|
+
default_team_id: int, default_role_id: int
|
|
1233
|
+
) -> bool:
|
|
1252
1234
|
"""
|
|
1253
1235
|
|
|
1254
1236
|
Args:
|
|
@@ -1288,12 +1270,10 @@ class AccessControl:
|
|
|
1288
1270
|
)
|
|
1289
1271
|
headers = {"Content-Type": m.content_type}
|
|
1290
1272
|
relative_url = self.sast_ac + "/SamlIdentityProviders"
|
|
1291
|
-
response = self.post_request(relative_url=relative_url, data=m, headers=headers, is_iam=self.is_iam)
|
|
1292
|
-
|
|
1293
|
-
result = True
|
|
1294
|
-
return result
|
|
1273
|
+
response = self.api_client.post_request(relative_url=relative_url, data=m, headers=headers, is_iam=self.is_iam)
|
|
1274
|
+
return response.status_code == CREATED
|
|
1295
1275
|
|
|
1296
|
-
def get_saml_identity_provider_by_id(self, saml_identity_provider_id):
|
|
1276
|
+
def get_saml_identity_provider_by_id(self, saml_identity_provider_id: int) -> SAMLIdentityProvider:
|
|
1297
1277
|
"""
|
|
1298
1278
|
|
|
1299
1279
|
Args:
|
|
@@ -1304,7 +1284,7 @@ class AccessControl:
|
|
|
1304
1284
|
"""
|
|
1305
1285
|
result = None
|
|
1306
1286
|
relative_url = self.sast_ac + "/SamlIdentityProviders/{id}".format(id=saml_identity_provider_id)
|
|
1307
|
-
response = self.get_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
1287
|
+
response = self.api_client.get_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
1308
1288
|
if response.status_code == OK:
|
|
1309
1289
|
item = response.json()
|
|
1310
1290
|
result = SAMLIdentityProvider(
|
|
@@ -1325,9 +1305,11 @@ class AccessControl:
|
|
|
1325
1305
|
)
|
|
1326
1306
|
return result
|
|
1327
1307
|
|
|
1328
|
-
def update_new_saml_identity_provider(
|
|
1329
|
-
|
|
1330
|
-
|
|
1308
|
+
def update_new_saml_identity_provider(
|
|
1309
|
+
self, saml_identity_provider_id: int, certificate_file: str, active: bool, name: str, issuer: str,
|
|
1310
|
+
login_url: str, logout_url: str, error_url: str, sign_authn_request: bool, authn_request_binding: str,
|
|
1311
|
+
is_manual_management: bool, default_team_id: int, default_role_id: int
|
|
1312
|
+
) -> bool:
|
|
1331
1313
|
"""
|
|
1332
1314
|
|
|
1333
1315
|
Args:
|
|
@@ -1368,12 +1350,10 @@ class AccessControl:
|
|
|
1368
1350
|
)
|
|
1369
1351
|
headers = {"Content-Type": m.content_type}
|
|
1370
1352
|
relative_url = self.sast_ac + "/SamlIdentityProviders/{id}".format(id=saml_identity_provider_id)
|
|
1371
|
-
response = self.put_request(relative_url=relative_url, data=m, headers=headers, is_iam=self.is_iam)
|
|
1372
|
-
|
|
1373
|
-
result = True
|
|
1374
|
-
return result
|
|
1353
|
+
response = self.api_client.put_request(relative_url=relative_url, data=m, headers=headers, is_iam=self.is_iam)
|
|
1354
|
+
return response.status_code == NO_CONTENT
|
|
1375
1355
|
|
|
1376
|
-
def delete_a_saml_identity_provider(self, saml_identity_provider_id):
|
|
1356
|
+
def delete_a_saml_identity_provider(self, saml_identity_provider_id: int) -> bool:
|
|
1377
1357
|
"""
|
|
1378
1358
|
|
|
1379
1359
|
Args:
|
|
@@ -1384,12 +1364,10 @@ class AccessControl:
|
|
|
1384
1364
|
"""
|
|
1385
1365
|
result = False
|
|
1386
1366
|
relative_url = self.sast_ac + "/SamlIdentityProviders/{id}".format(id=saml_identity_provider_id)
|
|
1387
|
-
response = self.delete_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
1388
|
-
|
|
1389
|
-
result = True
|
|
1390
|
-
return result
|
|
1367
|
+
response = self.api_client.delete_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
1368
|
+
return response.status_code == NO_CONTENT
|
|
1391
1369
|
|
|
1392
|
-
def get_details_of_saml_role_mappings(self, saml_identity_provider_id=None):
|
|
1370
|
+
def get_details_of_saml_role_mappings(self, saml_identity_provider_id: int = None) -> List[SAMLRoleMapping]:
|
|
1393
1371
|
"""
|
|
1394
1372
|
|
|
1395
1373
|
Args:
|
|
@@ -1402,7 +1380,7 @@ class AccessControl:
|
|
|
1402
1380
|
relative_url = self.sast_ac + "/SamlRoleMappings"
|
|
1403
1381
|
if saml_identity_provider_id:
|
|
1404
1382
|
relative_url += "?samlProviderId={}".format(saml_identity_provider_id)
|
|
1405
|
-
response = self.get_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
1383
|
+
response = self.api_client.get_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
1406
1384
|
if response.status_code == OK:
|
|
1407
1385
|
result = [
|
|
1408
1386
|
SAMLRoleMapping(
|
|
@@ -1415,7 +1393,9 @@ class AccessControl:
|
|
|
1415
1393
|
]
|
|
1416
1394
|
return result
|
|
1417
1395
|
|
|
1418
|
-
def set_saml_group_and_role_mapping_details(
|
|
1396
|
+
def set_saml_group_and_role_mapping_details(
|
|
1397
|
+
self, saml_identity_provider_id: int, sample_role_mapping_details: List[dict]=()
|
|
1398
|
+
) -> bool:
|
|
1419
1399
|
"""
|
|
1420
1400
|
|
|
1421
1401
|
Args:
|
|
@@ -1444,12 +1424,12 @@ class AccessControl:
|
|
|
1444
1424
|
relative_url = self.sast_ac + "/SamlIdentityProviders/{samlProviderId}/RoleMappings".format(
|
|
1445
1425
|
samlProviderId=saml_identity_provider_id
|
|
1446
1426
|
)
|
|
1447
|
-
response = self.put_request(relative_url=relative_url, data=put_data, is_iam=self.is_iam)
|
|
1427
|
+
response = self.api_client.put_request(relative_url=relative_url, data=put_data, is_iam=self.is_iam)
|
|
1448
1428
|
if response.status_code == NO_CONTENT:
|
|
1449
1429
|
result = True
|
|
1450
1430
|
return result
|
|
1451
1431
|
|
|
1452
|
-
def get_saml_service_provider_metadata(self):
|
|
1432
|
+
def get_saml_service_provider_metadata(self) -> bytes:
|
|
1453
1433
|
"""
|
|
1454
1434
|
|
|
1455
1435
|
Returns:
|
|
@@ -1457,12 +1437,12 @@ class AccessControl:
|
|
|
1457
1437
|
"""
|
|
1458
1438
|
result = None
|
|
1459
1439
|
relative_url = self.sast_ac + "/SamlServiceProvider/metadata"
|
|
1460
|
-
response = self.get_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
1440
|
+
response = self.api_client.get_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
1461
1441
|
if response.status_code == OK:
|
|
1462
1442
|
result = response.content
|
|
1463
1443
|
return result
|
|
1464
1444
|
|
|
1465
|
-
def get_saml_service_provider(self):
|
|
1445
|
+
def get_saml_service_provider(self) -> SAMLServiceProvider:
|
|
1466
1446
|
"""
|
|
1467
1447
|
|
|
1468
1448
|
Returns:
|
|
@@ -1470,7 +1450,7 @@ class AccessControl:
|
|
|
1470
1450
|
"""
|
|
1471
1451
|
result = None
|
|
1472
1452
|
relative_url = self.sast_ac + "/SamlServiceProvider"
|
|
1473
|
-
response = self.get_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
1453
|
+
response = self.api_client.get_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
1474
1454
|
if response.status_code == OK:
|
|
1475
1455
|
item = response.json()
|
|
1476
1456
|
result = SAMLServiceProvider(
|
|
@@ -1481,7 +1461,9 @@ class AccessControl:
|
|
|
1481
1461
|
)
|
|
1482
1462
|
return result
|
|
1483
1463
|
|
|
1484
|
-
def update_a_saml_service_provider(
|
|
1464
|
+
def update_a_saml_service_provider(
|
|
1465
|
+
self, certificate_file: str, certificate_password: str, issuer: str
|
|
1466
|
+
) -> bool:
|
|
1485
1467
|
"""
|
|
1486
1468
|
|
|
1487
1469
|
Args:
|
|
@@ -1504,25 +1486,25 @@ class AccessControl:
|
|
|
1504
1486
|
)
|
|
1505
1487
|
headers = {"Content-Type": m.content_type}
|
|
1506
1488
|
relative_url = self.sast_ac + "/SamlServiceProvider"
|
|
1507
|
-
response = self.put_request(relative_url=relative_url, data=m, headers=headers, is_iam=self.is_iam)
|
|
1489
|
+
response = self.api_client.put_request(relative_url=relative_url, data=m, headers=headers, is_iam=self.is_iam)
|
|
1508
1490
|
if response.status_code == NO_CONTENT:
|
|
1509
1491
|
result = True
|
|
1510
1492
|
return result
|
|
1511
1493
|
|
|
1512
|
-
def get_details_of_saml_team_mappings(self, saml_identity_provider_id=None):
|
|
1494
|
+
def get_details_of_saml_team_mappings(self, saml_identity_provider_id: int = None) -> List[SAMLTeamMapping]:
|
|
1513
1495
|
"""
|
|
1514
1496
|
|
|
1515
1497
|
Args:
|
|
1516
1498
|
saml_identity_provider_id (int):
|
|
1517
1499
|
|
|
1518
1500
|
Returns:
|
|
1519
|
-
|
|
1501
|
+
List[SAMLTeamMapping]
|
|
1520
1502
|
"""
|
|
1521
1503
|
result = []
|
|
1522
1504
|
relative_url = self.sast_ac + "/SamlTeamMappings"
|
|
1523
1505
|
if saml_identity_provider_id:
|
|
1524
1506
|
relative_url += "?samlProviderId={}".format(saml_identity_provider_id)
|
|
1525
|
-
response = self.get_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
1507
|
+
response = self.api_client.get_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
1526
1508
|
if response.status_code == OK:
|
|
1527
1509
|
result = [
|
|
1528
1510
|
SAMLTeamMapping(
|
|
@@ -1535,7 +1517,9 @@ class AccessControl:
|
|
|
1535
1517
|
]
|
|
1536
1518
|
return result
|
|
1537
1519
|
|
|
1538
|
-
def set_saml_group_and_team_mapping_details(
|
|
1520
|
+
def set_saml_group_and_team_mapping_details(
|
|
1521
|
+
self, saml_identity_provider_id: int, saml_team_mapping_details: List[dict] = ()
|
|
1522
|
+
) -> bool:
|
|
1539
1523
|
"""
|
|
1540
1524
|
|
|
1541
1525
|
Args:
|
|
@@ -1563,20 +1547,20 @@ class AccessControl:
|
|
|
1563
1547
|
relative_url = self.sast_ac + "/SamlIdentityProviders/{id}/TeamMappings".format(
|
|
1564
1548
|
id=saml_identity_provider_id
|
|
1565
1549
|
)
|
|
1566
|
-
response = self.put_request(relative_url=relative_url, data=put_data, is_iam=self.is_iam)
|
|
1550
|
+
response = self.api_client.put_request(relative_url=relative_url, data=put_data, is_iam=self.is_iam)
|
|
1567
1551
|
if response.status_code == NO_CONTENT:
|
|
1568
1552
|
result = True
|
|
1569
1553
|
return result
|
|
1570
1554
|
|
|
1571
|
-
def get_all_service_providers(self):
|
|
1555
|
+
def get_all_service_providers(self) -> List[ServiceProvider]:
|
|
1572
1556
|
"""
|
|
1573
1557
|
access control 2.0
|
|
1574
1558
|
Returns:
|
|
1575
|
-
|
|
1559
|
+
List[ServiceProvider]
|
|
1576
1560
|
"""
|
|
1577
1561
|
result = []
|
|
1578
1562
|
relative_url = self.sast_ac + "/ServiceProviders"
|
|
1579
|
-
response = self.get_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
1563
|
+
response = self.api_client.get_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
1580
1564
|
if response.status_code == OK:
|
|
1581
1565
|
result = [
|
|
1582
1566
|
ServiceProvider(
|
|
@@ -1586,7 +1570,7 @@ class AccessControl:
|
|
|
1586
1570
|
]
|
|
1587
1571
|
return result
|
|
1588
1572
|
|
|
1589
|
-
def get_service_provider_by_id(self, service_provider_id):
|
|
1573
|
+
def get_service_provider_by_id(self, service_provider_id: int) -> ServiceProvider:
|
|
1590
1574
|
"""
|
|
1591
1575
|
|
|
1592
1576
|
Args:
|
|
@@ -1597,7 +1581,7 @@ class AccessControl:
|
|
|
1597
1581
|
"""
|
|
1598
1582
|
result = None
|
|
1599
1583
|
relative_url = self.sast_ac + "/ServiceProviders/{id}".format(id=service_provider_id)
|
|
1600
|
-
response = self.get_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
1584
|
+
response = self.api_client.get_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
1601
1585
|
if response.status_code == OK:
|
|
1602
1586
|
item = response.json()
|
|
1603
1587
|
result = ServiceProvider(
|
|
@@ -1606,15 +1590,15 @@ class AccessControl:
|
|
|
1606
1590
|
)
|
|
1607
1591
|
return result
|
|
1608
1592
|
|
|
1609
|
-
def get_all_smtp_settings(self):
|
|
1593
|
+
def get_all_smtp_settings(self) -> List[SMTPSetting]:
|
|
1610
1594
|
"""
|
|
1611
1595
|
|
|
1612
1596
|
Returns:
|
|
1613
|
-
|
|
1597
|
+
List[SMTPSetting]
|
|
1614
1598
|
"""
|
|
1615
1599
|
result = []
|
|
1616
1600
|
relative_url = self.sast_ac + "/SMTPSettings"
|
|
1617
|
-
response = self.get_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
1601
|
+
response = self.api_client.get_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
1618
1602
|
if response.status_code == OK:
|
|
1619
1603
|
result = [
|
|
1620
1604
|
SMTPSetting(
|
|
@@ -1629,8 +1613,10 @@ class AccessControl:
|
|
|
1629
1613
|
]
|
|
1630
1614
|
return result
|
|
1631
1615
|
|
|
1632
|
-
def create_smtp_settings(
|
|
1633
|
-
|
|
1616
|
+
def create_smtp_settings(
|
|
1617
|
+
self, password: str, host: str, port: int, encryption_type: str, from_address: str,
|
|
1618
|
+
use_default_credentials: str, username: str
|
|
1619
|
+
) -> bool:
|
|
1634
1620
|
"""
|
|
1635
1621
|
|
|
1636
1622
|
Args:
|
|
@@ -1658,12 +1644,10 @@ class AccessControl:
|
|
|
1658
1644
|
}
|
|
1659
1645
|
)
|
|
1660
1646
|
relative_url = self.sast_ac + "/SMTPSettings"
|
|
1661
|
-
response = self.post_request(relative_url=relative_url, data=post_data, is_iam=self.is_iam)
|
|
1662
|
-
|
|
1663
|
-
result = True
|
|
1664
|
-
return result
|
|
1647
|
+
response = self.api_client.post_request(relative_url=relative_url, data=post_data, is_iam=self.is_iam)
|
|
1648
|
+
return response.status_code == CREATED
|
|
1665
1649
|
|
|
1666
|
-
def get_smtp_settings_by_id(self, smtp_settings_id):
|
|
1650
|
+
def get_smtp_settings_by_id(self, smtp_settings_id: int) -> SMTPSetting:
|
|
1667
1651
|
"""
|
|
1668
1652
|
|
|
1669
1653
|
Args:
|
|
@@ -1674,7 +1658,7 @@ class AccessControl:
|
|
|
1674
1658
|
"""
|
|
1675
1659
|
result = None
|
|
1676
1660
|
relative_url = self.sast_ac + "/SMTPSettings/{id}".format(id=smtp_settings_id)
|
|
1677
|
-
response = self.get_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
1661
|
+
response = self.api_client.get_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
1678
1662
|
if response.status_code == OK:
|
|
1679
1663
|
item = response.json()
|
|
1680
1664
|
result = SMTPSetting(
|
|
@@ -1688,8 +1672,10 @@ class AccessControl:
|
|
|
1688
1672
|
)
|
|
1689
1673
|
return result
|
|
1690
1674
|
|
|
1691
|
-
def update_smtp_settings(
|
|
1692
|
-
|
|
1675
|
+
def update_smtp_settings(
|
|
1676
|
+
self, smtp_settings_id: int, password: str, host: str, port: int, encryption_type: str, from_address: str,
|
|
1677
|
+
use_default_credentials: str, username: str
|
|
1678
|
+
) -> bool:
|
|
1693
1679
|
"""
|
|
1694
1680
|
|
|
1695
1681
|
Args:
|
|
@@ -1718,12 +1704,10 @@ class AccessControl:
|
|
|
1718
1704
|
}
|
|
1719
1705
|
)
|
|
1720
1706
|
relative_url = self.sast_ac + "/SMTPSettings/{id}".format(id=smtp_settings_id)
|
|
1721
|
-
response = self.put_request(relative_url=relative_url, data=put_data, is_iam=self.is_iam)
|
|
1722
|
-
|
|
1723
|
-
result = True
|
|
1724
|
-
return result
|
|
1707
|
+
response = self.api_client.put_request(relative_url=relative_url, data=put_data, is_iam=self.is_iam)
|
|
1708
|
+
return response.status_code == NO_CONTENT
|
|
1725
1709
|
|
|
1726
|
-
def delete_smtp_settings(self, smtp_settings_id):
|
|
1710
|
+
def delete_smtp_settings(self, smtp_settings_id: int) -> bool:
|
|
1727
1711
|
"""
|
|
1728
1712
|
|
|
1729
1713
|
Args:
|
|
@@ -1734,13 +1718,13 @@ class AccessControl:
|
|
|
1734
1718
|
"""
|
|
1735
1719
|
result = False
|
|
1736
1720
|
relative_url = self.sast_ac + "/SMTPSettings/{id}".format(id=smtp_settings_id)
|
|
1737
|
-
response = self.delete_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
1738
|
-
|
|
1739
|
-
result = True
|
|
1740
|
-
return result
|
|
1721
|
+
response = self.api_client.delete_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
1722
|
+
return response.status_code == NO_CONTENT
|
|
1741
1723
|
|
|
1742
|
-
def test_smtp_connection(
|
|
1743
|
-
|
|
1724
|
+
def test_smtp_connection(
|
|
1725
|
+
self, receiver_email: str, password: str, host: str, port: int, encryption_type: str, from_address: str,
|
|
1726
|
+
use_default_credentials: str, username: str
|
|
1727
|
+
) -> bool:
|
|
1744
1728
|
"""
|
|
1745
1729
|
|
|
1746
1730
|
Args:
|
|
@@ -1770,20 +1754,18 @@ class AccessControl:
|
|
|
1770
1754
|
}
|
|
1771
1755
|
)
|
|
1772
1756
|
relative_url = self.sast_ac + "/SMTPSettings/testconnection"
|
|
1773
|
-
response = self.post_request(relative_url=relative_url, data=post_data, is_iam=self.is_iam)
|
|
1774
|
-
|
|
1775
|
-
result = True
|
|
1776
|
-
return result
|
|
1757
|
+
response = self.api_client.post_request(relative_url=relative_url, data=post_data, is_iam=self.is_iam)
|
|
1758
|
+
return response.status_code == OK
|
|
1777
1759
|
|
|
1778
|
-
def get_all_system_locales(self):
|
|
1760
|
+
def get_all_system_locales(self) -> List[SystemLocale]:
|
|
1779
1761
|
"""
|
|
1780
1762
|
|
|
1781
1763
|
Returns:
|
|
1782
|
-
|
|
1764
|
+
List[SystemLocale]
|
|
1783
1765
|
"""
|
|
1784
1766
|
result = []
|
|
1785
1767
|
relative_url = self.sast_ac + "/SystemLocales"
|
|
1786
|
-
response = self.get_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
1768
|
+
response = self.api_client.get_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
1787
1769
|
if response.status_code == OK:
|
|
1788
1770
|
result = [
|
|
1789
1771
|
SystemLocale(
|
|
@@ -1795,25 +1777,25 @@ class AccessControl:
|
|
|
1795
1777
|
]
|
|
1796
1778
|
return result
|
|
1797
1779
|
|
|
1798
|
-
def get_members_by_team_id(self, team_id):
|
|
1780
|
+
def get_members_by_team_id(self, team_id: int) -> List[User]:
|
|
1799
1781
|
"""
|
|
1800
1782
|
|
|
1801
1783
|
Args:
|
|
1802
1784
|
team_id (int):
|
|
1803
1785
|
|
|
1804
1786
|
Returns:
|
|
1805
|
-
|
|
1787
|
+
List[User]
|
|
1806
1788
|
"""
|
|
1807
1789
|
result = []
|
|
1808
1790
|
relative_url = self.sast_ac + "/Teams/{id}/Users".format(id=team_id)
|
|
1809
|
-
response = self.get_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
1791
|
+
response = self.api_client.get_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
1810
1792
|
if response.status_code == OK:
|
|
1811
1793
|
result = [
|
|
1812
1794
|
construct_user(item) for item in response.json()
|
|
1813
1795
|
]
|
|
1814
1796
|
return result
|
|
1815
1797
|
|
|
1816
|
-
def update_members_by_team_id(self, team_id, user_ids):
|
|
1798
|
+
def update_members_by_team_id(self, team_id: int, user_ids: List[int]) -> int:
|
|
1817
1799
|
"""
|
|
1818
1800
|
|
|
1819
1801
|
Args:
|
|
@@ -1828,12 +1810,12 @@ class AccessControl:
|
|
|
1828
1810
|
{"userIds": user_ids}
|
|
1829
1811
|
)
|
|
1830
1812
|
relative_url = self.sast_ac + "/Teams/{teamId}/Users".format(teamId=team_id)
|
|
1831
|
-
response = self.put_request(relative_url=relative_url, data=put_data, is_iam=self.is_iam)
|
|
1813
|
+
response = self.api_client.put_request(relative_url=relative_url, data=put_data, is_iam=self.is_iam)
|
|
1832
1814
|
if response.status_code == NO_CONTENT:
|
|
1833
1815
|
result = True
|
|
1834
1816
|
return result
|
|
1835
1817
|
|
|
1836
|
-
def add_a_user_to_a_team(self, team_id, user_id):
|
|
1818
|
+
def add_a_user_to_a_team(self, team_id: int, user_id: int) -> bool:
|
|
1837
1819
|
"""
|
|
1838
1820
|
|
|
1839
1821
|
Args:
|
|
@@ -1847,12 +1829,10 @@ class AccessControl:
|
|
|
1847
1829
|
relative_url = self.sast_ac + "/Teams/{teamId}/Users/{userId}".format(
|
|
1848
1830
|
teamId=team_id, userId=user_id
|
|
1849
1831
|
)
|
|
1850
|
-
response = self.post_request(relative_url=relative_url, data=None, is_iam=self.is_iam)
|
|
1851
|
-
|
|
1852
|
-
result = True
|
|
1853
|
-
return result
|
|
1832
|
+
response = self.api_client.post_request(relative_url=relative_url, data=None, is_iam=self.is_iam)
|
|
1833
|
+
return response.status_code == NO_CONTENT
|
|
1854
1834
|
|
|
1855
|
-
def delete_a_member_from_a_team(self, team_id, user_id):
|
|
1835
|
+
def delete_a_member_from_a_team(self, team_id: int, user_id: int) -> bool:
|
|
1856
1836
|
"""
|
|
1857
1837
|
|
|
1858
1838
|
Args:
|
|
@@ -1867,20 +1847,18 @@ class AccessControl:
|
|
|
1867
1847
|
teamId=team_id,
|
|
1868
1848
|
userId=user_id
|
|
1869
1849
|
)
|
|
1870
|
-
response = self.delete_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
1871
|
-
|
|
1872
|
-
result = True
|
|
1873
|
-
return result
|
|
1850
|
+
response = self.api_client.delete_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
1851
|
+
return response.status_code == NO_CONTENT
|
|
1874
1852
|
|
|
1875
|
-
def get_all_teams(self):
|
|
1853
|
+
def get_all_teams(self) -> List[Team]:
|
|
1876
1854
|
"""
|
|
1877
1855
|
|
|
1878
1856
|
Returns:
|
|
1879
|
-
|
|
1857
|
+
List[Team]
|
|
1880
1858
|
"""
|
|
1881
1859
|
result = []
|
|
1882
1860
|
relative_url = self.sast_ac + "/Teams"
|
|
1883
|
-
response = self.get_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
1861
|
+
response = self.api_client.get_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
1884
1862
|
if response.status_code == OK:
|
|
1885
1863
|
result = [
|
|
1886
1864
|
Team(
|
|
@@ -1892,7 +1870,7 @@ class AccessControl:
|
|
|
1892
1870
|
]
|
|
1893
1871
|
return result
|
|
1894
1872
|
|
|
1895
|
-
def get_team_id_by_full_name(self, full_name):
|
|
1873
|
+
def get_team_id_by_full_name(self, full_name: str) -> int:
|
|
1896
1874
|
"""
|
|
1897
1875
|
|
|
1898
1876
|
Args:
|
|
@@ -1911,7 +1889,7 @@ class AccessControl:
|
|
|
1911
1889
|
|
|
1912
1890
|
return team_id
|
|
1913
1891
|
|
|
1914
|
-
def create_new_team(self, name, parent_id):
|
|
1892
|
+
def create_new_team(self, name: str, parent_id: int) -> bool:
|
|
1915
1893
|
"""
|
|
1916
1894
|
|
|
1917
1895
|
Args:
|
|
@@ -1929,19 +1907,17 @@ class AccessControl:
|
|
|
1929
1907
|
}
|
|
1930
1908
|
)
|
|
1931
1909
|
relative_url = self.sast_ac + "/Teams"
|
|
1932
|
-
response = self.post_request(relative_url=relative_url, data=post_data, is_iam=self.is_iam)
|
|
1933
|
-
|
|
1934
|
-
result = True
|
|
1935
|
-
return result
|
|
1910
|
+
response = self.api_client.post_request(relative_url=relative_url, data=post_data, is_iam=self.is_iam)
|
|
1911
|
+
return response.status_code == CREATED
|
|
1936
1912
|
|
|
1937
|
-
def create_teams_recursively(self, team_full_name):
|
|
1913
|
+
def create_teams_recursively(self, team_full_name: str) -> List[int]:
|
|
1938
1914
|
"""
|
|
1939
1915
|
create new team by team full name recursively. Check the team existence start from root team /CxServer
|
|
1940
1916
|
Args:
|
|
1941
1917
|
team_full_name (str):
|
|
1942
1918
|
|
|
1943
1919
|
Returns:
|
|
1944
|
-
|
|
1920
|
+
List[int]
|
|
1945
1921
|
"""
|
|
1946
1922
|
result = []
|
|
1947
1923
|
if isinstance(team_full_name, str) and team_full_name.startswith("/CxServer"):
|
|
@@ -1960,7 +1936,7 @@ class AccessControl:
|
|
|
1960
1936
|
|
|
1961
1937
|
return result
|
|
1962
1938
|
|
|
1963
|
-
def get_team_by_id(self, team_id):
|
|
1939
|
+
def get_team_by_id(self, team_id: int) -> Team:
|
|
1964
1940
|
"""
|
|
1965
1941
|
|
|
1966
1942
|
Args:
|
|
@@ -1971,7 +1947,7 @@ class AccessControl:
|
|
|
1971
1947
|
"""
|
|
1972
1948
|
result = None
|
|
1973
1949
|
relative_url = self.sast_ac + "/Teams/{id}".format(id=team_id)
|
|
1974
|
-
response = self.get_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
1950
|
+
response = self.api_client.get_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
1975
1951
|
if response.status_code == OK:
|
|
1976
1952
|
item = response.json()
|
|
1977
1953
|
result = Team(
|
|
@@ -1982,7 +1958,7 @@ class AccessControl:
|
|
|
1982
1958
|
)
|
|
1983
1959
|
return result
|
|
1984
1960
|
|
|
1985
|
-
def update_a_team(self, team_id, name, parent_id):
|
|
1961
|
+
def update_a_team(self, team_id: int, name: str, parent_id: int) -> bool:
|
|
1986
1962
|
"""
|
|
1987
1963
|
|
|
1988
1964
|
Args:
|
|
@@ -2001,12 +1977,12 @@ class AccessControl:
|
|
|
2001
1977
|
}
|
|
2002
1978
|
)
|
|
2003
1979
|
relative_url = self.sast_ac + "/Teams/{id}".format(id=team_id)
|
|
2004
|
-
response = self.put_request(relative_url=relative_url, data=put_data, is_iam=self.is_iam)
|
|
1980
|
+
response = self.api_client.put_request(relative_url=relative_url, data=put_data, is_iam=self.is_iam)
|
|
2005
1981
|
if response.status_code == NO_CONTENT:
|
|
2006
1982
|
result = True
|
|
2007
1983
|
return result
|
|
2008
1984
|
|
|
2009
|
-
def delete_a_team(self, team_id):
|
|
1985
|
+
def delete_a_team(self, team_id: int) -> bool:
|
|
2010
1986
|
"""
|
|
2011
1987
|
|
|
2012
1988
|
Args:
|
|
@@ -2017,25 +1993,22 @@ class AccessControl:
|
|
|
2017
1993
|
"""
|
|
2018
1994
|
result = False
|
|
2019
1995
|
relative_url = self.sast_ac + "/Teams/{id}".format(id=team_id)
|
|
2020
|
-
response = self.delete_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
1996
|
+
response = self.api_client.delete_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
2021
1997
|
if response.status_code == NO_CONTENT:
|
|
2022
1998
|
result = True
|
|
2023
1999
|
return result
|
|
2024
2000
|
|
|
2025
|
-
def generate_a_new_token_signing_certificate(self):
|
|
2001
|
+
def generate_a_new_token_signing_certificate(self) -> bool:
|
|
2026
2002
|
"""
|
|
2027
2003
|
|
|
2028
2004
|
Returns:
|
|
2029
2005
|
bool
|
|
2030
2006
|
"""
|
|
2031
|
-
result = False
|
|
2032
2007
|
relative_url = self.sast_ac + "/TokenSigningCertificateGeneration"
|
|
2033
|
-
response = self.post_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
2034
|
-
|
|
2035
|
-
result = True
|
|
2036
|
-
return result
|
|
2008
|
+
response = self.api_client.post_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
2009
|
+
return response.status_code == CREATED
|
|
2037
2010
|
|
|
2038
|
-
def upload_a_new_token_signing_certificate(self, certificate_file_path, certificate_password):
|
|
2011
|
+
def upload_a_new_token_signing_certificate(self, certificate_file_path: str, certificate_password: str) -> bool:
|
|
2039
2012
|
"""
|
|
2040
2013
|
|
|
2041
2014
|
Args:
|
|
@@ -2055,27 +2028,25 @@ class AccessControl:
|
|
|
2055
2028
|
}
|
|
2056
2029
|
)
|
|
2057
2030
|
headers = {"Content-Type": m.content_type}
|
|
2058
|
-
response = self.post_request(relative_url=relative_url, data=m, headers=headers, is_iam=self.is_iam)
|
|
2059
|
-
|
|
2060
|
-
result = True
|
|
2061
|
-
return result
|
|
2031
|
+
response = self.api_client.post_request(relative_url=relative_url, data=m, headers=headers, is_iam=self.is_iam)
|
|
2032
|
+
return response.status_code == CREATED
|
|
2062
2033
|
|
|
2063
|
-
def get_all_users(self):
|
|
2034
|
+
def get_all_users(self) -> List[User]:
|
|
2064
2035
|
"""
|
|
2065
2036
|
|
|
2066
2037
|
Returns:
|
|
2067
|
-
|
|
2038
|
+
List[User]
|
|
2068
2039
|
"""
|
|
2069
2040
|
result = []
|
|
2070
2041
|
relative_url = self.sast_ac + "/Users"
|
|
2071
|
-
response = self.get_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
2042
|
+
response = self.api_client.get_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
2072
2043
|
if response.status_code == OK:
|
|
2073
2044
|
result = [
|
|
2074
2045
|
construct_user(item) for item in response.json()
|
|
2075
2046
|
]
|
|
2076
2047
|
return result
|
|
2077
2048
|
|
|
2078
|
-
def get_user_id_by_name(self, username):
|
|
2049
|
+
def get_user_id_by_name(self, username: str) -> int:
|
|
2079
2050
|
"""
|
|
2080
2051
|
|
|
2081
2052
|
Args:
|
|
@@ -2092,9 +2063,12 @@ class AccessControl:
|
|
|
2092
2063
|
user_id = user[0].id
|
|
2093
2064
|
return user_id
|
|
2094
2065
|
|
|
2095
|
-
def create_new_user(
|
|
2096
|
-
|
|
2097
|
-
|
|
2066
|
+
def create_new_user(
|
|
2067
|
+
self, username: str, password: str, role_ids: List[int], team_ids: List[int],
|
|
2068
|
+
authentication_provider_id: int, first_name: str, last_name: str, email: str, phone_number: str,
|
|
2069
|
+
cell_phone_number: str, job_title: str, other: str, country: str, active: str,
|
|
2070
|
+
expiration_date: str, allowed_ip_list: str, locale_id: int
|
|
2071
|
+
) -> bool:
|
|
2098
2072
|
"""
|
|
2099
2073
|
|
|
2100
2074
|
Args:
|
|
@@ -2142,12 +2116,10 @@ class AccessControl:
|
|
|
2142
2116
|
}
|
|
2143
2117
|
)
|
|
2144
2118
|
relative_url = self.sast_ac + "/Users"
|
|
2145
|
-
response = self.post_request(relative_url=relative_url, data=post_data, is_iam=self.is_iam)
|
|
2146
|
-
|
|
2147
|
-
result = True
|
|
2148
|
-
return result
|
|
2119
|
+
response = self.api_client.post_request(relative_url=relative_url, data=post_data, is_iam=self.is_iam)
|
|
2120
|
+
return response.status_code == CREATED
|
|
2149
2121
|
|
|
2150
|
-
def get_user_by_id(self, user_id):
|
|
2122
|
+
def get_user_by_id(self, user_id: int) -> User:
|
|
2151
2123
|
"""
|
|
2152
2124
|
|
|
2153
2125
|
Args:
|
|
@@ -2158,14 +2130,17 @@ class AccessControl:
|
|
|
2158
2130
|
"""
|
|
2159
2131
|
result = None
|
|
2160
2132
|
relative_url = self.sast_ac + "/Users/{id}".format(id=user_id)
|
|
2161
|
-
response = self.get_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
2133
|
+
response = self.api_client.get_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
2162
2134
|
if response.status_code == OK:
|
|
2163
2135
|
item = response.json()
|
|
2164
2136
|
result = construct_user(item)
|
|
2165
2137
|
return result
|
|
2166
2138
|
|
|
2167
|
-
def update_a_user(
|
|
2168
|
-
|
|
2139
|
+
def update_a_user(
|
|
2140
|
+
self, user_id: int, role_ids: List[int], team_ids: List[int], first_name: str, last_name: str, email: str,
|
|
2141
|
+
phone_number: str, cell_phone_number: str, job_title: str, other: str, country: str, active: str,
|
|
2142
|
+
expiration_date: str, allowed_ip_list: str, locale_id: int
|
|
2143
|
+
) -> bool:
|
|
2169
2144
|
"""
|
|
2170
2145
|
|
|
2171
2146
|
Args:
|
|
@@ -2208,12 +2183,12 @@ class AccessControl:
|
|
|
2208
2183
|
}
|
|
2209
2184
|
)
|
|
2210
2185
|
relative_url = self.sast_ac + "/Users/{id}".format(id=user_id)
|
|
2211
|
-
response = self.put_request(relative_url=relative_url, data=put_data, is_iam=self.is_iam)
|
|
2186
|
+
response = self.api_client.put_request(relative_url=relative_url, data=put_data, is_iam=self.is_iam)
|
|
2212
2187
|
if response.status_code == NO_CONTENT:
|
|
2213
2188
|
result = True
|
|
2214
2189
|
return result
|
|
2215
2190
|
|
|
2216
|
-
def delete_a_user(self, user_id):
|
|
2191
|
+
def delete_a_user(self, user_id: int) -> bool:
|
|
2217
2192
|
"""
|
|
2218
2193
|
|
|
2219
2194
|
Args:
|
|
@@ -2224,14 +2199,15 @@ class AccessControl:
|
|
|
2224
2199
|
"""
|
|
2225
2200
|
result = False
|
|
2226
2201
|
relative_url = self.sast_ac + "/Users/{id}".format(id=user_id)
|
|
2227
|
-
response = self.delete_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
2228
|
-
|
|
2229
|
-
result = True
|
|
2230
|
-
return result
|
|
2202
|
+
response = self.api_client.delete_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
2203
|
+
return response.status_code == NO_CONTENT
|
|
2231
2204
|
|
|
2232
|
-
def migrate_existing_user(
|
|
2233
|
-
|
|
2234
|
-
|
|
2205
|
+
def migrate_existing_user(
|
|
2206
|
+
self, creation_date: str, username: str, password: str, role_ids: List[str], team_ids: List[str],
|
|
2207
|
+
authentication_provider_id: int, first_name: str, last_name: str, email: str, phone_number: str,
|
|
2208
|
+
cell_phone_number: str, job_title: str, other: str, country: str, active: str, expiration_date: str,
|
|
2209
|
+
allowed_ip_list: List[str], locale_id: str
|
|
2210
|
+
) -> bool:
|
|
2235
2211
|
"""
|
|
2236
2212
|
|
|
2237
2213
|
Args:
|
|
@@ -2281,20 +2257,18 @@ class AccessControl:
|
|
|
2281
2257
|
}
|
|
2282
2258
|
)
|
|
2283
2259
|
relative_url = self.sast_ac + "/Users/migration"
|
|
2284
|
-
response = self.post_request(relative_url=relative_url, data=post_data, is_iam=self.is_iam)
|
|
2285
|
-
|
|
2286
|
-
result = True
|
|
2287
|
-
return result
|
|
2260
|
+
response = self.api_client.post_request(relative_url=relative_url, data=post_data, is_iam=self.is_iam)
|
|
2261
|
+
return response.status_code == CREATED
|
|
2288
2262
|
|
|
2289
|
-
def get_all_windows_domains(self):
|
|
2263
|
+
def get_all_windows_domains(self) -> List[WindowsDomain]:
|
|
2290
2264
|
"""
|
|
2291
2265
|
|
|
2292
2266
|
Returns:
|
|
2293
|
-
|
|
2267
|
+
List[WindowsDomain]
|
|
2294
2268
|
"""
|
|
2295
2269
|
result = []
|
|
2296
2270
|
relative_url = self.sast_ac + "/WindowsDomains"
|
|
2297
|
-
response = self.get_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
2271
|
+
response = self.api_client.get_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
2298
2272
|
if response.status_code == OK:
|
|
2299
2273
|
result = [
|
|
2300
2274
|
WindowsDomain(
|
|
@@ -2305,7 +2279,7 @@ class AccessControl:
|
|
|
2305
2279
|
]
|
|
2306
2280
|
return result
|
|
2307
2281
|
|
|
2308
|
-
def get_windows_domain_id_by_name(self, name):
|
|
2282
|
+
def get_windows_domain_id_by_name(self, name: str) -> int:
|
|
2309
2283
|
"""
|
|
2310
2284
|
|
|
2311
2285
|
Args:
|
|
@@ -2322,7 +2296,7 @@ class AccessControl:
|
|
|
2322
2296
|
windows_domain_id = domains[0].id
|
|
2323
2297
|
return windows_domain_id
|
|
2324
2298
|
|
|
2325
|
-
def create_a_new_windows_domain(self, name, full_qualified_name):
|
|
2299
|
+
def create_a_new_windows_domain(self, name: str, full_qualified_name: str) -> bool:
|
|
2326
2300
|
"""
|
|
2327
2301
|
|
|
2328
2302
|
Args:
|
|
@@ -2340,12 +2314,12 @@ class AccessControl:
|
|
|
2340
2314
|
}
|
|
2341
2315
|
)
|
|
2342
2316
|
relative_url = self.sast_ac + "/WindowsDomains"
|
|
2343
|
-
response = self.post_request(relative_url=relative_url, data=post_data, is_iam=self.is_iam)
|
|
2317
|
+
response = self.api_client.post_request(relative_url=relative_url, data=post_data, is_iam=self.is_iam)
|
|
2344
2318
|
if response.status_code == CREATED:
|
|
2345
2319
|
result = True
|
|
2346
2320
|
return result
|
|
2347
2321
|
|
|
2348
|
-
def get_windows_domain_by_id(self, windows_domain_id):
|
|
2322
|
+
def get_windows_domain_by_id(self, windows_domain_id: int) -> WindowsDomain:
|
|
2349
2323
|
"""
|
|
2350
2324
|
|
|
2351
2325
|
Args:
|
|
@@ -2356,7 +2330,7 @@ class AccessControl:
|
|
|
2356
2330
|
"""
|
|
2357
2331
|
result = None
|
|
2358
2332
|
relative_url = self.sast_ac + "/WindowsDomains/{id}".format(id=windows_domain_id)
|
|
2359
|
-
response = self.get_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
2333
|
+
response = self.api_client.get_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
2360
2334
|
if response.status_code == OK:
|
|
2361
2335
|
item = response.json()
|
|
2362
2336
|
result = WindowsDomain(
|
|
@@ -2366,7 +2340,7 @@ class AccessControl:
|
|
|
2366
2340
|
)
|
|
2367
2341
|
return result
|
|
2368
2342
|
|
|
2369
|
-
def update_a_windows_domain(self, windows_domain_id, name, full_qualified_name):
|
|
2343
|
+
def update_a_windows_domain(self, windows_domain_id: int, name: str, full_qualified_name: str) -> bool:
|
|
2370
2344
|
"""
|
|
2371
2345
|
|
|
2372
2346
|
Args:
|
|
@@ -2385,12 +2359,10 @@ class AccessControl:
|
|
|
2385
2359
|
}
|
|
2386
2360
|
)
|
|
2387
2361
|
relative_url = self.sast_ac + "/WindowsDomains/{id}".format(id=windows_domain_id)
|
|
2388
|
-
response = self.put_request(relative_url=relative_url, data=put_data, is_iam=self.is_iam)
|
|
2389
|
-
|
|
2390
|
-
result = True
|
|
2391
|
-
return result
|
|
2362
|
+
response = self.api_client.put_request(relative_url=relative_url, data=put_data, is_iam=self.is_iam)
|
|
2363
|
+
return response.status_code == NO_CONTENT
|
|
2392
2364
|
|
|
2393
|
-
def delete_a_windows_domain(self, windows_domain_id):
|
|
2365
|
+
def delete_a_windows_domain(self, windows_domain_id: int) -> bool:
|
|
2394
2366
|
"""
|
|
2395
2367
|
|
|
2396
2368
|
Args:
|
|
@@ -2401,12 +2373,12 @@ class AccessControl:
|
|
|
2401
2373
|
"""
|
|
2402
2374
|
result = False
|
|
2403
2375
|
relative_url = self.sast_ac + "/WindowsDomains/{id}".format(id=windows_domain_id)
|
|
2404
|
-
response = self.delete_request(relatvie_url=relative_url, is_iam=self.is_iam)
|
|
2405
|
-
|
|
2406
|
-
result = True
|
|
2407
|
-
return result
|
|
2376
|
+
response = self.api_client.delete_request(relatvie_url=relative_url, is_iam=self.is_iam)
|
|
2377
|
+
return response.status_code == NO_CONTENT
|
|
2408
2378
|
|
|
2409
|
-
def get_windows_domain_user_entries_by_search_criteria(
|
|
2379
|
+
def get_windows_domain_user_entries_by_search_criteria(
|
|
2380
|
+
self, windows_domain_id: int, contains_pattern: str = None
|
|
2381
|
+
) -> List[User]:
|
|
2410
2382
|
"""
|
|
2411
2383
|
|
|
2412
2384
|
Args:
|
|
@@ -2414,13 +2386,13 @@ class AccessControl:
|
|
|
2414
2386
|
contains_pattern (str):
|
|
2415
2387
|
|
|
2416
2388
|
Returns:
|
|
2417
|
-
|
|
2389
|
+
List[User]
|
|
2418
2390
|
"""
|
|
2419
2391
|
result = []
|
|
2420
2392
|
relative_url = self.sast_ac + "/WindowsDomains/{id}/UserEntries".format(id=windows_domain_id)
|
|
2421
2393
|
if contains_pattern:
|
|
2422
2394
|
relative_url += "?containsPattern={}".format(contains_pattern)
|
|
2423
|
-
response = self.get_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
2395
|
+
response = self.api_client.get_request(relative_url=relative_url, is_iam=self.is_iam)
|
|
2424
2396
|
if response.status_code == OK:
|
|
2425
2397
|
result = [
|
|
2426
2398
|
User(
|