@nutanix-scratch/security-js-client 4.0.1-beta.1 → 4.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +43 -48
- package/dist/Ntnx-Security-js-client-prod.js +1 -1
- package/dist/Ntnx-Security-js-client.js +348 -183
- package/dist/es/ApiClient.d.ts +7 -1
- package/dist/es/ApiClient.js +16 -25
- package/dist/es/Paginable.d.ts +1 -1
- package/dist/es/Paginable.js +3 -3
- package/dist/es/apis/approvalpolicies-endpoints.d.ts +9 -15
- package/dist/es/apis/approvalpolicies-endpoints.js +21 -24
- package/dist/es/apis/credentials-endpoints.d.ts +84 -0
- package/dist/es/apis/credentials-endpoints.js +281 -0
- package/dist/es/apis/keymanagementservers-endpoints.d.ts +69 -0
- package/dist/es/apis/keymanagementservers-endpoints.js +263 -0
- package/dist/es/apis/stigs-endpoints.d.ts +6 -43
- package/dist/es/apis/stigs-endpoints.js +13 -47
- package/dist/es/index.d.ts +67 -37
- package/dist/es/index.js +232 -112
- package/dist/es/models/common/v1/config/BasicAuth.d.ts +78 -0
- package/dist/es/models/common/v1/config/BasicAuth.js +328 -0
- package/dist/es/models/common/v1/config/FQDN.d.ts +52 -0
- package/dist/es/models/common/v1/config/FQDN.js +277 -0
- package/dist/es/models/common/v1/config/Flag.d.ts +1 -1
- package/dist/es/models/common/v1/config/Flag.js +3 -3
- package/dist/es/models/common/v1/config/IPAddressOrFQDN.d.ts +94 -0
- package/dist/es/models/common/v1/config/IPAddressOrFQDN.js +364 -0
- package/dist/es/models/common/v1/config/IPv4Address.d.ts +76 -0
- package/dist/es/models/common/v1/config/IPv4Address.js +329 -0
- package/dist/es/models/common/v1/config/IPv6Address.d.ts +76 -0
- package/dist/es/models/common/v1/config/IPv6Address.js +329 -0
- package/dist/es/models/common/v1/config/KVPair.d.ts +1 -1
- package/dist/es/models/common/v1/config/KVPair.js +3 -3
- package/dist/es/models/common/v1/config/MapOfStringWrapper.d.ts +1 -1
- package/dist/es/models/common/v1/config/MapOfStringWrapper.js +3 -3
- package/dist/es/models/common/v1/config/Message.d.ts +1 -1
- package/dist/es/models/common/v1/config/Message.js +3 -3
- package/dist/es/models/common/v1/config/MessageSeverity.js +2 -2
- package/dist/es/models/common/v1/config/TenantAwareModel.d.ts +4 -4
- package/dist/es/models/common/v1/config/TenantAwareModel.js +7 -7
- package/dist/es/models/common/v1/response/ApiLink.d.ts +1 -1
- package/dist/es/models/common/v1/response/ApiLink.js +3 -3
- package/dist/es/models/common/v1/response/ApiResponseMetadata.d.ts +1 -1
- package/dist/es/models/common/v1/response/ApiResponseMetadata.js +3 -3
- package/dist/es/models/common/v1/response/ExternalizableAbstractModel.d.ts +1 -1
- package/dist/es/models/common/v1/response/ExternalizableAbstractModel.js +4 -4
- package/dist/es/models/iam/v4/authn/BucketsAccessKey.d.ts +1 -1
- package/dist/es/models/iam/v4/authn/BucketsAccessKey.js +5 -5
- package/dist/es/models/iam/v4/authn/BucketsAccessKeyStatusType.js +2 -2
- package/dist/es/models/iam/v4/authn/CreationType.js +2 -2
- package/dist/es/models/iam/v4/authn/User.d.ts +1 -1
- package/dist/es/models/iam/v4/authn/User.js +5 -5
- package/dist/es/models/iam/v4/authn/UserStatusType.js +2 -2
- package/dist/es/models/iam/v4/authn/UserType.js +2 -2
- package/dist/es/models/prism/v4/config/TaskReference.d.ts +4 -4
- package/dist/es/models/prism/v4/config/TaskReference.js +15 -16
- package/dist/es/models/security/v4/common/Cluster.d.ts +7 -7
- package/dist/es/models/security/v4/common/Cluster.js +18 -12
- package/dist/es/models/security/v4/common/ClusterProjection.d.ts +1 -1
- package/dist/es/models/security/v4/common/ClusterProjection.js +4 -4
- package/dist/es/models/security/v4/common/Timescale.js +2 -2
- package/dist/es/models/security/v4/config/AzureAccessInformation.d.ts +154 -0
- package/dist/es/models/security/v4/config/AzureAccessInformation.js +552 -0
- package/dist/es/models/security/v4/config/BasicAuthCredential.d.ts +66 -0
- package/dist/es/models/security/v4/config/BasicAuthCredential.js +276 -0
- package/dist/es/models/security/v4/config/BmcCredential.d.ts +37 -0
- package/dist/es/models/security/v4/config/BmcCredential.js +259 -0
- package/dist/{lib/models/security/v4/config/DeletePublicKeyApiResponse.d.ts → es/models/security/v4/config/CreateCredentialApiResponse.d.ts} +8 -8
- package/dist/es/models/security/v4/{management/TriggerScanApiResponse.js → config/CreateCredentialApiResponse.js} +32 -32
- package/dist/es/models/security/v4/config/{UpdateHardeningStatusesApiResponse.d.ts → CreateKeyManagementServerApiResponse.d.ts} +8 -8
- package/dist/{lib/models/security/v4/config/UpdateHardeningStatusesApiResponse.js → es/models/security/v4/config/CreateKeyManagementServerApiResponse.js} +32 -32
- package/dist/es/models/security/v4/config/Credential.d.ts +78 -0
- package/dist/es/models/security/v4/config/{PublicKey.js → Credential.js} +114 -100
- package/dist/{lib/models/security/v4/management/TriggerScanApiResponse.d.ts → es/models/security/v4/config/DeleteCredentialApiResponse.d.ts} +13 -14
- package/dist/es/models/security/v4/config/DeleteCredentialApiResponse.js +345 -0
- package/dist/es/models/security/v4/config/{DeletePublicKeyApiResponse.d.ts → DeleteKeyManagementServerApiResponse.d.ts} +8 -8
- package/dist/es/models/security/v4/config/{ChangeSystemUserPasswordApiResponse.js → DeleteKeyManagementServerApiResponse.js} +32 -32
- package/dist/es/models/security/v4/config/ExternalSshAccessConfig.d.ts +90 -0
- package/dist/es/models/security/v4/config/ExternalSshAccessConfig.js +394 -0
- package/dist/es/models/security/v4/config/GetCredentialApiResponse.d.ts +99 -0
- package/dist/{lib/models/security/v4/management/TriggerScanApiResponse.js → es/models/security/v4/config/GetCredentialApiResponse.js} +37 -37
- package/dist/es/models/security/v4/config/GetKeyManagementServerApiResponse.d.ts +99 -0
- package/dist/es/models/security/v4/config/GetKeyManagementServerApiResponse.js +343 -0
- package/dist/es/models/security/v4/config/IntersightConnectionType.d.ts +19 -0
- package/dist/es/models/security/v4/config/IntersightConnectionType.js +85 -0
- package/dist/es/models/security/v4/config/IntersightCredential.d.ts +76 -0
- package/dist/es/models/security/v4/config/IntersightCredential.js +346 -0
- package/dist/es/models/security/v4/config/KeyBasedAuth.d.ts +78 -0
- package/dist/es/models/security/v4/config/KeyBasedAuth.js +334 -0
- package/dist/es/models/security/v4/config/KeyBasedAuthCredential.d.ts +66 -0
- package/dist/es/models/security/v4/config/KeyBasedAuthCredential.js +276 -0
- package/dist/es/models/security/v4/config/KeyManagementServer.d.ts +59 -0
- package/dist/es/models/security/v4/config/{PublicKeyProjection.js → KeyManagementServer.js} +93 -89
- package/dist/es/models/security/v4/config/ListCredentialsApiResponse.d.ts +99 -0
- package/dist/{lib/models/security/v4/config/DeletePublicKeyApiResponse.js → es/models/security/v4/config/ListCredentialsApiResponse.js} +70 -48
- package/dist/es/models/security/v4/config/{VerifySystemUserPasswordApiResponse.d.ts → ListKeyManagementServersApiResponse.d.ts} +14 -14
- package/dist/{lib/models/security/v4/config/UpdateHardeningVisibilitySettingApiResponse.js → es/models/security/v4/config/ListKeyManagementServersApiResponse.js} +37 -37
- package/dist/es/models/security/v4/config/PasswordStatus.js +2 -2
- package/dist/es/models/security/v4/config/PasswordVerificationStatus.js +2 -2
- package/dist/es/models/security/v4/config/{Schedule.d.ts → ScheduleType.d.ts} +6 -6
- package/dist/es/models/security/v4/config/{Schedule.js → ScheduleType.js} +25 -25
- package/dist/es/models/security/v4/config/SecurityConfig.d.ts +142 -0
- package/dist/{lib/models/security/v4/config/HardeningStatus.js → es/models/security/v4/config/SecurityConfig.js} +123 -152
- package/dist/es/models/security/v4/config/{HardeningStatusProjection.d.ts → SecurityConfigProjection.d.ts} +9 -10
- package/dist/{lib/models/security/v4/config/HardeningStatusProjection.js → es/models/security/v4/config/SecurityConfigProjection.js} +78 -78
- package/dist/es/models/security/v4/config/{HardeningVisibilitySetting.d.ts → SecurityConfigVisibilitySetting.d.ts} +5 -5
- package/dist/{lib/models/security/v4/config/HardeningVisibilitySetting.js → es/models/security/v4/config/SecurityConfigVisibilitySetting.js} +43 -43
- package/dist/es/models/security/v4/config/{AddPublicKeyApiResponse.d.ts → UpdateCredentialApiResponse.d.ts} +9 -10
- package/dist/es/models/security/v4/config/{DeletePublicKeyApiResponse.js → UpdateCredentialApiResponse.js} +32 -32
- package/dist/es/models/security/v4/config/UpdateKeyManagementServerApiResponse.d.ts +99 -0
- package/dist/es/models/security/v4/config/UpdateKeyManagementServerApiResponse.js +343 -0
- package/dist/es/models/security/v4/config/VcenterCredential.d.ts +85 -0
- package/dist/es/models/security/v4/config/VcenterCredential.js +300 -0
- package/dist/es/models/security/v4/config/VerifyPassword.d.ts +1 -1
- package/dist/es/models/security/v4/config/VerifyPassword.js +6 -7
- package/dist/es/models/security/v4/config/VerifyPasswordSpec.d.ts +1 -1
- package/dist/es/models/security/v4/config/VerifyPasswordSpec.js +4 -4
- package/dist/es/models/security/v4/error/AppMessage.d.ts +4 -4
- package/dist/es/models/security/v4/error/AppMessage.js +8 -8
- package/dist/es/models/security/v4/error/ErrorResponse.d.ts +1 -1
- package/dist/es/models/security/v4/error/ErrorResponse.js +16 -14
- package/dist/es/models/security/v4/error/SchemaValidationError.d.ts +1 -1
- package/dist/es/models/security/v4/error/SchemaValidationError.js +4 -4
- package/dist/es/models/security/v4/error/SchemaValidationErrorMessage.d.ts +1 -1
- package/dist/es/models/security/v4/error/SchemaValidationErrorMessage.js +4 -4
- package/dist/es/models/security/v4/management/ApprovalPolicy.d.ts +1 -1
- package/dist/es/models/security/v4/management/ApprovalPolicy.js +5 -5
- package/dist/es/models/security/v4/management/ApproverGroup.d.ts +1 -1
- package/dist/es/models/security/v4/management/ApproverGroup.js +4 -4
- package/dist/es/models/security/v4/management/AssociatePoliciesApiResponse.d.ts +1 -1
- package/dist/es/models/security/v4/management/AssociatePoliciesApiResponse.js +5 -5
- package/dist/es/models/security/v4/management/AssociatePoliciesSpec.d.ts +69 -0
- package/dist/{lib/models/security/v4/config/ChangePasswordSpec.js → es/models/security/v4/management/AssociatePoliciesSpec.js} +63 -87
- package/dist/es/models/security/v4/management/CreateApprovalPolicyApiResponse.d.ts +1 -1
- package/dist/es/models/security/v4/management/CreateApprovalPolicyApiResponse.js +5 -5
- package/dist/es/models/security/v4/management/EventType.js +2 -2
- package/dist/es/models/security/v4/management/GetApprovalPolicyApiResponse.d.ts +1 -1
- package/dist/es/models/security/v4/management/GetApprovalPolicyApiResponse.js +5 -5
- package/dist/es/models/security/v4/management/ListApprovalPoliciesApiResponse.d.ts +1 -1
- package/dist/es/models/security/v4/management/ListApprovalPoliciesApiResponse.js +5 -5
- package/dist/es/models/security/v4/management/PolicyType.js +2 -2
- package/dist/es/models/security/v4/management/SecuredEntityType.js +2 -2
- package/dist/es/models/security/v4/management/SecuredPolicy.d.ts +1 -1
- package/dist/es/models/security/v4/management/SecuredPolicy.js +4 -4
- package/dist/es/models/security/v4/management/SecurityValidationSpec.d.ts +1 -1
- package/dist/es/models/security/v4/management/SecurityValidationSpec.js +4 -4
- package/dist/es/models/security/v4/management/UpdateApprovalPolicyApiResponse.d.ts +1 -1
- package/dist/es/models/security/v4/management/UpdateApprovalPolicyApiResponse.js +5 -5
- package/dist/es/models/security/v4/report/IssueSummary.d.ts +1 -1
- package/dist/es/models/security/v4/report/IssueSummary.js +4 -4
- package/dist/es/models/security/v4/report/ListStigSummariesApiResponse.d.ts +1 -1
- package/dist/es/models/security/v4/report/ListStigSummariesApiResponse.js +5 -5
- package/dist/es/models/security/v4/report/ListStigsApiResponse.d.ts +1 -1
- package/dist/es/models/security/v4/report/ListStigsApiResponse.js +5 -5
- package/dist/es/models/security/v4/report/Severity.js +2 -2
- package/dist/es/models/security/v4/report/SoftwareType.js +2 -2
- package/dist/es/models/security/v4/report/Stig.d.ts +1 -1
- package/dist/es/models/security/v4/report/Stig.js +17 -5
- package/dist/es/models/security/v4/report/StigProjection.d.ts +1 -1
- package/dist/es/models/security/v4/report/StigProjection.js +4 -4
- package/dist/es/models/security/v4/report/StigStatus.js +2 -2
- package/dist/es/models/security/v4/report/StigSummary.d.ts +8 -5
- package/dist/es/models/security/v4/report/StigSummary.js +9 -9
- package/dist/es/models/security/v4/report/StigSummaryProjection.d.ts +1 -1
- package/dist/es/models/security/v4/report/StigSummaryProjection.js +6 -6
- package/dist/es/models/security/v4/report/Summary.d.ts +9 -9
- package/dist/es/models/security/v4/report/Summary.js +26 -26
- package/dist/es/models/security/v4/report/SummaryProjection.d.ts +2 -2
- package/dist/es/models/security/v4/report/SummaryProjection.js +11 -11
- package/dist/es/models/security/v4/report/TrendValue.d.ts +1 -1
- package/dist/es/models/security/v4/report/TrendValue.js +4 -4
- package/dist/es/models/security/v4/report/Vulnerability.d.ts +7 -3
- package/dist/es/models/security/v4/report/Vulnerability.js +13 -7
- package/dist/es/models/security/v4/report/VulnerabilityProjection.d.ts +1 -1
- package/dist/es/models/security/v4/report/VulnerabilityProjection.js +4 -4
- package/dist/es/models/security/v4/report/VulnerabilitySummary.d.ts +4 -4
- package/dist/es/models/security/v4/report/VulnerabilitySummary.js +9 -9
- package/dist/es/models/security/v4/report/VulnerabilitySummaryProjection.d.ts +1 -1
- package/dist/es/models/security/v4/report/VulnerabilitySummaryProjection.js +4 -4
- package/dist/es/models/validation/ValidationError.js +2 -2
- package/dist/es/utils/ValidationUtils.js +2 -2
- package/dist/lib/ApiClient.d.ts +7 -1
- package/dist/lib/ApiClient.js +16 -25
- package/dist/lib/Paginable.d.ts +1 -1
- package/dist/lib/Paginable.js +3 -3
- package/dist/lib/apis/approvalpolicies-endpoints.d.ts +9 -15
- package/dist/lib/apis/approvalpolicies-endpoints.js +21 -24
- package/dist/lib/apis/credentials-endpoints.d.ts +84 -0
- package/dist/lib/apis/credentials-endpoints.js +281 -0
- package/dist/lib/apis/keymanagementservers-endpoints.d.ts +69 -0
- package/dist/lib/apis/keymanagementservers-endpoints.js +263 -0
- package/dist/lib/apis/stigs-endpoints.d.ts +6 -43
- package/dist/lib/apis/stigs-endpoints.js +13 -47
- package/dist/lib/index.d.ts +67 -37
- package/dist/lib/index.js +232 -112
- package/dist/lib/models/common/v1/config/BasicAuth.d.ts +78 -0
- package/dist/lib/models/common/v1/config/BasicAuth.js +328 -0
- package/dist/lib/models/common/v1/config/FQDN.d.ts +52 -0
- package/dist/lib/models/common/v1/config/FQDN.js +277 -0
- package/dist/lib/models/common/v1/config/Flag.d.ts +1 -1
- package/dist/lib/models/common/v1/config/Flag.js +3 -3
- package/dist/lib/models/common/v1/config/IPAddressOrFQDN.d.ts +94 -0
- package/dist/lib/models/common/v1/config/IPAddressOrFQDN.js +364 -0
- package/dist/lib/models/common/v1/config/IPv4Address.d.ts +76 -0
- package/dist/lib/models/common/v1/config/IPv4Address.js +329 -0
- package/dist/lib/models/common/v1/config/IPv6Address.d.ts +76 -0
- package/dist/lib/models/common/v1/config/IPv6Address.js +329 -0
- package/dist/lib/models/common/v1/config/KVPair.d.ts +1 -1
- package/dist/lib/models/common/v1/config/KVPair.js +3 -3
- package/dist/lib/models/common/v1/config/MapOfStringWrapper.d.ts +1 -1
- package/dist/lib/models/common/v1/config/MapOfStringWrapper.js +3 -3
- package/dist/lib/models/common/v1/config/Message.d.ts +1 -1
- package/dist/lib/models/common/v1/config/Message.js +3 -3
- package/dist/lib/models/common/v1/config/MessageSeverity.js +2 -2
- package/dist/lib/models/common/v1/config/TenantAwareModel.d.ts +4 -4
- package/dist/lib/models/common/v1/config/TenantAwareModel.js +7 -7
- package/dist/lib/models/common/v1/response/ApiLink.d.ts +1 -1
- package/dist/lib/models/common/v1/response/ApiLink.js +3 -3
- package/dist/lib/models/common/v1/response/ApiResponseMetadata.d.ts +1 -1
- package/dist/lib/models/common/v1/response/ApiResponseMetadata.js +3 -3
- package/dist/lib/models/common/v1/response/ExternalizableAbstractModel.d.ts +1 -1
- package/dist/lib/models/common/v1/response/ExternalizableAbstractModel.js +4 -4
- package/dist/lib/models/iam/v4/authn/BucketsAccessKey.d.ts +1 -1
- package/dist/lib/models/iam/v4/authn/BucketsAccessKey.js +5 -5
- package/dist/lib/models/iam/v4/authn/BucketsAccessKeyStatusType.js +2 -2
- package/dist/lib/models/iam/v4/authn/CreationType.js +2 -2
- package/dist/lib/models/iam/v4/authn/User.d.ts +1 -1
- package/dist/lib/models/iam/v4/authn/User.js +5 -5
- package/dist/lib/models/iam/v4/authn/UserStatusType.js +2 -2
- package/dist/lib/models/iam/v4/authn/UserType.js +2 -2
- package/dist/lib/models/prism/v4/config/TaskReference.d.ts +4 -4
- package/dist/lib/models/prism/v4/config/TaskReference.js +15 -16
- package/dist/lib/models/security/v4/common/Cluster.d.ts +7 -7
- package/dist/lib/models/security/v4/common/Cluster.js +18 -12
- package/dist/lib/models/security/v4/common/ClusterProjection.d.ts +1 -1
- package/dist/lib/models/security/v4/common/ClusterProjection.js +4 -4
- package/dist/lib/models/security/v4/common/Timescale.js +2 -2
- package/dist/lib/models/security/v4/config/AzureAccessInformation.d.ts +154 -0
- package/dist/lib/models/security/v4/config/AzureAccessInformation.js +552 -0
- package/dist/lib/models/security/v4/config/BasicAuthCredential.d.ts +66 -0
- package/dist/lib/models/security/v4/config/BasicAuthCredential.js +276 -0
- package/dist/lib/models/security/v4/config/BmcCredential.d.ts +37 -0
- package/dist/lib/models/security/v4/config/BmcCredential.js +259 -0
- package/dist/{es/models/security/v4/management/TriggerScanApiResponse.d.ts → lib/models/security/v4/config/CreateCredentialApiResponse.d.ts} +8 -8
- package/dist/{es/models/security/v4/config/AddPublicKeyApiResponse.js → lib/models/security/v4/config/CreateCredentialApiResponse.js} +32 -32
- package/dist/lib/models/security/v4/config/CreateKeyManagementServerApiResponse.d.ts +99 -0
- package/dist/{es/models/security/v4/config/UpdateHardeningStatusesApiResponse.js → lib/models/security/v4/config/CreateKeyManagementServerApiResponse.js} +32 -32
- package/dist/lib/models/security/v4/config/Credential.d.ts +78 -0
- package/dist/lib/models/security/v4/config/{PublicKey.js → Credential.js} +114 -100
- package/dist/lib/models/security/v4/config/DeleteCredentialApiResponse.d.ts +98 -0
- package/dist/lib/models/security/v4/config/DeleteCredentialApiResponse.js +345 -0
- package/dist/lib/models/security/v4/config/DeleteKeyManagementServerApiResponse.d.ts +99 -0
- package/dist/lib/models/security/v4/config/{ChangeSystemUserPasswordApiResponse.js → DeleteKeyManagementServerApiResponse.js} +32 -32
- package/dist/lib/models/security/v4/config/ExternalSshAccessConfig.d.ts +90 -0
- package/dist/lib/models/security/v4/config/ExternalSshAccessConfig.js +394 -0
- package/dist/lib/models/security/v4/config/GetCredentialApiResponse.d.ts +99 -0
- package/dist/lib/models/security/v4/config/GetCredentialApiResponse.js +343 -0
- package/dist/lib/models/security/v4/config/GetKeyManagementServerApiResponse.d.ts +99 -0
- package/dist/lib/models/security/v4/config/GetKeyManagementServerApiResponse.js +343 -0
- package/dist/lib/models/security/v4/config/IntersightConnectionType.d.ts +19 -0
- package/dist/lib/models/security/v4/config/IntersightConnectionType.js +85 -0
- package/dist/lib/models/security/v4/config/IntersightCredential.d.ts +76 -0
- package/dist/lib/models/security/v4/config/IntersightCredential.js +346 -0
- package/dist/lib/models/security/v4/config/KeyBasedAuth.d.ts +78 -0
- package/dist/lib/models/security/v4/config/KeyBasedAuth.js +334 -0
- package/dist/lib/models/security/v4/config/KeyBasedAuthCredential.d.ts +66 -0
- package/dist/lib/models/security/v4/config/KeyBasedAuthCredential.js +276 -0
- package/dist/lib/models/security/v4/config/KeyManagementServer.d.ts +59 -0
- package/dist/lib/models/security/v4/config/{PublicKeyProjection.js → KeyManagementServer.js} +93 -89
- package/dist/lib/models/security/v4/config/ListCredentialsApiResponse.d.ts +99 -0
- package/dist/lib/models/security/v4/config/ListCredentialsApiResponse.js +365 -0
- package/dist/lib/models/security/v4/config/{VerifySystemUserPasswordApiResponse.d.ts → ListKeyManagementServersApiResponse.d.ts} +14 -14
- package/dist/{es/models/security/v4/config/UpdateHardeningVisibilitySettingApiResponse.js → lib/models/security/v4/config/ListKeyManagementServersApiResponse.js} +37 -37
- package/dist/lib/models/security/v4/config/PasswordStatus.js +2 -2
- package/dist/lib/models/security/v4/config/PasswordVerificationStatus.js +2 -2
- package/dist/{es/models/security/v4/config/SystemType.d.ts → lib/models/security/v4/config/ScheduleType.d.ts} +6 -6
- package/dist/lib/models/security/v4/config/{Schedule.js → ScheduleType.js} +25 -25
- package/dist/lib/models/security/v4/config/SecurityConfig.d.ts +142 -0
- package/dist/{es/models/security/v4/config/HardeningStatus.js → lib/models/security/v4/config/SecurityConfig.js} +123 -152
- package/dist/lib/models/security/v4/config/{HardeningStatusProjection.d.ts → SecurityConfigProjection.d.ts} +9 -10
- package/dist/{es/models/security/v4/config/HardeningStatusProjection.js → lib/models/security/v4/config/SecurityConfigProjection.js} +78 -78
- package/dist/lib/models/security/v4/config/{HardeningVisibilitySetting.d.ts → SecurityConfigVisibilitySetting.d.ts} +5 -5
- package/dist/{es/models/security/v4/config/HardeningVisibilitySetting.js → lib/models/security/v4/config/SecurityConfigVisibilitySetting.js} +43 -43
- package/dist/lib/models/security/v4/config/{AddPublicKeyApiResponse.d.ts → UpdateCredentialApiResponse.d.ts} +9 -10
- package/dist/lib/models/security/v4/config/{AddPublicKeyApiResponse.js → UpdateCredentialApiResponse.js} +32 -32
- package/dist/lib/models/security/v4/config/UpdateKeyManagementServerApiResponse.d.ts +99 -0
- package/dist/lib/models/security/v4/config/UpdateKeyManagementServerApiResponse.js +343 -0
- package/dist/lib/models/security/v4/config/VcenterCredential.d.ts +85 -0
- package/dist/lib/models/security/v4/config/VcenterCredential.js +300 -0
- package/dist/lib/models/security/v4/config/VerifyPassword.d.ts +1 -1
- package/dist/lib/models/security/v4/config/VerifyPassword.js +6 -7
- package/dist/lib/models/security/v4/config/VerifyPasswordSpec.d.ts +1 -1
- package/dist/lib/models/security/v4/config/VerifyPasswordSpec.js +4 -4
- package/dist/lib/models/security/v4/error/AppMessage.d.ts +4 -4
- package/dist/lib/models/security/v4/error/AppMessage.js +8 -8
- package/dist/lib/models/security/v4/error/ErrorResponse.d.ts +1 -1
- package/dist/lib/models/security/v4/error/ErrorResponse.js +16 -14
- package/dist/lib/models/security/v4/error/SchemaValidationError.d.ts +1 -1
- package/dist/lib/models/security/v4/error/SchemaValidationError.js +4 -4
- package/dist/lib/models/security/v4/error/SchemaValidationErrorMessage.d.ts +1 -1
- package/dist/lib/models/security/v4/error/SchemaValidationErrorMessage.js +4 -4
- package/dist/lib/models/security/v4/management/ApprovalPolicy.d.ts +1 -1
- package/dist/lib/models/security/v4/management/ApprovalPolicy.js +5 -5
- package/dist/lib/models/security/v4/management/ApproverGroup.d.ts +1 -1
- package/dist/lib/models/security/v4/management/ApproverGroup.js +4 -4
- package/dist/lib/models/security/v4/management/AssociatePoliciesApiResponse.d.ts +1 -1
- package/dist/lib/models/security/v4/management/AssociatePoliciesApiResponse.js +5 -5
- package/dist/lib/models/security/v4/management/AssociatePoliciesSpec.d.ts +69 -0
- package/dist/{es/models/security/v4/config/ChangePasswordSpec.js → lib/models/security/v4/management/AssociatePoliciesSpec.js} +63 -87
- package/dist/lib/models/security/v4/management/CreateApprovalPolicyApiResponse.d.ts +1 -1
- package/dist/lib/models/security/v4/management/CreateApprovalPolicyApiResponse.js +5 -5
- package/dist/lib/models/security/v4/management/EventType.js +2 -2
- package/dist/lib/models/security/v4/management/GetApprovalPolicyApiResponse.d.ts +1 -1
- package/dist/lib/models/security/v4/management/GetApprovalPolicyApiResponse.js +5 -5
- package/dist/lib/models/security/v4/management/ListApprovalPoliciesApiResponse.d.ts +1 -1
- package/dist/lib/models/security/v4/management/ListApprovalPoliciesApiResponse.js +5 -5
- package/dist/lib/models/security/v4/management/PolicyType.js +2 -2
- package/dist/lib/models/security/v4/management/SecuredEntityType.js +2 -2
- package/dist/lib/models/security/v4/management/SecuredPolicy.d.ts +1 -1
- package/dist/lib/models/security/v4/management/SecuredPolicy.js +4 -4
- package/dist/lib/models/security/v4/management/SecurityValidationSpec.d.ts +1 -1
- package/dist/lib/models/security/v4/management/SecurityValidationSpec.js +4 -4
- package/dist/lib/models/security/v4/management/UpdateApprovalPolicyApiResponse.d.ts +1 -1
- package/dist/lib/models/security/v4/management/UpdateApprovalPolicyApiResponse.js +5 -5
- package/dist/lib/models/security/v4/report/IssueSummary.d.ts +1 -1
- package/dist/lib/models/security/v4/report/IssueSummary.js +4 -4
- package/dist/lib/models/security/v4/report/ListStigSummariesApiResponse.d.ts +1 -1
- package/dist/lib/models/security/v4/report/ListStigSummariesApiResponse.js +5 -5
- package/dist/lib/models/security/v4/report/ListStigsApiResponse.d.ts +1 -1
- package/dist/lib/models/security/v4/report/ListStigsApiResponse.js +5 -5
- package/dist/lib/models/security/v4/report/Severity.js +2 -2
- package/dist/lib/models/security/v4/report/SoftwareType.js +2 -2
- package/dist/lib/models/security/v4/report/Stig.d.ts +1 -1
- package/dist/lib/models/security/v4/report/Stig.js +17 -5
- package/dist/lib/models/security/v4/report/StigProjection.d.ts +1 -1
- package/dist/lib/models/security/v4/report/StigProjection.js +4 -4
- package/dist/lib/models/security/v4/report/StigStatus.js +2 -2
- package/dist/lib/models/security/v4/report/StigSummary.d.ts +8 -5
- package/dist/lib/models/security/v4/report/StigSummary.js +9 -9
- package/dist/lib/models/security/v4/report/StigSummaryProjection.d.ts +1 -1
- package/dist/lib/models/security/v4/report/StigSummaryProjection.js +6 -6
- package/dist/lib/models/security/v4/report/Summary.d.ts +9 -9
- package/dist/lib/models/security/v4/report/Summary.js +26 -26
- package/dist/lib/models/security/v4/report/SummaryProjection.d.ts +2 -2
- package/dist/lib/models/security/v4/report/SummaryProjection.js +11 -11
- package/dist/lib/models/security/v4/report/TrendValue.d.ts +1 -1
- package/dist/lib/models/security/v4/report/TrendValue.js +4 -4
- package/dist/lib/models/security/v4/report/Vulnerability.d.ts +7 -3
- package/dist/lib/models/security/v4/report/Vulnerability.js +13 -7
- package/dist/lib/models/security/v4/report/VulnerabilityProjection.d.ts +1 -1
- package/dist/lib/models/security/v4/report/VulnerabilityProjection.js +4 -4
- package/dist/lib/models/security/v4/report/VulnerabilitySummary.d.ts +4 -4
- package/dist/lib/models/security/v4/report/VulnerabilitySummary.js +9 -9
- package/dist/lib/models/security/v4/report/VulnerabilitySummaryProjection.d.ts +1 -1
- package/dist/lib/models/security/v4/report/VulnerabilitySummaryProjection.js +4 -4
- package/dist/lib/models/validation/ValidationError.js +2 -2
- package/dist/lib/utils/ValidationUtils.js +2 -2
- package/package.json +2 -2
- package/dist/es/models/security/v4/config/ChangePasswordSpec.d.ts +0 -74
- package/dist/es/models/security/v4/config/ChangeSystemUserPasswordApiResponse.d.ts +0 -102
- package/dist/es/models/security/v4/config/HardeningStatus.d.ts +0 -154
- package/dist/es/models/security/v4/config/PublicKey.d.ts +0 -80
- package/dist/es/models/security/v4/config/PublicKeyProjection.d.ts +0 -51
- package/dist/es/models/security/v4/config/SystemType.js +0 -97
- package/dist/es/models/security/v4/config/SystemUserPassword.d.ts +0 -110
- package/dist/es/models/security/v4/config/SystemUserPassword.js +0 -500
- package/dist/es/models/security/v4/config/SystemUserPasswordProjection.d.ts +0 -49
- package/dist/es/models/security/v4/config/SystemUserPasswordProjection.js +0 -330
- package/dist/es/models/security/v4/config/UpdateHardeningVisibilitySettingApiResponse.d.ts +0 -99
- package/dist/es/models/security/v4/config/VerifySystemUserPasswordApiResponse.js +0 -343
- package/dist/es/models/security/v4/management/TriggerApprovalPolicyValidationApiResponse.d.ts +0 -99
- package/dist/es/models/security/v4/management/TriggerApprovalPolicyValidationApiResponse.js +0 -343
- package/dist/lib/models/security/v4/config/ChangePasswordSpec.d.ts +0 -74
- package/dist/lib/models/security/v4/config/ChangeSystemUserPasswordApiResponse.d.ts +0 -102
- package/dist/lib/models/security/v4/config/HardeningStatus.d.ts +0 -154
- package/dist/lib/models/security/v4/config/PublicKey.d.ts +0 -80
- package/dist/lib/models/security/v4/config/PublicKeyProjection.d.ts +0 -51
- package/dist/lib/models/security/v4/config/Schedule.d.ts +0 -19
- package/dist/lib/models/security/v4/config/SystemType.d.ts +0 -19
- package/dist/lib/models/security/v4/config/SystemType.js +0 -97
- package/dist/lib/models/security/v4/config/SystemUserPassword.d.ts +0 -110
- package/dist/lib/models/security/v4/config/SystemUserPassword.js +0 -500
- package/dist/lib/models/security/v4/config/SystemUserPasswordProjection.d.ts +0 -49
- package/dist/lib/models/security/v4/config/SystemUserPasswordProjection.js +0 -330
- package/dist/lib/models/security/v4/config/UpdateHardeningStatusesApiResponse.d.ts +0 -99
- package/dist/lib/models/security/v4/config/UpdateHardeningVisibilitySettingApiResponse.d.ts +0 -99
- package/dist/lib/models/security/v4/config/VerifySystemUserPasswordApiResponse.js +0 -343
- package/dist/lib/models/security/v4/management/TriggerApprovalPolicyValidationApiResponse.d.ts +0 -99
- package/dist/lib/models/security/v4/management/TriggerApprovalPolicyValidationApiResponse.js +0 -343
|
@@ -40,11 +40,11 @@ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("C
|
|
|
40
40
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); } /*
|
|
41
41
|
* Nutanix Security APIs
|
|
42
42
|
*
|
|
43
|
-
* OpenAPI spec version: 4.0.1
|
|
43
|
+
* OpenAPI spec version: 4.0.1
|
|
44
44
|
*
|
|
45
45
|
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
46
46
|
*
|
|
47
|
-
* Open API Dev Platform Codegen version:
|
|
47
|
+
* Open API Dev Platform Codegen version: 17.4.0.8851-RELEASE
|
|
48
48
|
*
|
|
49
49
|
* Do not edit the class manually.
|
|
50
50
|
*
|
|
@@ -52,7 +52,7 @@ function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.h
|
|
|
52
52
|
/**
|
|
53
53
|
* The BucketsAccessKey model module.
|
|
54
54
|
* @module Ntnx/BucketsAccessKey
|
|
55
|
-
* @version 4.0.1
|
|
55
|
+
* @version 4.0.1
|
|
56
56
|
* @class BucketsAccessKey
|
|
57
57
|
* @extends ExternalizableAbstractModel
|
|
58
58
|
*
|
|
@@ -83,7 +83,7 @@ var BucketsAccessKey = exports["default"] = /*#__PURE__*/function (_Externalizab
|
|
|
83
83
|
_this.$objectType = "iam.v4.authn.BucketsAccessKey";
|
|
84
84
|
/** @type {object<string, any>} */
|
|
85
85
|
_this.$reserved = {
|
|
86
|
-
'$fv': "v4.
|
|
86
|
+
'$fv': "v4.r1.b1"
|
|
87
87
|
};
|
|
88
88
|
/** @type {object<string, any>} */
|
|
89
89
|
_this.$unknownFields = {};
|
|
@@ -661,7 +661,7 @@ _ExternalizableAbstractModel["default"].prototype.extId = undefined;
|
|
|
661
661
|
*/
|
|
662
662
|
_ExternalizableAbstractModel["default"].prototype.links = undefined;
|
|
663
663
|
/**
|
|
664
|
-
* A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this
|
|
664
|
+
* A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this ID to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
|
|
665
665
|
* @memberof BucketsAccessKey
|
|
666
666
|
*/
|
|
667
667
|
_TenantAwareModel["default"].prototype.tenantId = undefined;
|
|
@@ -11,11 +11,11 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default":
|
|
|
11
11
|
/*
|
|
12
12
|
* Nutanix Security APIs
|
|
13
13
|
*
|
|
14
|
-
* OpenAPI spec version: 4.0.1
|
|
14
|
+
* OpenAPI spec version: 4.0.1
|
|
15
15
|
*
|
|
16
16
|
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
17
17
|
*
|
|
18
|
-
* Open API Dev Platform Codegen version:
|
|
18
|
+
* Open API Dev Platform Codegen version: 17.4.0.8851-RELEASE
|
|
19
19
|
*
|
|
20
20
|
* Do not edit the class manually.
|
|
21
21
|
*
|
|
@@ -11,11 +11,11 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default":
|
|
|
11
11
|
/*
|
|
12
12
|
* Nutanix Security APIs
|
|
13
13
|
*
|
|
14
|
-
* OpenAPI spec version: 4.0.1
|
|
14
|
+
* OpenAPI spec version: 4.0.1
|
|
15
15
|
*
|
|
16
16
|
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
17
17
|
*
|
|
18
|
-
* Open API Dev Platform Codegen version:
|
|
18
|
+
* Open API Dev Platform Codegen version: 17.4.0.8851-RELEASE
|
|
19
19
|
*
|
|
20
20
|
* Do not edit the class manually.
|
|
21
21
|
*
|
|
@@ -43,11 +43,11 @@ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("C
|
|
|
43
43
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); } /*
|
|
44
44
|
* Nutanix Security APIs
|
|
45
45
|
*
|
|
46
|
-
* OpenAPI spec version: 4.0.1
|
|
46
|
+
* OpenAPI spec version: 4.0.1
|
|
47
47
|
*
|
|
48
48
|
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
49
49
|
*
|
|
50
|
-
* Open API Dev Platform Codegen version:
|
|
50
|
+
* Open API Dev Platform Codegen version: 17.4.0.8851-RELEASE
|
|
51
51
|
*
|
|
52
52
|
* Do not edit the class manually.
|
|
53
53
|
*
|
|
@@ -55,7 +55,7 @@ function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.h
|
|
|
55
55
|
/**
|
|
56
56
|
* The User model module.
|
|
57
57
|
* @module Ntnx/User
|
|
58
|
-
* @version 4.0.1
|
|
58
|
+
* @version 4.0.1
|
|
59
59
|
* @class User
|
|
60
60
|
* @extends ExternalizableAbstractModel
|
|
61
61
|
*/
|
|
@@ -81,7 +81,7 @@ var User = exports["default"] = /*#__PURE__*/function (_ExternalizableAbstra) {
|
|
|
81
81
|
_this.$objectType = "iam.v4.authn.User";
|
|
82
82
|
/** @type {object<string, any>} */
|
|
83
83
|
_this.$reserved = {
|
|
84
|
-
'$fv': "v4.
|
|
84
|
+
'$fv': "v4.r1.b1"
|
|
85
85
|
};
|
|
86
86
|
/** @type {object<string, any>} */
|
|
87
87
|
_this.$unknownFields = {};
|
|
@@ -1134,7 +1134,7 @@ _ExternalizableAbstractModel["default"].prototype.extId = undefined;
|
|
|
1134
1134
|
*/
|
|
1135
1135
|
_ExternalizableAbstractModel["default"].prototype.links = undefined;
|
|
1136
1136
|
/**
|
|
1137
|
-
* A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this
|
|
1137
|
+
* A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this ID to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
|
|
1138
1138
|
* @memberof User
|
|
1139
1139
|
*/
|
|
1140
1140
|
_TenantAwareModel["default"].prototype.tenantId = undefined;
|
|
@@ -11,11 +11,11 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default":
|
|
|
11
11
|
/*
|
|
12
12
|
* Nutanix Security APIs
|
|
13
13
|
*
|
|
14
|
-
* OpenAPI spec version: 4.0.1
|
|
14
|
+
* OpenAPI spec version: 4.0.1
|
|
15
15
|
*
|
|
16
16
|
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
17
17
|
*
|
|
18
|
-
* Open API Dev Platform Codegen version:
|
|
18
|
+
* Open API Dev Platform Codegen version: 17.4.0.8851-RELEASE
|
|
19
19
|
*
|
|
20
20
|
* Do not edit the class manually.
|
|
21
21
|
*
|
|
@@ -11,11 +11,11 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default":
|
|
|
11
11
|
/*
|
|
12
12
|
* Nutanix Security APIs
|
|
13
13
|
*
|
|
14
|
-
* OpenAPI spec version: 4.0.1
|
|
14
|
+
* OpenAPI spec version: 4.0.1
|
|
15
15
|
*
|
|
16
16
|
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
17
17
|
*
|
|
18
|
-
* Open API Dev Platform Codegen version:
|
|
18
|
+
* Open API Dev Platform Codegen version: 17.4.0.8851-RELEASE
|
|
19
19
|
*
|
|
20
20
|
* Do not edit the class manually.
|
|
21
21
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The TaskReference model module.
|
|
3
3
|
* @module Ntnx/TaskReference
|
|
4
|
-
* @version 4.0.1
|
|
4
|
+
* @version 4.0.1
|
|
5
5
|
* @class TaskReference
|
|
6
6
|
*/
|
|
7
7
|
export default class TaskReference {
|
|
@@ -26,13 +26,13 @@ export default class TaskReference {
|
|
|
26
26
|
/** @type {object<string, any>} */
|
|
27
27
|
$unknownFields: object;
|
|
28
28
|
/**
|
|
29
|
-
* Returns A globally unique identifier
|
|
29
|
+
* Returns A globally unique identifier for a task.
|
|
30
30
|
* @return {string}
|
|
31
31
|
*/
|
|
32
32
|
getExtId(): string;
|
|
33
33
|
/**
|
|
34
|
-
* Sets A globally unique identifier
|
|
35
|
-
* @param {string} extId A globally unique identifier
|
|
34
|
+
* Sets A globally unique identifier for a task.
|
|
35
|
+
* @param {string} extId A globally unique identifier for a task.
|
|
36
36
|
*/
|
|
37
37
|
setExtId(extId: string): void;
|
|
38
38
|
extId: string;
|
|
@@ -27,11 +27,11 @@ function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a
|
|
|
27
27
|
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); } /*
|
|
28
28
|
* Nutanix Security APIs
|
|
29
29
|
*
|
|
30
|
-
* OpenAPI spec version: 4.0.1
|
|
30
|
+
* OpenAPI spec version: 4.0.1
|
|
31
31
|
*
|
|
32
32
|
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
33
33
|
*
|
|
34
|
-
* Open API Dev Platform Codegen version:
|
|
34
|
+
* Open API Dev Platform Codegen version: 17.4.0.8851-RELEASE
|
|
35
35
|
*
|
|
36
36
|
* Do not edit the class manually.
|
|
37
37
|
*
|
|
@@ -39,7 +39,7 @@ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("C
|
|
|
39
39
|
/**
|
|
40
40
|
* The TaskReference model module.
|
|
41
41
|
* @module Ntnx/TaskReference
|
|
42
|
-
* @version 4.0.1
|
|
42
|
+
* @version 4.0.1
|
|
43
43
|
* @class TaskReference
|
|
44
44
|
*/
|
|
45
45
|
var _TaskReference_brand = /*#__PURE__*/new WeakSet();
|
|
@@ -61,7 +61,7 @@ var TaskReference = exports["default"] = /*#__PURE__*/function () {
|
|
|
61
61
|
this.$objectType = "prism.v4.config.TaskReference";
|
|
62
62
|
/** @type {object<string, any>} */
|
|
63
63
|
this.$reserved = {
|
|
64
|
-
'$fv': "v4.
|
|
64
|
+
'$fv': "v4.r1"
|
|
65
65
|
};
|
|
66
66
|
/** @type {object<string, any>} */
|
|
67
67
|
this.$unknownFields = {};
|
|
@@ -79,7 +79,7 @@ var TaskReference = exports["default"] = /*#__PURE__*/function () {
|
|
|
79
79
|
key: "getExtId",
|
|
80
80
|
value:
|
|
81
81
|
/**
|
|
82
|
-
* Returns A globally unique identifier
|
|
82
|
+
* Returns A globally unique identifier for a task.
|
|
83
83
|
* @return {string}
|
|
84
84
|
*/
|
|
85
85
|
function getExtId() {
|
|
@@ -87,8 +87,8 @@ var TaskReference = exports["default"] = /*#__PURE__*/function () {
|
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
/**
|
|
90
|
-
* Sets A globally unique identifier
|
|
91
|
-
* @param {string} extId A globally unique identifier
|
|
90
|
+
* Sets A globally unique identifier for a task.
|
|
91
|
+
* @param {string} extId A globally unique identifier for a task.
|
|
92
92
|
*/
|
|
93
93
|
}, {
|
|
94
94
|
key: "setExtId",
|
|
@@ -241,7 +241,7 @@ var TaskReference = exports["default"] = /*#__PURE__*/function () {
|
|
|
241
241
|
}]);
|
|
242
242
|
}();
|
|
243
243
|
/**
|
|
244
|
-
* A globally unique identifier
|
|
244
|
+
* A globally unique identifier for a task.
|
|
245
245
|
* @memberof TaskReference
|
|
246
246
|
*/
|
|
247
247
|
function _toJsonMapType(obj, forMutation) {
|
|
@@ -276,12 +276,11 @@ TaskReference.prototype.$reserved = undefined;
|
|
|
276
276
|
TaskReference.prototype.$objectType = undefined;
|
|
277
277
|
TaskReference.prototype.$unknownFields = undefined;
|
|
278
278
|
|
|
279
|
-
// Implement OneOfsecurity.v4.config.
|
|
280
|
-
// Implement OneOfsecurity.v4.
|
|
281
|
-
// Implement OneOfsecurity.v4.config.UpdateHardeningStatusesApiResponsedata interface:
|
|
282
|
-
// Implement OneOfsecurity.v4.management.TriggerScanApiResponsedata interface:
|
|
283
|
-
// Implement OneOfsecurity.v4.management.TriggerApprovalPolicyValidationApiResponsedata interface:
|
|
284
|
-
// Implement OneOfsecurity.v4.config.DeletePublicKeyApiResponsedata interface:
|
|
285
|
-
// Implement OneOfsecurity.v4.config.AddPublicKeyApiResponsedata interface:
|
|
279
|
+
// Implement OneOfsecurity.v4.config.UpdateKeyManagementServerApiResponsedata interface:
|
|
280
|
+
// Implement OneOfsecurity.v4.config.DeleteKeyManagementServerApiResponsedata interface:
|
|
286
281
|
// Implement OneOfsecurity.v4.management.CreateApprovalPolicyApiResponsedata interface:
|
|
287
|
-
// Implement OneOfsecurity.v4.management.AssociatePoliciesApiResponsedata interface:
|
|
282
|
+
// Implement OneOfsecurity.v4.management.AssociatePoliciesApiResponsedata interface:
|
|
283
|
+
// Implement OneOfsecurity.v4.management.UpdateApprovalPolicyApiResponsedata interface:
|
|
284
|
+
// Implement OneOfsecurity.v4.config.UpdateCredentialApiResponsedata interface:
|
|
285
|
+
// Implement OneOfsecurity.v4.config.CreateKeyManagementServerApiResponsedata interface:
|
|
286
|
+
// Implement OneOfsecurity.v4.config.CreateCredentialApiResponsedata interface:
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The Cluster model module.
|
|
3
3
|
* @module Ntnx/Cluster
|
|
4
|
-
* @version 4.0.1
|
|
4
|
+
* @version 4.0.1
|
|
5
5
|
* @class Cluster
|
|
6
6
|
*/
|
|
7
7
|
export default class Cluster {
|
|
@@ -26,24 +26,24 @@ export default class Cluster {
|
|
|
26
26
|
/** @type {object<string, any>} */
|
|
27
27
|
$unknownFields: object;
|
|
28
28
|
/**
|
|
29
|
-
* Returns UUID
|
|
29
|
+
* Returns UUID of the cluster.
|
|
30
30
|
* @return {string}
|
|
31
31
|
*/
|
|
32
32
|
getClusterExtId(): string;
|
|
33
33
|
/**
|
|
34
|
-
* Sets UUID
|
|
35
|
-
* @param {string} clusterExtId UUID
|
|
34
|
+
* Sets UUID of the cluster.
|
|
35
|
+
* @param {string} clusterExtId UUID of the cluster.
|
|
36
36
|
*/
|
|
37
37
|
setClusterExtId(clusterExtId: string): void;
|
|
38
38
|
clusterExtId: string;
|
|
39
39
|
/**
|
|
40
|
-
* Returns Human readable name
|
|
40
|
+
* Returns Human readable name of the cluster.
|
|
41
41
|
* @return {string}
|
|
42
42
|
*/
|
|
43
43
|
getClusterName(): string;
|
|
44
44
|
/**
|
|
45
|
-
* Sets Human readable name
|
|
46
|
-
* @param {string} clusterName Human readable name
|
|
45
|
+
* Sets Human readable name of the cluster.
|
|
46
|
+
* @param {string} clusterName Human readable name of the cluster.
|
|
47
47
|
*/
|
|
48
48
|
setClusterName(clusterName: string): void;
|
|
49
49
|
clusterName: string;
|
|
@@ -27,11 +27,11 @@ function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a
|
|
|
27
27
|
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); } /*
|
|
28
28
|
* Nutanix Security APIs
|
|
29
29
|
*
|
|
30
|
-
* OpenAPI spec version: 4.0.1
|
|
30
|
+
* OpenAPI spec version: 4.0.1
|
|
31
31
|
*
|
|
32
32
|
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
33
33
|
*
|
|
34
|
-
* Open API Dev Platform Codegen version:
|
|
34
|
+
* Open API Dev Platform Codegen version: 17.4.0.8851-RELEASE
|
|
35
35
|
*
|
|
36
36
|
* Do not edit the class manually.
|
|
37
37
|
*
|
|
@@ -39,7 +39,7 @@ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("C
|
|
|
39
39
|
/**
|
|
40
40
|
* The Cluster model module.
|
|
41
41
|
* @module Ntnx/Cluster
|
|
42
|
-
* @version 4.0.1
|
|
42
|
+
* @version 4.0.1
|
|
43
43
|
* @class Cluster
|
|
44
44
|
*/
|
|
45
45
|
var _Cluster_brand = /*#__PURE__*/new WeakSet();
|
|
@@ -60,7 +60,7 @@ var Cluster = exports["default"] = /*#__PURE__*/function () {
|
|
|
60
60
|
this.$objectType = "security.v4.common.Cluster";
|
|
61
61
|
/** @type {object<string, any>} */
|
|
62
62
|
this.$reserved = {
|
|
63
|
-
'$fv': "v4.r0
|
|
63
|
+
'$fv': "v4.r0"
|
|
64
64
|
};
|
|
65
65
|
/** @type {object<string, any>} */
|
|
66
66
|
this.$unknownFields = {};
|
|
@@ -78,7 +78,7 @@ var Cluster = exports["default"] = /*#__PURE__*/function () {
|
|
|
78
78
|
key: "getClusterExtId",
|
|
79
79
|
value:
|
|
80
80
|
/**
|
|
81
|
-
* Returns UUID
|
|
81
|
+
* Returns UUID of the cluster.
|
|
82
82
|
* @return {string}
|
|
83
83
|
*/
|
|
84
84
|
function getClusterExtId() {
|
|
@@ -86,8 +86,8 @@ var Cluster = exports["default"] = /*#__PURE__*/function () {
|
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
/**
|
|
89
|
-
* Sets UUID
|
|
90
|
-
* @param {string} clusterExtId UUID
|
|
89
|
+
* Sets UUID of the cluster.
|
|
90
|
+
* @param {string} clusterExtId UUID of the cluster.
|
|
91
91
|
*/
|
|
92
92
|
}, {
|
|
93
93
|
key: "setClusterExtId",
|
|
@@ -96,7 +96,7 @@ var Cluster = exports["default"] = /*#__PURE__*/function () {
|
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
/**
|
|
99
|
-
* Returns Human readable name
|
|
99
|
+
* Returns Human readable name of the cluster.
|
|
100
100
|
* @return {string}
|
|
101
101
|
*/
|
|
102
102
|
}, {
|
|
@@ -106,8 +106,8 @@ var Cluster = exports["default"] = /*#__PURE__*/function () {
|
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
/**
|
|
109
|
-
* Sets Human readable name
|
|
110
|
-
* @param {string} clusterName Human readable name
|
|
109
|
+
* Sets Human readable name of the cluster.
|
|
110
|
+
* @param {string} clusterName Human readable name of the cluster.
|
|
111
111
|
*/
|
|
112
112
|
}, {
|
|
113
113
|
key: "setClusterName",
|
|
@@ -192,11 +192,17 @@ var Cluster = exports["default"] = /*#__PURE__*/function () {
|
|
|
192
192
|
if (typeof this.clusterExtId === 'undefined' || this.clusterExtId === null) {
|
|
193
193
|
return new _ValidationError["default"]("clusterExtId", "undefined or null");
|
|
194
194
|
}
|
|
195
|
+
if (!_ValidationUtils["default"].validatePattern(this.clusterExtId, /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/)) {
|
|
196
|
+
return new _ValidationError["default"]("clusterExtId", "does not satisfy required pattern: /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/");
|
|
197
|
+
}
|
|
195
198
|
}
|
|
196
199
|
if (property === "clusterName") {
|
|
197
200
|
if (typeof this.clusterName === 'undefined' || this.clusterName === null) {
|
|
198
201
|
return new _ValidationError["default"]("clusterName", "undefined or null");
|
|
199
202
|
}
|
|
203
|
+
if (!_ValidationUtils["default"].validateMaxLength(this.clusterName, 199)) {
|
|
204
|
+
return new _ValidationError["default"]("clusterName", "does not satisfy required maxLength constraint: 199");
|
|
205
|
+
}
|
|
200
206
|
}
|
|
201
207
|
if (property === "$reserved") {
|
|
202
208
|
if (typeof this.$reserved === 'undefined' || this.$reserved === null) {
|
|
@@ -269,7 +275,7 @@ var Cluster = exports["default"] = /*#__PURE__*/function () {
|
|
|
269
275
|
}]);
|
|
270
276
|
}();
|
|
271
277
|
/**
|
|
272
|
-
* UUID
|
|
278
|
+
* UUID of the cluster.
|
|
273
279
|
* @memberof Cluster
|
|
274
280
|
*/
|
|
275
281
|
function _toJsonMapType(obj, forMutation) {
|
|
@@ -302,7 +308,7 @@ function _handleDateType(obj, isDateOnly) {
|
|
|
302
308
|
Cluster.prototype.clusterExtId = undefined;
|
|
303
309
|
|
|
304
310
|
/**
|
|
305
|
-
* Human readable name
|
|
311
|
+
* Human readable name of the cluster.
|
|
306
312
|
* @memberof Cluster
|
|
307
313
|
*/
|
|
308
314
|
Cluster.prototype.clusterName = undefined;
|
|
@@ -27,11 +27,11 @@ function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new T
|
|
|
27
27
|
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); } /*
|
|
28
28
|
* Nutanix Security APIs
|
|
29
29
|
*
|
|
30
|
-
* OpenAPI spec version: 4.0.1
|
|
30
|
+
* OpenAPI spec version: 4.0.1
|
|
31
31
|
*
|
|
32
32
|
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
33
33
|
*
|
|
34
|
-
* Open API Dev Platform Codegen version:
|
|
34
|
+
* Open API Dev Platform Codegen version: 17.4.0.8851-RELEASE
|
|
35
35
|
*
|
|
36
36
|
* Do not edit the class manually.
|
|
37
37
|
*
|
|
@@ -39,7 +39,7 @@ function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf
|
|
|
39
39
|
/**
|
|
40
40
|
* The ClusterProjection model module.
|
|
41
41
|
* @module Ntnx/ClusterProjection
|
|
42
|
-
* @version 4.0.1
|
|
42
|
+
* @version 4.0.1
|
|
43
43
|
* @class ClusterProjection
|
|
44
44
|
* @extends Cluster
|
|
45
45
|
*/
|
|
@@ -56,7 +56,7 @@ var ClusterProjection = exports["default"] = /*#__PURE__*/function (_Cluster) {
|
|
|
56
56
|
_this.$objectType = "security.v4.common.ClusterProjection";
|
|
57
57
|
/** @type {object<string, any>} */
|
|
58
58
|
_this.$reserved = {
|
|
59
|
-
'$fv': "v4.r0
|
|
59
|
+
'$fv': "v4.r0"
|
|
60
60
|
};
|
|
61
61
|
/** @type {object<string, any>} */
|
|
62
62
|
_this.$unknownFields = {};
|
|
@@ -11,11 +11,11 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default":
|
|
|
11
11
|
/*
|
|
12
12
|
* Nutanix Security APIs
|
|
13
13
|
*
|
|
14
|
-
* OpenAPI spec version: 4.0.1
|
|
14
|
+
* OpenAPI spec version: 4.0.1
|
|
15
15
|
*
|
|
16
16
|
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
17
17
|
*
|
|
18
|
-
* Open API Dev Platform Codegen version:
|
|
18
|
+
* Open API Dev Platform Codegen version: 17.4.0.8851-RELEASE
|
|
19
19
|
*
|
|
20
20
|
* Do not edit the class manually.
|
|
21
21
|
*
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The AzureAccessInformation model module.
|
|
3
|
+
* @module Ntnx/AzureAccessInformation
|
|
4
|
+
* @version 4.0.1
|
|
5
|
+
* @class AzureAccessInformation
|
|
6
|
+
*
|
|
7
|
+
* @param { string } endpointUrl Endpoint URL for the Azure Key Vault.
|
|
8
|
+
*
|
|
9
|
+
* @param { string } keyId Master key identifier for the Azure Key Vault.
|
|
10
|
+
*
|
|
11
|
+
* @param { string } tenantId Tetant identifier for the Azure Key Vault.
|
|
12
|
+
*
|
|
13
|
+
* @param { string } clientId Client identifier for the Azure Key Vault.
|
|
14
|
+
*
|
|
15
|
+
* @param { String } clientSecret Client secret for the Azure Key Vault.
|
|
16
|
+
*
|
|
17
|
+
* @param { Date } credentialExpiryDate When the client secret is going to expire.
|
|
18
|
+
*/
|
|
19
|
+
export default class AzureAccessInformation {
|
|
20
|
+
/**
|
|
21
|
+
* Constructs a <code>AzureAccessInformation</code> from a plain JavaScript object, optionally creating a new instance.
|
|
22
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
23
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
24
|
+
* @param {module:Ntnx/AzureAccessInformation} obj Optional instance to populate.
|
|
25
|
+
* @param callFromChild {Boolean} Flag to recognise calling instance
|
|
26
|
+
* @return {module:Ntnx/AzureAccessInformation} The populated <code>AzureAccessInformation</code> instance.
|
|
27
|
+
*/
|
|
28
|
+
static constructFromObject(data: any, obj?: any, callFromChild?: boolean): any;
|
|
29
|
+
/**
|
|
30
|
+
* Converts a given snake_case string to camelCase.
|
|
31
|
+
* @param {string} snakeStr - The input string in snake_case format.
|
|
32
|
+
* @returns {string} - The converted string in camelCase format.
|
|
33
|
+
*/
|
|
34
|
+
static snakeToCamel(snakeStr: string): string;
|
|
35
|
+
/**
|
|
36
|
+
* Constructs a new <code>AzureAccessInformation</code>.
|
|
37
|
+
* Access information for the Azure Key Vault.
|
|
38
|
+
* @alias module:Ntnx/AzureAccessInformation
|
|
39
|
+
*
|
|
40
|
+
* @param { string } endpointUrl Endpoint URL for the Azure Key Vault.
|
|
41
|
+
*
|
|
42
|
+
* @param { string } keyId Master key identifier for the Azure Key Vault.
|
|
43
|
+
*
|
|
44
|
+
* @param { string } tenantId Tetant identifier for the Azure Key Vault.
|
|
45
|
+
*
|
|
46
|
+
* @param { string } clientId Client identifier for the Azure Key Vault.
|
|
47
|
+
*
|
|
48
|
+
* @param { String } clientSecret Client secret for the Azure Key Vault.
|
|
49
|
+
*
|
|
50
|
+
* @param { Date } credentialExpiryDate When the client secret is going to expire.
|
|
51
|
+
*/
|
|
52
|
+
constructor(endpointUrl: string, keyId: string, tenantId: string, clientId: string, clientSecret: string, credentialExpiryDate: Date);
|
|
53
|
+
endpointUrl: string;
|
|
54
|
+
keyId: string;
|
|
55
|
+
tenantId: string;
|
|
56
|
+
clientId: string;
|
|
57
|
+
clientSecret: string;
|
|
58
|
+
credentialExpiryDate: Date;
|
|
59
|
+
$objectType: string;
|
|
60
|
+
/** @type {object<string, any>} */
|
|
61
|
+
$reserved: object;
|
|
62
|
+
/** @type {object<string, any>} */
|
|
63
|
+
$unknownFields: object;
|
|
64
|
+
/**
|
|
65
|
+
* Returns Endpoint URL for the Azure Key Vault.
|
|
66
|
+
* @return {string}
|
|
67
|
+
*/
|
|
68
|
+
getEndpointUrl(): string;
|
|
69
|
+
/**
|
|
70
|
+
* Sets Endpoint URL for the Azure Key Vault.
|
|
71
|
+
* @param {string} endpointUrl Endpoint URL for the Azure Key Vault.
|
|
72
|
+
*/
|
|
73
|
+
setEndpointUrl(endpointUrl: string): void;
|
|
74
|
+
/**
|
|
75
|
+
* Returns Master key identifier for the Azure Key Vault.
|
|
76
|
+
* @return {string}
|
|
77
|
+
*/
|
|
78
|
+
getKeyId(): string;
|
|
79
|
+
/**
|
|
80
|
+
* Sets Master key identifier for the Azure Key Vault.
|
|
81
|
+
* @param {string} keyId Master key identifier for the Azure Key Vault.
|
|
82
|
+
*/
|
|
83
|
+
setKeyId(keyId: string): void;
|
|
84
|
+
/**
|
|
85
|
+
* Returns Tetant identifier for the Azure Key Vault.
|
|
86
|
+
* @return {string}
|
|
87
|
+
*/
|
|
88
|
+
getTenantId(): string;
|
|
89
|
+
/**
|
|
90
|
+
* Sets Tetant identifier for the Azure Key Vault.
|
|
91
|
+
* @param {string} tenantId Tetant identifier for the Azure Key Vault.
|
|
92
|
+
*/
|
|
93
|
+
setTenantId(tenantId: string): void;
|
|
94
|
+
/**
|
|
95
|
+
* Returns Client identifier for the Azure Key Vault.
|
|
96
|
+
* @return {string}
|
|
97
|
+
*/
|
|
98
|
+
getClientId(): string;
|
|
99
|
+
/**
|
|
100
|
+
* Sets Client identifier for the Azure Key Vault.
|
|
101
|
+
* @param {string} clientId Client identifier for the Azure Key Vault.
|
|
102
|
+
*/
|
|
103
|
+
setClientId(clientId: string): void;
|
|
104
|
+
/**
|
|
105
|
+
* Returns Client secret for the Azure Key Vault.
|
|
106
|
+
* @return {String}
|
|
107
|
+
*/
|
|
108
|
+
getClientSecret(): string;
|
|
109
|
+
/**
|
|
110
|
+
* Sets Client secret for the Azure Key Vault.
|
|
111
|
+
* @param {String} clientSecret Client secret for the Azure Key Vault.
|
|
112
|
+
*/
|
|
113
|
+
setClientSecret(clientSecret: string): void;
|
|
114
|
+
/**
|
|
115
|
+
* Returns Truncated client secret for the Azure Key Vault.
|
|
116
|
+
* @return {string}
|
|
117
|
+
*/
|
|
118
|
+
getTruncatedClientSecret(): string;
|
|
119
|
+
/**
|
|
120
|
+
* Sets Truncated client secret for the Azure Key Vault.
|
|
121
|
+
* @param {string} truncatedClientSecret Truncated client secret for the Azure Key Vault.
|
|
122
|
+
*/
|
|
123
|
+
setTruncatedClientSecret(truncatedClientSecret: string): void;
|
|
124
|
+
truncatedClientSecret: string;
|
|
125
|
+
/**
|
|
126
|
+
* Returns When the client secret is going to expire.
|
|
127
|
+
* @return {Date}
|
|
128
|
+
*/
|
|
129
|
+
getCredentialExpiryDate(): Date;
|
|
130
|
+
/**
|
|
131
|
+
* Sets When the client secret is going to expire.
|
|
132
|
+
* @param {Date} credentialExpiryDate When the client secret is going to expire.
|
|
133
|
+
*/
|
|
134
|
+
setCredentialExpiryDate(credentialExpiryDate: Date): void;
|
|
135
|
+
get$Reserved(): any;
|
|
136
|
+
get$ObjectType(): string;
|
|
137
|
+
get$UnknownFields(): any;
|
|
138
|
+
toJson(forMutation: any): {
|
|
139
|
+
$reserved: any;
|
|
140
|
+
$objectType: string;
|
|
141
|
+
$unknownFields: any;
|
|
142
|
+
credentialExpiryDate?: any;
|
|
143
|
+
truncatedClientSecret?: string;
|
|
144
|
+
clientSecret?: string;
|
|
145
|
+
clientId?: string;
|
|
146
|
+
tenantId?: string;
|
|
147
|
+
keyId?: string;
|
|
148
|
+
endpointUrl?: string;
|
|
149
|
+
};
|
|
150
|
+
validate(scope: any, properties: any, ...args: any[]): Promise<any>;
|
|
151
|
+
validateProperty(scope: any, property: any): ValidationError;
|
|
152
|
+
#private;
|
|
153
|
+
}
|
|
154
|
+
import ValidationError from "../../../validation/ValidationError";
|