@nutanix-scratch/security-js-client 4.0.1 → 4.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -5
- package/dist/Ntnx-Security-js-client-prod.js +1 -1
- package/dist/Ntnx-Security-js-client.js +626 -532
- package/dist/es/ApiClient.d.ts +29 -7
- package/dist/es/ApiClient.js +854 -667
- package/dist/es/Paginable.d.ts +1 -1
- package/dist/es/Paginable.js +144 -183
- package/dist/es/apis/approvalpolicies-endpoints.d.ts +2 -2
- package/dist/es/apis/approvalpolicies-endpoints.js +221 -235
- package/dist/es/apis/credentials-endpoints.d.ts +2 -2
- package/dist/es/apis/credentials-endpoints.js +210 -224
- package/dist/es/apis/keymanagementservers-endpoints.d.ts +1 -1
- package/dist/es/apis/keymanagementservers-endpoints.js +190 -210
- package/dist/es/apis/securitysummaries-endpoints.d.ts +56 -0
- package/dist/es/apis/securitysummaries-endpoints.js +140 -0
- package/dist/es/apis/stigs-endpoints.d.ts +4 -3
- package/dist/es/apis/stigs-endpoints.js +108 -111
- package/dist/es/apis/vulnerabilities-endpoints.d.ts +46 -0
- package/dist/es/apis/vulnerabilities-endpoints.js +107 -0
- package/dist/es/index.d.ts +31 -15
- package/dist/es/index.js +361 -297
- package/dist/es/models/common/v1/config/BasicAuth.d.ts +2 -8
- package/dist/es/models/common/v1/config/BasicAuth.js +170 -211
- package/dist/es/models/common/v1/config/FQDN.d.ts +2 -7
- package/dist/es/models/common/v1/config/FQDN.js +141 -180
- package/dist/es/models/common/v1/config/Flag.d.ts +2 -8
- package/dist/es/models/common/v1/config/Flag.js +170 -211
- package/dist/es/models/common/v1/config/IPAddressOrFQDN.d.ts +2 -26
- package/dist/es/models/common/v1/config/IPAddressOrFQDN.js +196 -247
- package/dist/es/models/common/v1/config/IPv4Address.d.ts +2 -8
- package/dist/es/models/common/v1/config/IPv4Address.js +174 -215
- package/dist/es/models/common/v1/config/IPv6Address.d.ts +2 -8
- package/dist/es/models/common/v1/config/IPv6Address.js +174 -215
- package/dist/es/models/common/v1/config/KVPair.d.ts +2 -8
- package/dist/es/models/common/v1/config/KVPair.js +225 -270
- package/dist/es/models/common/v1/config/MapOfStringWrapper.d.ts +2 -7
- package/dist/es/models/common/v1/config/MapOfStringWrapper.js +139 -178
- package/dist/es/models/common/v1/config/Message.d.ts +2 -10
- package/dist/es/models/common/v1/config/Message.js +213 -258
- package/dist/es/models/common/v1/config/MessageSeverity.js +7 -9
- package/dist/es/models/common/v1/config/TenantAwareModel.d.ts +2 -7
- package/dist/es/models/common/v1/config/TenantAwareModel.js +137 -177
- package/dist/es/models/common/v1/response/ApiLink.d.ts +2 -8
- package/dist/es/models/common/v1/response/ApiLink.js +165 -206
- package/dist/es/models/common/v1/response/ApiResponseMetadata.d.ts +2 -40
- package/dist/es/models/common/v1/response/ApiResponseMetadata.js +281 -344
- package/dist/es/models/common/v1/response/ExternalizableAbstractModel.d.ts +1 -15
- package/dist/es/models/common/v1/response/ExternalizableAbstractModel.js +154 -202
- package/dist/es/models/iam/v4/authn/BucketsAccessKey.d.ts +1 -26
- package/dist/es/models/iam/v4/authn/BucketsAccessKey.js +385 -453
- package/dist/es/models/iam/v4/authn/BucketsAccessKeyStatusType.js +7 -9
- package/dist/es/models/iam/v4/authn/CreationType.js +7 -9
- package/dist/es/models/iam/v4/authn/User.d.ts +1 -67
- package/dist/es/models/iam/v4/authn/User.js +714 -810
- package/dist/es/models/iam/v4/authn/UserStatusType.js +7 -9
- package/dist/es/models/iam/v4/authn/UserType.js +7 -9
- package/dist/es/models/prism/v4/config/TaskReference.d.ts +2 -7
- package/dist/es/models/prism/v4/config/TaskReference.js +143 -181
- package/dist/es/models/security/v4/common/Cluster.d.ts +2 -8
- package/dist/es/models/security/v4/common/Cluster.js +171 -212
- package/dist/es/models/security/v4/common/ClusterProjection.d.ts +1 -1
- package/dist/es/models/security/v4/common/ClusterProjection.js +74 -103
- package/dist/es/models/security/v4/common/Timescale.js +9 -29
- package/dist/es/models/security/v4/config/AzureAccessInformation.d.ts +2 -13
- package/dist/es/models/security/v4/config/AzureAccessInformation.js +311 -361
- package/dist/es/models/security/v4/config/BasicAuthCredential.d.ts +2 -13
- package/dist/es/models/security/v4/config/BasicAuthCredential.js +138 -177
- package/dist/es/models/security/v4/config/BmcCredential.d.ts +1 -14
- package/dist/es/models/security/v4/config/BmcCredential.js +121 -163
- package/dist/es/models/security/v4/config/CreateCredentialApiResponse.d.ts +2 -43
- package/dist/es/models/security/v4/config/CreateCredentialApiResponse.js +187 -242
- package/dist/es/models/security/v4/config/CreateKeyManagementServerApiResponse.d.ts +2 -43
- package/dist/es/models/security/v4/config/CreateKeyManagementServerApiResponse.js +187 -242
- package/dist/es/models/security/v4/config/Credential.d.ts +1 -18
- package/dist/es/models/security/v4/config/Credential.js +200 -251
- package/dist/es/models/security/v4/config/DeleteCredentialApiResponse.d.ts +2 -43
- package/dist/es/models/security/v4/config/DeleteCredentialApiResponse.js +190 -245
- package/dist/es/models/security/v4/config/DeleteKeyManagementServerApiResponse.d.ts +2 -43
- package/dist/es/models/security/v4/config/DeleteKeyManagementServerApiResponse.js +187 -242
- package/dist/es/models/security/v4/config/EndpointInfo.d.ts +70 -0
- package/dist/es/models/security/v4/config/EndpointInfo.js +278 -0
- package/dist/es/models/security/v4/config/ExternalSshAccessConfig.d.ts +2 -10
- package/dist/es/models/security/v4/config/ExternalSshAccessConfig.js +218 -265
- package/dist/es/models/security/v4/config/ExternalSshAccessConfigProjection.d.ts +10 -0
- package/dist/es/models/security/v4/config/ExternalSshAccessConfigProjection.js +121 -0
- package/dist/es/models/security/v4/config/GetCredentialApiResponse.d.ts +2 -43
- package/dist/es/models/security/v4/config/GetCredentialApiResponse.js +187 -242
- package/dist/es/models/security/v4/config/GetKeyManagementServerApiResponse.d.ts +2 -43
- package/dist/es/models/security/v4/config/GetKeyManagementServerApiResponse.js +187 -242
- package/dist/es/models/security/v4/config/IntersightConnectionType.js +7 -9
- package/dist/es/models/security/v4/config/IntersightCredential.d.ts +1 -16
- package/dist/es/models/security/v4/config/IntersightCredential.js +172 -218
- package/dist/es/models/security/v4/config/KeyBasedAuth.d.ts +2 -8
- package/dist/es/models/security/v4/config/KeyBasedAuth.js +176 -217
- package/dist/es/models/security/v4/config/KeyBasedAuthCredential.d.ts +2 -13
- package/dist/es/models/security/v4/config/KeyBasedAuthCredential.js +138 -177
- package/dist/es/models/security/v4/config/KeyManagementServer.d.ts +20 -33
- package/dist/es/models/security/v4/config/KeyManagementServer.js +206 -199
- package/dist/es/models/security/v4/config/KmipAccessInformation.d.ts +118 -0
- package/dist/es/models/security/v4/config/KmipAccessInformation.js +428 -0
- package/dist/es/models/security/v4/config/ListCredentialsApiResponse.d.ts +2 -43
- package/dist/es/models/security/v4/config/ListCredentialsApiResponse.js +209 -264
- package/dist/es/models/security/v4/config/ListKeyManagementServersApiResponse.d.ts +2 -43
- package/dist/es/models/security/v4/config/ListKeyManagementServersApiResponse.js +209 -264
- package/dist/es/models/security/v4/config/ScheduleType.js +11 -13
- package/dist/es/models/security/v4/config/SecurityConfig.d.ts +1 -25
- package/dist/es/models/security/v4/config/SecurityConfig.js +350 -421
- package/dist/es/models/security/v4/config/SecurityConfigProjection.d.ts +1 -32
- package/dist/es/models/security/v4/config/SecurityConfigProjection.js +169 -202
- package/dist/es/models/security/v4/config/SecurityConfigVisibilitySetting.d.ts +1 -23
- package/dist/es/models/security/v4/config/SecurityConfigVisibilitySetting.js +303 -359
- package/dist/es/models/security/v4/config/SecurityConfigVisibilitySettingProjection.d.ts +10 -0
- package/dist/es/models/security/v4/config/SecurityConfigVisibilitySettingProjection.js +123 -0
- package/dist/es/models/security/v4/config/UpdateCredentialApiResponse.d.ts +2 -45
- package/dist/es/models/security/v4/config/UpdateCredentialApiResponse.js +187 -242
- package/dist/es/models/security/v4/config/UpdateKeyManagementServerApiResponse.d.ts +2 -43
- package/dist/es/models/security/v4/config/UpdateKeyManagementServerApiResponse.js +187 -242
- package/dist/es/models/security/v4/config/VcenterCredential.d.ts +1 -39
- package/dist/es/models/security/v4/config/VcenterCredential.js +145 -189
- package/dist/es/models/security/v4/error/AppMessage.d.ts +2 -12
- package/dist/es/models/security/v4/error/AppMessage.js +264 -313
- package/dist/es/models/security/v4/error/ErrorResponse.d.ts +2 -7
- package/dist/es/models/security/v4/error/ErrorResponse.js +178 -218
- package/dist/es/models/security/v4/error/SchemaValidationError.d.ts +2 -18
- package/dist/es/models/security/v4/error/SchemaValidationError.js +249 -300
- package/dist/es/models/security/v4/error/SchemaValidationErrorMessage.d.ts +2 -9
- package/dist/es/models/security/v4/error/SchemaValidationErrorMessage.js +191 -234
- package/dist/es/models/security/v4/management/ApprovalPolicy.d.ts +1 -100
- package/dist/es/models/security/v4/management/ApprovalPolicy.js +302 -366
- package/dist/es/models/security/v4/management/ApprovalPolicyProjection.d.ts +14 -0
- package/dist/es/models/security/v4/management/ApprovalPolicyProjection.js +133 -0
- package/dist/es/models/security/v4/management/ApproverGroup.d.ts +2 -74
- package/dist/es/models/security/v4/management/ApproverGroup.js +206 -253
- package/dist/es/models/security/v4/management/AssociatePoliciesApiResponse.d.ts +2 -43
- package/dist/es/models/security/v4/management/AssociatePoliciesApiResponse.js +187 -242
- package/dist/es/models/security/v4/management/AssociatePoliciesSpec.d.ts +2 -13
- package/dist/es/models/security/v4/management/AssociatePoliciesSpec.js +149 -192
- package/dist/es/models/security/v4/management/CreateApprovalPolicyApiResponse.d.ts +2 -43
- package/dist/es/models/security/v4/management/CreateApprovalPolicyApiResponse.js +187 -242
- package/dist/es/models/security/v4/management/EventType.js +7 -9
- package/dist/es/models/security/v4/management/GetApprovalPolicyApiResponse.d.ts +2 -43
- package/dist/es/models/security/v4/management/GetApprovalPolicyApiResponse.js +187 -242
- package/dist/es/models/security/v4/management/ListApprovalPoliciesApiResponse.d.ts +8 -48
- package/dist/es/models/security/v4/management/ListApprovalPoliciesApiResponse.js +214 -264
- package/dist/es/models/security/v4/management/PolicyType.js +7 -9
- package/dist/es/models/security/v4/management/SecuredEntityType.js +7 -9
- package/dist/es/models/security/v4/management/SecuredPolicy.d.ts +2 -8
- package/dist/es/models/security/v4/management/SecuredPolicy.js +166 -207
- package/dist/es/models/security/v4/management/SecurityValidationSpec.d.ts +2 -14
- package/dist/es/models/security/v4/management/SecurityValidationSpec.js +332 -385
- package/dist/es/models/security/v4/management/UpdateApprovalPolicyApiResponse.d.ts +2 -43
- package/dist/es/models/security/v4/management/UpdateApprovalPolicyApiResponse.js +187 -242
- package/dist/es/models/security/v4/report/IssueSummary.d.ts +9 -21
- package/dist/es/models/security/v4/report/IssueSummary.js +178 -223
- package/dist/es/models/security/v4/report/ListSecuritySummariesApiResponse.d.ts +59 -0
- package/dist/es/models/security/v4/report/ListSecuritySummariesApiResponse.js +315 -0
- package/dist/es/models/security/v4/report/ListStigSummariesApiResponse.d.ts +2 -43
- package/dist/es/models/security/v4/report/ListStigSummariesApiResponse.js +213 -268
- package/dist/es/models/security/v4/report/ListStigsApiResponse.d.ts +2 -43
- package/dist/es/models/security/v4/report/ListStigsApiResponse.js +213 -268
- package/dist/es/models/security/v4/report/ListVulnerabilitiesApiResponse.d.ts +59 -0
- package/dist/es/models/security/v4/report/ListVulnerabilitiesApiResponse.js +315 -0
- package/dist/es/models/security/v4/report/RefreshSecuritySummariesApiResponse.d.ts +58 -0
- package/dist/es/models/security/v4/report/RefreshSecuritySummariesApiResponse.js +288 -0
- package/dist/es/models/security/v4/report/SecurityConfigSummary.d.ts +55 -0
- package/dist/es/models/security/v4/report/SecurityConfigSummary.js +324 -0
- package/dist/es/models/security/v4/report/SecuritySummary.d.ts +83 -0
- package/dist/es/models/security/v4/report/SecuritySummary.js +438 -0
- package/dist/es/models/security/v4/report/SecuritySummaryProjection.d.ts +21 -0
- package/dist/es/models/security/v4/report/SecuritySummaryProjection.js +303 -0
- package/dist/es/models/security/v4/report/Severity.js +7 -9
- package/dist/es/models/security/v4/report/SoftwareType.js +7 -9
- package/dist/es/models/security/v4/report/Stig.d.ts +1 -25
- package/dist/es/models/security/v4/report/Stig.js +371 -439
- package/dist/es/models/security/v4/report/StigProjection.d.ts +1 -1
- package/dist/es/models/security/v4/report/StigProjection.js +74 -103
- package/dist/es/models/security/v4/report/StigSecuritySummary.d.ts +44 -0
- package/dist/es/models/security/v4/report/StigSecuritySummary.js +291 -0
- package/dist/es/models/security/v4/report/StigStatus.js +7 -9
- package/dist/es/models/security/v4/report/StigSummary.d.ts +1 -22
- package/dist/es/models/security/v4/report/StigSummary.js +193 -245
- package/dist/es/models/security/v4/report/StigSummaryProjection.d.ts +1 -26
- package/dist/es/models/security/v4/report/StigSummaryProjection.js +138 -176
- package/dist/es/models/security/v4/report/TrendValue.d.ts +10 -16
- package/dist/es/models/security/v4/report/TrendValue.js +170 -211
- package/dist/es/models/security/v4/report/Vulnerability.d.ts +4 -37
- package/dist/es/models/security/v4/report/Vulnerability.js +283 -379
- package/dist/es/models/security/v4/report/VulnerabilityDetail.d.ts +68 -0
- package/dist/es/models/security/v4/report/VulnerabilityDetail.js +310 -0
- package/dist/es/models/security/v4/report/VulnerabilityProjection.d.ts +1 -1
- package/dist/es/models/security/v4/report/VulnerabilityProjection.js +74 -103
- package/dist/es/models/security/v4/report/VulnerabilitySummary.d.ts +12 -61
- package/dist/es/models/security/v4/report/VulnerabilitySummary.js +147 -302
- package/dist/es/models/validation/ValidationError.js +26 -42
- package/dist/es/models/validation/ValidationScopes.js +3 -3
- package/dist/es/utils/ValidationUtils.js +39 -69
- package/dist/lib/ApiClient.d.ts +29 -7
- package/dist/lib/ApiClient.js +854 -667
- package/dist/lib/Paginable.d.ts +1 -1
- package/dist/lib/Paginable.js +144 -183
- package/dist/lib/apis/approvalpolicies-endpoints.d.ts +2 -2
- package/dist/lib/apis/approvalpolicies-endpoints.js +221 -235
- package/dist/lib/apis/credentials-endpoints.d.ts +2 -2
- package/dist/lib/apis/credentials-endpoints.js +210 -224
- package/dist/lib/apis/keymanagementservers-endpoints.d.ts +1 -1
- package/dist/lib/apis/keymanagementservers-endpoints.js +190 -210
- package/dist/lib/apis/securitysummaries-endpoints.d.ts +56 -0
- package/dist/lib/apis/securitysummaries-endpoints.js +140 -0
- package/dist/lib/apis/stigs-endpoints.d.ts +4 -3
- package/dist/lib/apis/stigs-endpoints.js +108 -111
- package/dist/lib/apis/vulnerabilities-endpoints.d.ts +46 -0
- package/dist/lib/apis/vulnerabilities-endpoints.js +107 -0
- package/dist/lib/index.d.ts +31 -15
- package/dist/lib/index.js +361 -297
- package/dist/lib/models/common/v1/config/BasicAuth.d.ts +2 -8
- package/dist/lib/models/common/v1/config/BasicAuth.js +170 -211
- package/dist/lib/models/common/v1/config/FQDN.d.ts +2 -7
- package/dist/lib/models/common/v1/config/FQDN.js +141 -180
- package/dist/lib/models/common/v1/config/Flag.d.ts +2 -8
- package/dist/lib/models/common/v1/config/Flag.js +170 -211
- package/dist/lib/models/common/v1/config/IPAddressOrFQDN.d.ts +2 -26
- package/dist/lib/models/common/v1/config/IPAddressOrFQDN.js +196 -247
- package/dist/lib/models/common/v1/config/IPv4Address.d.ts +2 -8
- package/dist/lib/models/common/v1/config/IPv4Address.js +174 -215
- package/dist/lib/models/common/v1/config/IPv6Address.d.ts +2 -8
- package/dist/lib/models/common/v1/config/IPv6Address.js +174 -215
- package/dist/lib/models/common/v1/config/KVPair.d.ts +2 -8
- package/dist/lib/models/common/v1/config/KVPair.js +225 -270
- package/dist/lib/models/common/v1/config/MapOfStringWrapper.d.ts +2 -7
- package/dist/lib/models/common/v1/config/MapOfStringWrapper.js +139 -178
- package/dist/lib/models/common/v1/config/Message.d.ts +2 -10
- package/dist/lib/models/common/v1/config/Message.js +213 -258
- package/dist/lib/models/common/v1/config/MessageSeverity.js +7 -9
- package/dist/lib/models/common/v1/config/TenantAwareModel.d.ts +2 -7
- package/dist/lib/models/common/v1/config/TenantAwareModel.js +137 -177
- package/dist/lib/models/common/v1/response/ApiLink.d.ts +2 -8
- package/dist/lib/models/common/v1/response/ApiLink.js +165 -206
- package/dist/lib/models/common/v1/response/ApiResponseMetadata.d.ts +2 -40
- package/dist/lib/models/common/v1/response/ApiResponseMetadata.js +281 -344
- package/dist/lib/models/common/v1/response/ExternalizableAbstractModel.d.ts +1 -15
- package/dist/lib/models/common/v1/response/ExternalizableAbstractModel.js +154 -202
- package/dist/lib/models/iam/v4/authn/BucketsAccessKey.d.ts +1 -26
- package/dist/lib/models/iam/v4/authn/BucketsAccessKey.js +385 -453
- package/dist/lib/models/iam/v4/authn/BucketsAccessKeyStatusType.js +7 -9
- package/dist/lib/models/iam/v4/authn/CreationType.js +7 -9
- package/dist/lib/models/iam/v4/authn/User.d.ts +1 -67
- package/dist/lib/models/iam/v4/authn/User.js +714 -810
- package/dist/lib/models/iam/v4/authn/UserStatusType.js +7 -9
- package/dist/lib/models/iam/v4/authn/UserType.js +7 -9
- package/dist/lib/models/prism/v4/config/TaskReference.d.ts +2 -7
- package/dist/lib/models/prism/v4/config/TaskReference.js +143 -181
- package/dist/lib/models/security/v4/common/Cluster.d.ts +2 -8
- package/dist/lib/models/security/v4/common/Cluster.js +171 -212
- package/dist/lib/models/security/v4/common/ClusterProjection.d.ts +1 -1
- package/dist/lib/models/security/v4/common/ClusterProjection.js +74 -103
- package/dist/lib/models/security/v4/common/Timescale.js +9 -29
- package/dist/lib/models/security/v4/config/AzureAccessInformation.d.ts +2 -13
- package/dist/lib/models/security/v4/config/AzureAccessInformation.js +311 -361
- package/dist/lib/models/security/v4/config/BasicAuthCredential.d.ts +2 -13
- package/dist/lib/models/security/v4/config/BasicAuthCredential.js +138 -177
- package/dist/lib/models/security/v4/config/BmcCredential.d.ts +1 -14
- package/dist/lib/models/security/v4/config/BmcCredential.js +121 -163
- package/dist/lib/models/security/v4/config/CreateCredentialApiResponse.d.ts +2 -43
- package/dist/lib/models/security/v4/config/CreateCredentialApiResponse.js +187 -242
- package/dist/lib/models/security/v4/config/CreateKeyManagementServerApiResponse.d.ts +2 -43
- package/dist/lib/models/security/v4/config/CreateKeyManagementServerApiResponse.js +187 -242
- package/dist/lib/models/security/v4/config/Credential.d.ts +1 -18
- package/dist/lib/models/security/v4/config/Credential.js +200 -251
- package/dist/lib/models/security/v4/config/DeleteCredentialApiResponse.d.ts +2 -43
- package/dist/lib/models/security/v4/config/DeleteCredentialApiResponse.js +190 -245
- package/dist/lib/models/security/v4/config/DeleteKeyManagementServerApiResponse.d.ts +2 -43
- package/dist/lib/models/security/v4/config/DeleteKeyManagementServerApiResponse.js +187 -242
- package/dist/lib/models/security/v4/config/EndpointInfo.d.ts +70 -0
- package/dist/lib/models/security/v4/config/EndpointInfo.js +278 -0
- package/dist/lib/models/security/v4/config/ExternalSshAccessConfig.d.ts +2 -10
- package/dist/lib/models/security/v4/config/ExternalSshAccessConfig.js +218 -265
- package/dist/lib/models/security/v4/config/ExternalSshAccessConfigProjection.d.ts +10 -0
- package/dist/lib/models/security/v4/config/ExternalSshAccessConfigProjection.js +121 -0
- package/dist/lib/models/security/v4/config/GetCredentialApiResponse.d.ts +2 -43
- package/dist/lib/models/security/v4/config/GetCredentialApiResponse.js +187 -242
- package/dist/lib/models/security/v4/config/GetKeyManagementServerApiResponse.d.ts +2 -43
- package/dist/lib/models/security/v4/config/GetKeyManagementServerApiResponse.js +187 -242
- package/dist/lib/models/security/v4/config/IntersightConnectionType.js +7 -9
- package/dist/lib/models/security/v4/config/IntersightCredential.d.ts +1 -16
- package/dist/lib/models/security/v4/config/IntersightCredential.js +172 -218
- package/dist/lib/models/security/v4/config/KeyBasedAuth.d.ts +2 -8
- package/dist/lib/models/security/v4/config/KeyBasedAuth.js +176 -217
- package/dist/lib/models/security/v4/config/KeyBasedAuthCredential.d.ts +2 -13
- package/dist/lib/models/security/v4/config/KeyBasedAuthCredential.js +138 -177
- package/dist/lib/models/security/v4/config/KeyManagementServer.d.ts +20 -33
- package/dist/lib/models/security/v4/config/KeyManagementServer.js +206 -199
- package/dist/lib/models/security/v4/config/KmipAccessInformation.d.ts +118 -0
- package/dist/lib/models/security/v4/config/KmipAccessInformation.js +428 -0
- package/dist/lib/models/security/v4/config/ListCredentialsApiResponse.d.ts +2 -43
- package/dist/lib/models/security/v4/config/ListCredentialsApiResponse.js +209 -264
- package/dist/lib/models/security/v4/config/ListKeyManagementServersApiResponse.d.ts +2 -43
- package/dist/lib/models/security/v4/config/ListKeyManagementServersApiResponse.js +209 -264
- package/dist/lib/models/security/v4/config/ScheduleType.js +11 -13
- package/dist/lib/models/security/v4/config/SecurityConfig.d.ts +1 -25
- package/dist/lib/models/security/v4/config/SecurityConfig.js +350 -421
- package/dist/lib/models/security/v4/config/SecurityConfigProjection.d.ts +1 -32
- package/dist/lib/models/security/v4/config/SecurityConfigProjection.js +169 -202
- package/dist/lib/models/security/v4/config/SecurityConfigVisibilitySetting.d.ts +1 -23
- package/dist/lib/models/security/v4/config/SecurityConfigVisibilitySetting.js +303 -359
- package/dist/lib/models/security/v4/config/SecurityConfigVisibilitySettingProjection.d.ts +10 -0
- package/dist/lib/models/security/v4/config/SecurityConfigVisibilitySettingProjection.js +123 -0
- package/dist/lib/models/security/v4/config/UpdateCredentialApiResponse.d.ts +2 -45
- package/dist/lib/models/security/v4/config/UpdateCredentialApiResponse.js +187 -242
- package/dist/lib/models/security/v4/config/UpdateKeyManagementServerApiResponse.d.ts +2 -43
- package/dist/lib/models/security/v4/config/UpdateKeyManagementServerApiResponse.js +187 -242
- package/dist/lib/models/security/v4/config/VcenterCredential.d.ts +1 -39
- package/dist/lib/models/security/v4/config/VcenterCredential.js +145 -189
- package/dist/lib/models/security/v4/error/AppMessage.d.ts +2 -12
- package/dist/lib/models/security/v4/error/AppMessage.js +264 -313
- package/dist/lib/models/security/v4/error/ErrorResponse.d.ts +2 -7
- package/dist/lib/models/security/v4/error/ErrorResponse.js +178 -218
- package/dist/lib/models/security/v4/error/SchemaValidationError.d.ts +2 -18
- package/dist/lib/models/security/v4/error/SchemaValidationError.js +249 -300
- package/dist/lib/models/security/v4/error/SchemaValidationErrorMessage.d.ts +2 -9
- package/dist/lib/models/security/v4/error/SchemaValidationErrorMessage.js +191 -234
- package/dist/lib/models/security/v4/management/ApprovalPolicy.d.ts +1 -100
- package/dist/lib/models/security/v4/management/ApprovalPolicy.js +302 -366
- package/dist/lib/models/security/v4/management/ApprovalPolicyProjection.d.ts +14 -0
- package/dist/lib/models/security/v4/management/ApprovalPolicyProjection.js +133 -0
- package/dist/lib/models/security/v4/management/ApproverGroup.d.ts +2 -74
- package/dist/lib/models/security/v4/management/ApproverGroup.js +206 -253
- package/dist/lib/models/security/v4/management/AssociatePoliciesApiResponse.d.ts +2 -43
- package/dist/lib/models/security/v4/management/AssociatePoliciesApiResponse.js +187 -242
- package/dist/lib/models/security/v4/management/AssociatePoliciesSpec.d.ts +2 -13
- package/dist/lib/models/security/v4/management/AssociatePoliciesSpec.js +149 -192
- package/dist/lib/models/security/v4/management/CreateApprovalPolicyApiResponse.d.ts +2 -43
- package/dist/lib/models/security/v4/management/CreateApprovalPolicyApiResponse.js +187 -242
- package/dist/lib/models/security/v4/management/EventType.js +7 -9
- package/dist/lib/models/security/v4/management/GetApprovalPolicyApiResponse.d.ts +2 -43
- package/dist/lib/models/security/v4/management/GetApprovalPolicyApiResponse.js +187 -242
- package/dist/lib/models/security/v4/management/ListApprovalPoliciesApiResponse.d.ts +8 -48
- package/dist/lib/models/security/v4/management/ListApprovalPoliciesApiResponse.js +214 -264
- package/dist/lib/models/security/v4/management/PolicyType.js +7 -9
- package/dist/lib/models/security/v4/management/SecuredEntityType.js +7 -9
- package/dist/lib/models/security/v4/management/SecuredPolicy.d.ts +2 -8
- package/dist/lib/models/security/v4/management/SecuredPolicy.js +166 -207
- package/dist/lib/models/security/v4/management/SecurityValidationSpec.d.ts +2 -14
- package/dist/lib/models/security/v4/management/SecurityValidationSpec.js +332 -385
- package/dist/lib/models/security/v4/management/UpdateApprovalPolicyApiResponse.d.ts +2 -43
- package/dist/lib/models/security/v4/management/UpdateApprovalPolicyApiResponse.js +187 -242
- package/dist/lib/models/security/v4/report/IssueSummary.d.ts +9 -21
- package/dist/lib/models/security/v4/report/IssueSummary.js +178 -223
- package/dist/lib/models/security/v4/report/ListSecuritySummariesApiResponse.d.ts +59 -0
- package/dist/lib/models/security/v4/report/ListSecuritySummariesApiResponse.js +315 -0
- package/dist/lib/models/security/v4/report/ListStigSummariesApiResponse.d.ts +2 -43
- package/dist/lib/models/security/v4/report/ListStigSummariesApiResponse.js +213 -268
- package/dist/lib/models/security/v4/report/ListStigsApiResponse.d.ts +2 -43
- package/dist/lib/models/security/v4/report/ListStigsApiResponse.js +213 -268
- package/dist/lib/models/security/v4/report/ListVulnerabilitiesApiResponse.d.ts +59 -0
- package/dist/lib/models/security/v4/report/ListVulnerabilitiesApiResponse.js +315 -0
- package/dist/lib/models/security/v4/report/RefreshSecuritySummariesApiResponse.d.ts +58 -0
- package/dist/lib/models/security/v4/report/RefreshSecuritySummariesApiResponse.js +288 -0
- package/dist/lib/models/security/v4/report/SecurityConfigSummary.d.ts +55 -0
- package/dist/lib/models/security/v4/report/SecurityConfigSummary.js +324 -0
- package/dist/lib/models/security/v4/report/SecuritySummary.d.ts +83 -0
- package/dist/lib/models/security/v4/report/SecuritySummary.js +438 -0
- package/dist/lib/models/security/v4/report/SecuritySummaryProjection.d.ts +21 -0
- package/dist/lib/models/security/v4/report/SecuritySummaryProjection.js +303 -0
- package/dist/lib/models/security/v4/report/Severity.js +7 -9
- package/dist/lib/models/security/v4/report/SoftwareType.js +7 -9
- package/dist/lib/models/security/v4/report/Stig.d.ts +1 -25
- package/dist/lib/models/security/v4/report/Stig.js +371 -439
- package/dist/lib/models/security/v4/report/StigProjection.d.ts +1 -1
- package/dist/lib/models/security/v4/report/StigProjection.js +74 -103
- package/dist/lib/models/security/v4/report/StigSecuritySummary.d.ts +44 -0
- package/dist/lib/models/security/v4/report/StigSecuritySummary.js +291 -0
- package/dist/lib/models/security/v4/report/StigStatus.js +7 -9
- package/dist/lib/models/security/v4/report/StigSummary.d.ts +1 -22
- package/dist/lib/models/security/v4/report/StigSummary.js +193 -245
- package/dist/lib/models/security/v4/report/StigSummaryProjection.d.ts +1 -26
- package/dist/lib/models/security/v4/report/StigSummaryProjection.js +138 -176
- package/dist/lib/models/security/v4/report/TrendValue.d.ts +10 -16
- package/dist/lib/models/security/v4/report/TrendValue.js +170 -211
- package/dist/lib/models/security/v4/report/Vulnerability.d.ts +4 -37
- package/dist/lib/models/security/v4/report/Vulnerability.js +283 -379
- package/dist/lib/models/security/v4/report/VulnerabilityDetail.d.ts +68 -0
- package/dist/lib/models/security/v4/report/VulnerabilityDetail.js +310 -0
- package/dist/lib/models/security/v4/report/VulnerabilityProjection.d.ts +1 -1
- package/dist/lib/models/security/v4/report/VulnerabilityProjection.js +74 -103
- package/dist/lib/models/security/v4/report/VulnerabilitySummary.d.ts +12 -61
- package/dist/lib/models/security/v4/report/VulnerabilitySummary.js +147 -302
- package/dist/lib/models/validation/ValidationError.js +26 -42
- package/dist/lib/models/validation/ValidationScopes.js +3 -3
- package/dist/lib/utils/ValidationUtils.js +39 -69
- package/package.json +1 -1
- package/dist/es/models/security/v4/config/PasswordStatus.d.ts +0 -19
- package/dist/es/models/security/v4/config/PasswordStatus.js +0 -97
- package/dist/es/models/security/v4/config/PasswordVerificationStatus.d.ts +0 -19
- package/dist/es/models/security/v4/config/PasswordVerificationStatus.js +0 -91
- package/dist/es/models/security/v4/config/VerifyPassword.d.ts +0 -36
- package/dist/es/models/security/v4/config/VerifyPassword.js +0 -271
- package/dist/es/models/security/v4/config/VerifyPasswordSpec.d.ts +0 -62
- package/dist/es/models/security/v4/config/VerifyPasswordSpec.js +0 -279
- package/dist/es/models/security/v4/report/Summary.d.ts +0 -149
- package/dist/es/models/security/v4/report/Summary.js +0 -490
- package/dist/es/models/security/v4/report/SummaryProjection.d.ts +0 -97
- package/dist/es/models/security/v4/report/SummaryProjection.js +0 -329
- package/dist/es/models/security/v4/report/VulnerabilitySummaryProjection.d.ts +0 -10
- package/dist/es/models/security/v4/report/VulnerabilitySummaryProjection.js +0 -153
- package/dist/lib/models/security/v4/config/PasswordStatus.d.ts +0 -19
- package/dist/lib/models/security/v4/config/PasswordStatus.js +0 -97
- package/dist/lib/models/security/v4/config/PasswordVerificationStatus.d.ts +0 -19
- package/dist/lib/models/security/v4/config/PasswordVerificationStatus.js +0 -91
- package/dist/lib/models/security/v4/config/VerifyPassword.d.ts +0 -36
- package/dist/lib/models/security/v4/config/VerifyPassword.js +0 -271
- package/dist/lib/models/security/v4/config/VerifyPasswordSpec.d.ts +0 -62
- package/dist/lib/models/security/v4/config/VerifyPasswordSpec.js +0 -279
- package/dist/lib/models/security/v4/report/Summary.d.ts +0 -149
- package/dist/lib/models/security/v4/report/Summary.js +0 -490
- package/dist/lib/models/security/v4/report/SummaryProjection.d.ts +0 -97
- package/dist/lib/models/security/v4/report/SummaryProjection.js +0 -329
- package/dist/lib/models/security/v4/report/VulnerabilitySummaryProjection.d.ts +0 -10
- package/dist/lib/models/security/v4/report/VulnerabilitySummaryProjection.js +0 -153
|
@@ -1,70 +1,53 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
3
|
Object.defineProperty(exports, "__esModule", {
|
|
5
4
|
value: true
|
|
6
5
|
});
|
|
7
|
-
exports
|
|
6
|
+
exports.default = void 0;
|
|
8
7
|
var _TenantAwareModel = _interopRequireDefault(require("../../../common/v1/config/TenantAwareModel"));
|
|
9
8
|
var _ExternalizableAbstractModel = _interopRequireDefault(require("../../../common/v1/response/ExternalizableAbstractModel"));
|
|
10
9
|
var _Severity = _interopRequireDefault(require("./Severity"));
|
|
11
|
-
var
|
|
10
|
+
var _Stig = _interopRequireDefault(require("./Stig"));
|
|
12
11
|
var _StigStatus = _interopRequireDefault(require("./StigStatus"));
|
|
13
12
|
var _ValidationScopes = _interopRequireDefault(require("../../../validation/ValidationScopes"));
|
|
14
13
|
var _ValidationUtils = _interopRequireDefault(require("../../../../utils/ValidationUtils"));
|
|
15
14
|
var _ValidationError = _interopRequireDefault(require("../../../validation/ValidationError"));
|
|
16
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : {
|
|
17
|
-
|
|
18
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
19
|
-
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
20
|
-
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
21
|
-
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
22
|
-
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
23
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
24
|
-
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
25
|
-
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
26
|
-
function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
|
|
27
|
-
function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
|
|
28
|
-
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
29
|
-
function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
|
|
30
|
-
function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
|
|
31
|
-
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); } /*
|
|
15
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
16
|
+
/*
|
|
32
17
|
* Nutanix Security APIs
|
|
33
18
|
*
|
|
34
|
-
* OpenAPI spec version: 4.
|
|
19
|
+
* OpenAPI spec version: 4.1.2
|
|
35
20
|
*
|
|
36
21
|
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
37
22
|
*
|
|
38
|
-
* Open API Dev Platform Codegen version: 17.
|
|
23
|
+
* Open API Dev Platform Codegen version: 17.5.1.10573-RELEASE
|
|
39
24
|
*
|
|
40
25
|
* Do not edit the class manually.
|
|
41
26
|
*
|
|
42
27
|
*/
|
|
28
|
+
|
|
43
29
|
/**
|
|
44
30
|
* The StigProjection model module.
|
|
45
31
|
* @module Ntnx/StigProjection
|
|
46
|
-
* @version 4.
|
|
32
|
+
* @version 4.1.2
|
|
47
33
|
* @class StigProjection
|
|
48
34
|
* @extends Stig
|
|
49
35
|
*/
|
|
50
|
-
|
|
36
|
+
class StigProjection extends _Stig.default {
|
|
51
37
|
/**
|
|
52
38
|
* Constructs a new <code>StigProjection</code>.
|
|
53
39
|
* @alias module:Ntnx/StigProjection
|
|
54
40
|
* @extends module:Ntnx/Stig
|
|
55
41
|
*/
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
_this = _callSuper(this, StigProjection);
|
|
60
|
-
_this.$objectType = "security.v4.report.StigProjection";
|
|
42
|
+
constructor() {
|
|
43
|
+
super();
|
|
44
|
+
this.$objectType = "security.v4.report.StigProjection";
|
|
61
45
|
/** @type {object<string, any>} */
|
|
62
|
-
|
|
63
|
-
'$fv': "v4.
|
|
46
|
+
this.$reserved = {
|
|
47
|
+
'$fv': "v4.r1"
|
|
64
48
|
};
|
|
65
49
|
/** @type {object<string, any>} */
|
|
66
|
-
|
|
67
|
-
return _this;
|
|
50
|
+
this.$unknownFields = {};
|
|
68
51
|
}
|
|
69
52
|
|
|
70
53
|
/**
|
|
@@ -75,80 +58,68 @@ var StigProjection = exports["default"] = /*#__PURE__*/function (_Stig) {
|
|
|
75
58
|
* @param callFromChild {Boolean} Flag to recognise calling instance
|
|
76
59
|
* @return {module:Ntnx/StigProjection} The populated <code>StigProjection</code> instance.
|
|
77
60
|
*/
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
}
|
|
95
|
-
var res = [];
|
|
96
|
-
var err = null;
|
|
97
|
-
propList.forEach(function (property) {
|
|
98
|
-
err = _this2.validateProperty(property, scope);
|
|
99
|
-
if (err) {
|
|
100
|
-
res.push(err);
|
|
101
|
-
}
|
|
102
|
-
});
|
|
103
|
-
return new Promise(function (resolve, reject) {
|
|
104
|
-
if (res.length !== 0) {
|
|
105
|
-
reject(err);
|
|
106
|
-
} else {
|
|
107
|
-
resolve();
|
|
108
|
-
}
|
|
109
|
-
});
|
|
110
|
-
}
|
|
111
|
-
}, {
|
|
112
|
-
key: "validateProperty",
|
|
113
|
-
value: function validateProperty(scope, property) {
|
|
114
|
-
return new _ValidationError["default"](property, "no such property exists");
|
|
115
|
-
}
|
|
116
|
-
}], [{
|
|
117
|
-
key: "constructFromObject",
|
|
118
|
-
value: function constructFromObject(data) {
|
|
119
|
-
var obj = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
|
|
120
|
-
var callFromChild = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
|
|
121
|
-
var items, item, i, itemArr, discriminator;
|
|
122
|
-
if (data) {
|
|
123
|
-
obj = obj || new StigProjection();
|
|
124
|
-
_Stig2["default"].constructFromObject(data, obj, true);
|
|
125
|
-
if (!callFromChild) {
|
|
126
|
-
obj.$unknownFields = _objectSpread({}, data.$unknownFields);
|
|
127
|
-
for (var property in data) {
|
|
128
|
-
// Check if the `property` is not already present in `obj` keys, either in snake_case or camelCase,
|
|
129
|
-
// as the model's fields are generated in camelCase, but the server might return snake_case (e.g., due to standards like OIDC).
|
|
130
|
-
// Also, ensure the `property` does not start with '$' and end with 'ItemDiscriminator'.
|
|
131
|
-
// If all conditions are true, add the `property` from `data` to `obj.$unknownFields` as an unknown field.
|
|
132
|
-
if (!Object.keys(obj).includes(property) && !Object.keys(obj).includes(this.snakeToCamel(property)) && !(property[0] === "$" && property.endsWith("ItemDiscriminator"))) {
|
|
133
|
-
obj.$unknownFields[property] = data[property];
|
|
134
|
-
}
|
|
61
|
+
static constructFromObject(data, obj = null, callFromChild = false) {
|
|
62
|
+
let items, item, i, itemArr, discriminator;
|
|
63
|
+
if (data) {
|
|
64
|
+
obj = obj || new StigProjection();
|
|
65
|
+
_Stig.default.constructFromObject(data, obj, true);
|
|
66
|
+
if (!callFromChild) {
|
|
67
|
+
obj.$unknownFields = {
|
|
68
|
+
...data.$unknownFields
|
|
69
|
+
};
|
|
70
|
+
for (const property in data) {
|
|
71
|
+
// Check if the `property` is not already present in `obj` keys, either in snake_case or camelCase,
|
|
72
|
+
// as the model's fields are generated in camelCase, but the server might return snake_case (e.g., due to standards like OIDC).
|
|
73
|
+
// Also, ensure the `property` does not start with '$' and end with 'ItemDiscriminator'.
|
|
74
|
+
// If all conditions are true, add the `property` from `data` to `obj.$unknownFields` as an unknown field.
|
|
75
|
+
if (!Object.keys(obj).includes(property) && !Object.keys(obj).includes(this.snakeToCamel(property)) && !(property[0] === "$" && property.endsWith("ItemDiscriminator"))) {
|
|
76
|
+
obj.$unknownFields[property] = data[property];
|
|
135
77
|
}
|
|
136
78
|
}
|
|
137
79
|
}
|
|
138
|
-
return obj;
|
|
139
80
|
}
|
|
81
|
+
return obj;
|
|
82
|
+
}
|
|
140
83
|
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
84
|
+
/**
|
|
85
|
+
* Converts a given snake_case string to camelCase.
|
|
86
|
+
* @param {string} snakeStr - The input string in snake_case format.
|
|
87
|
+
* @returns {string} - The converted string in camelCase format.
|
|
88
|
+
*/
|
|
89
|
+
static snakeToCamel(snakeStr) {
|
|
90
|
+
return snakeStr.replace(/(_\w)/g, match => match[1].toUpperCase());
|
|
91
|
+
}
|
|
92
|
+
validate(scope, properties) {
|
|
93
|
+
let propList = [];
|
|
94
|
+
if (arguments.length === 0 || arguments.length === 1 && arguments[0] instanceof _ValidationScopes.default) {
|
|
95
|
+
//cases validate() and validate(scope)
|
|
96
|
+
propList = [];
|
|
97
|
+
} else if (arguments.length === 1) {
|
|
98
|
+
//case validate(properties)
|
|
99
|
+
propList = arguments[0];
|
|
100
|
+
scope = null;
|
|
101
|
+
} else {
|
|
102
|
+
//case validate(scope, properties)
|
|
103
|
+
propList = arguments[1];
|
|
152
104
|
}
|
|
153
|
-
|
|
154
|
-
|
|
105
|
+
let res = [];
|
|
106
|
+
let err = null;
|
|
107
|
+
propList.forEach(property => {
|
|
108
|
+
err = this.validateProperty(property, scope);
|
|
109
|
+
if (err) {
|
|
110
|
+
res.push(err);
|
|
111
|
+
}
|
|
112
|
+
});
|
|
113
|
+
return new Promise(function (resolve, reject) {
|
|
114
|
+
if (res.length !== 0) {
|
|
115
|
+
reject(err);
|
|
116
|
+
} else {
|
|
117
|
+
resolve();
|
|
118
|
+
}
|
|
119
|
+
});
|
|
120
|
+
}
|
|
121
|
+
validateProperty(scope, property) {
|
|
122
|
+
return new _ValidationError.default(property, "no such property exists");
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
exports.default = StigProjection;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The StigSecuritySummary model module.
|
|
3
|
+
* @module Ntnx/StigSecuritySummary
|
|
4
|
+
* @version 4.1.2
|
|
5
|
+
* @class StigSecuritySummary
|
|
6
|
+
* @extends IssueSummary
|
|
7
|
+
*/
|
|
8
|
+
export default class StigSecuritySummary extends IssueSummary {
|
|
9
|
+
/**
|
|
10
|
+
* Returns Count of total resources in the cluster.
|
|
11
|
+
* @return {Number}
|
|
12
|
+
*/
|
|
13
|
+
getPassedCount(): number;
|
|
14
|
+
/**
|
|
15
|
+
* Sets Count of total resources in the cluster.
|
|
16
|
+
* @param {Number} passedCount Count of total resources in the cluster.
|
|
17
|
+
*/
|
|
18
|
+
setPassedCount(passedCount: number): void;
|
|
19
|
+
passedCount: number;
|
|
20
|
+
/**
|
|
21
|
+
* Returns Count of resources with failed STIG tests.
|
|
22
|
+
* @return {Number}
|
|
23
|
+
*/
|
|
24
|
+
getFailedCount(): number;
|
|
25
|
+
/**
|
|
26
|
+
* Sets Count of resources with failed STIG tests.
|
|
27
|
+
* @param {Number} failedCount Count of resources with failed STIG tests.
|
|
28
|
+
*/
|
|
29
|
+
setFailedCount(failedCount: number): void;
|
|
30
|
+
failedCount: number;
|
|
31
|
+
/**
|
|
32
|
+
* Returns Count of resources with STIG test not applicable.
|
|
33
|
+
* @return {Number}
|
|
34
|
+
*/
|
|
35
|
+
getNotApplicableCount(): number;
|
|
36
|
+
/**
|
|
37
|
+
* Sets Count of resources with STIG test not applicable.
|
|
38
|
+
* @param {Number} notApplicableCount Count of resources with STIG test not applicable.
|
|
39
|
+
*/
|
|
40
|
+
setNotApplicableCount(notApplicableCount: number): void;
|
|
41
|
+
notApplicableCount: number;
|
|
42
|
+
#private;
|
|
43
|
+
}
|
|
44
|
+
import IssueSummary from "./IssueSummary";
|
|
@@ -0,0 +1,291 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _IssueSummary = _interopRequireDefault(require("./IssueSummary"));
|
|
8
|
+
var _TrendValue = _interopRequireDefault(require("./TrendValue"));
|
|
9
|
+
var _ValidationScopes = _interopRequireDefault(require("../../../validation/ValidationScopes"));
|
|
10
|
+
var _ValidationUtils = _interopRequireDefault(require("../../../../utils/ValidationUtils"));
|
|
11
|
+
var _ValidationError = _interopRequireDefault(require("../../../validation/ValidationError"));
|
|
12
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
13
|
+
function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
|
|
14
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); } /*
|
|
15
|
+
* Nutanix Security APIs
|
|
16
|
+
*
|
|
17
|
+
* OpenAPI spec version: 4.1.2
|
|
18
|
+
*
|
|
19
|
+
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
20
|
+
*
|
|
21
|
+
* Open API Dev Platform Codegen version: 17.5.1.10573-RELEASE
|
|
22
|
+
*
|
|
23
|
+
* Do not edit the class manually.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
/**
|
|
27
|
+
* The StigSecuritySummary model module.
|
|
28
|
+
* @module Ntnx/StigSecuritySummary
|
|
29
|
+
* @version 4.1.2
|
|
30
|
+
* @class StigSecuritySummary
|
|
31
|
+
* @extends IssueSummary
|
|
32
|
+
*/
|
|
33
|
+
var _StigSecuritySummary_brand = /*#__PURE__*/new WeakSet();
|
|
34
|
+
class StigSecuritySummary extends _IssueSummary.default {
|
|
35
|
+
/**
|
|
36
|
+
* Constructs a new <code>StigSecuritySummary</code>.
|
|
37
|
+
* Cluster STIG summary.
|
|
38
|
+
* @alias module:Ntnx/StigSecuritySummary
|
|
39
|
+
* @extends module:Ntnx/IssueSummary
|
|
40
|
+
*/
|
|
41
|
+
constructor() {
|
|
42
|
+
super();
|
|
43
|
+
/*
|
|
44
|
+
* toJson method for a map type which supports map with primitive keys and values of object types
|
|
45
|
+
* @param {Object} obj
|
|
46
|
+
* @returns {Object|Map} Returns a new transofrmed Map by calling toJson on the values if applicable.
|
|
47
|
+
* Otherwise, just returns the input object.
|
|
48
|
+
*/
|
|
49
|
+
_classPrivateMethodInitSpec(this, _StigSecuritySummary_brand);
|
|
50
|
+
this.$objectType = "security.v4.report.StigSecuritySummary";
|
|
51
|
+
/** @type {object<string, any>} */
|
|
52
|
+
this.$reserved = {
|
|
53
|
+
'$fv': "v4.r1"
|
|
54
|
+
};
|
|
55
|
+
/** @type {object<string, any>} */
|
|
56
|
+
this.$unknownFields = {};
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Constructs a <code>StigSecuritySummary</code> from a plain JavaScript object, optionally creating a new instance.
|
|
61
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
62
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
63
|
+
* @param {module:Ntnx/StigSecuritySummary} obj Optional instance to populate.
|
|
64
|
+
* @param callFromChild {Boolean} Flag to recognise calling instance
|
|
65
|
+
* @return {module:Ntnx/StigSecuritySummary} The populated <code>StigSecuritySummary</code> instance.
|
|
66
|
+
*/
|
|
67
|
+
static constructFromObject(data, obj = null, callFromChild = false) {
|
|
68
|
+
let items, item, i, itemArr, discriminator;
|
|
69
|
+
if (data) {
|
|
70
|
+
obj = obj || new StigSecuritySummary();
|
|
71
|
+
_IssueSummary.default.constructFromObject(data, obj, true);
|
|
72
|
+
if (data.hasOwnProperty('passedCount') && data.passedCount !== null && data.passedCount !== undefined) {
|
|
73
|
+
obj.setPassedCount(data['passedCount']);
|
|
74
|
+
}
|
|
75
|
+
if (data.hasOwnProperty('failedCount') && data.failedCount !== null && data.failedCount !== undefined) {
|
|
76
|
+
obj.setFailedCount(data['failedCount']);
|
|
77
|
+
}
|
|
78
|
+
if (data.hasOwnProperty('notApplicableCount') && data.notApplicableCount !== null && data.notApplicableCount !== undefined) {
|
|
79
|
+
obj.setNotApplicableCount(data['notApplicableCount']);
|
|
80
|
+
}
|
|
81
|
+
if (!callFromChild) {
|
|
82
|
+
obj.$unknownFields = {
|
|
83
|
+
...data.$unknownFields
|
|
84
|
+
};
|
|
85
|
+
for (const property in data) {
|
|
86
|
+
// Check if the `property` is not already present in `obj` keys, either in snake_case or camelCase,
|
|
87
|
+
// as the model's fields are generated in camelCase, but the server might return snake_case (e.g., due to standards like OIDC).
|
|
88
|
+
// Also, ensure the `property` does not start with '$' and end with 'ItemDiscriminator'.
|
|
89
|
+
// If all conditions are true, add the `property` from `data` to `obj.$unknownFields` as an unknown field.
|
|
90
|
+
if (!Object.keys(obj).includes(property) && !Object.keys(obj).includes(this.snakeToCamel(property)) && !(property[0] === "$" && property.endsWith("ItemDiscriminator"))) {
|
|
91
|
+
obj.$unknownFields[property] = data[property];
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
return obj;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* Converts a given snake_case string to camelCase.
|
|
101
|
+
* @param {string} snakeStr - The input string in snake_case format.
|
|
102
|
+
* @returns {string} - The converted string in camelCase format.
|
|
103
|
+
*/
|
|
104
|
+
static snakeToCamel(snakeStr) {
|
|
105
|
+
return snakeStr.replace(/(_\w)/g, match => match[1].toUpperCase());
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* Returns Count of total resources in the cluster.
|
|
110
|
+
* @return {Number}
|
|
111
|
+
*/
|
|
112
|
+
getPassedCount() {
|
|
113
|
+
return this.passedCount;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* Sets Count of total resources in the cluster.
|
|
118
|
+
* @param {Number} passedCount Count of total resources in the cluster.
|
|
119
|
+
*/
|
|
120
|
+
setPassedCount(passedCount) {
|
|
121
|
+
this.passedCount = passedCount;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* Returns Count of resources with failed STIG tests.
|
|
126
|
+
* @return {Number}
|
|
127
|
+
*/
|
|
128
|
+
getFailedCount() {
|
|
129
|
+
return this.failedCount;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* Sets Count of resources with failed STIG tests.
|
|
134
|
+
* @param {Number} failedCount Count of resources with failed STIG tests.
|
|
135
|
+
*/
|
|
136
|
+
setFailedCount(failedCount) {
|
|
137
|
+
this.failedCount = failedCount;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* Returns Count of resources with STIG test not applicable.
|
|
142
|
+
* @return {Number}
|
|
143
|
+
*/
|
|
144
|
+
getNotApplicableCount() {
|
|
145
|
+
return this.notApplicableCount;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* Sets Count of resources with STIG test not applicable.
|
|
150
|
+
* @param {Number} notApplicableCount Count of resources with STIG test not applicable.
|
|
151
|
+
*/
|
|
152
|
+
setNotApplicableCount(notApplicableCount) {
|
|
153
|
+
this.notApplicableCount = notApplicableCount;
|
|
154
|
+
}
|
|
155
|
+
toJson(forMutation) {
|
|
156
|
+
if (forMutation === false) {
|
|
157
|
+
return {
|
|
158
|
+
...(typeof this.getPassedCount() !== 'undefined' && this.getPassedCount() !== null ? {
|
|
159
|
+
'passedCount': this.getPassedCount()
|
|
160
|
+
} : {}),
|
|
161
|
+
...(typeof this.getFailedCount() !== 'undefined' && this.getFailedCount() !== null ? {
|
|
162
|
+
'failedCount': this.getFailedCount()
|
|
163
|
+
} : {}),
|
|
164
|
+
...(typeof this.getNotApplicableCount() !== 'undefined' && this.getNotApplicableCount() !== null ? {
|
|
165
|
+
'notApplicableCount': this.getNotApplicableCount()
|
|
166
|
+
} : {}),
|
|
167
|
+
...(typeof this.getCurrentIssueCount() !== 'undefined' && this.getCurrentIssueCount() !== null ? {
|
|
168
|
+
'currentIssueCount': this.getCurrentIssueCount()
|
|
169
|
+
} : {}),
|
|
170
|
+
...(typeof this.getTrends() !== 'undefined' && this.getTrends() !== null ? {
|
|
171
|
+
'trends': this.getTrends().map(item => item.toJson(false))
|
|
172
|
+
} : {}),
|
|
173
|
+
'$reserved': this.get$Reserved(),
|
|
174
|
+
'$objectType': this.get$ObjectType(),
|
|
175
|
+
...(typeof this.get$UnknownFields() !== 'undefined' && this.get$UnknownFields() !== null ? this.get$UnknownFields() : {}),
|
|
176
|
+
'$unknownFields': {}
|
|
177
|
+
};
|
|
178
|
+
}
|
|
179
|
+
return {
|
|
180
|
+
...(typeof this.getCurrentIssueCount() !== 'undefined' && this.getCurrentIssueCount() !== null ? {
|
|
181
|
+
'currentIssueCount': this.getCurrentIssueCount()
|
|
182
|
+
} : {}),
|
|
183
|
+
...(typeof this.getTrends() !== 'undefined' && this.getTrends() !== null ? {
|
|
184
|
+
'trends': this.getTrends().map(item => item.toJson(false))
|
|
185
|
+
} : {}),
|
|
186
|
+
'$reserved': this.get$Reserved(),
|
|
187
|
+
'$objectType': this.get$ObjectType(),
|
|
188
|
+
...(typeof this.get$UnknownFields() !== 'undefined' && this.get$UnknownFields() !== null ? this.get$UnknownFields() : {}),
|
|
189
|
+
'$unknownFields': {}
|
|
190
|
+
};
|
|
191
|
+
}
|
|
192
|
+
validate(scope, properties) {
|
|
193
|
+
let propList = [];
|
|
194
|
+
if (arguments.length === 0 || arguments.length === 1 && arguments[0] instanceof _ValidationScopes.default) {
|
|
195
|
+
//cases validate() and validate(scope)
|
|
196
|
+
propList = [];
|
|
197
|
+
} else if (arguments.length === 1) {
|
|
198
|
+
//case validate(properties)
|
|
199
|
+
propList = arguments[0];
|
|
200
|
+
scope = null;
|
|
201
|
+
} else {
|
|
202
|
+
//case validate(scope, properties)
|
|
203
|
+
propList = arguments[1];
|
|
204
|
+
}
|
|
205
|
+
let res = [];
|
|
206
|
+
let err = null;
|
|
207
|
+
propList.forEach(property => {
|
|
208
|
+
err = this.validateProperty(property, scope);
|
|
209
|
+
if (err) {
|
|
210
|
+
res.push(err);
|
|
211
|
+
}
|
|
212
|
+
});
|
|
213
|
+
return new Promise(function (resolve, reject) {
|
|
214
|
+
if (res.length !== 0) {
|
|
215
|
+
reject(err);
|
|
216
|
+
} else {
|
|
217
|
+
resolve();
|
|
218
|
+
}
|
|
219
|
+
});
|
|
220
|
+
}
|
|
221
|
+
validateProperty(scope, property) {
|
|
222
|
+
if (property === "passedCount") {
|
|
223
|
+
if (typeof this.passedCount === 'undefined' || this.passedCount === null) {
|
|
224
|
+
return new _ValidationError.default("passedCount", "undefined or null");
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
if (property === "failedCount") {
|
|
228
|
+
if (typeof this.failedCount === 'undefined' || this.failedCount === null) {
|
|
229
|
+
return new _ValidationError.default("failedCount", "undefined or null");
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
if (property === "notApplicableCount") {
|
|
233
|
+
if (typeof this.notApplicableCount === 'undefined' || this.notApplicableCount === null) {
|
|
234
|
+
return new _ValidationError.default("notApplicableCount", "undefined or null");
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
return new _ValidationError.default(property, "no such property exists");
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
/**
|
|
242
|
+
* Count of total resources in the cluster.
|
|
243
|
+
* @memberof StigSecuritySummary
|
|
244
|
+
*/
|
|
245
|
+
exports.default = StigSecuritySummary;
|
|
246
|
+
function _toJsonMapType(obj, forMutation) {
|
|
247
|
+
if (obj instanceof Map) {
|
|
248
|
+
return Object.fromEntries(Array.from(obj, ([k, v]) => [k, typeof v.toJson !== "undefined" ? v.toJson(forMutation) : v]));
|
|
249
|
+
} else if (typeof obj === 'object' && obj != null && obj.constructor === Object) {
|
|
250
|
+
return Object.fromEntries(Array.from(Object.entries(obj), entry => {
|
|
251
|
+
return [entry[0], typeof entry[1].toJson !== "undefined" ? entry[1].toJson(forMutation) : entry[1]];
|
|
252
|
+
}));
|
|
253
|
+
}
|
|
254
|
+
return obj;
|
|
255
|
+
}
|
|
256
|
+
/*
|
|
257
|
+
* toJson method for a date type which serializes a Date object to proper Date or DateTime formatting
|
|
258
|
+
* @param {Object} obj Object to serialize
|
|
259
|
+
* @param {boolean} isDateOnly Boolean variable to identify Date or DateTime format for serialization
|
|
260
|
+
* @returns {Object|string} Returns serialized date object or original input object
|
|
261
|
+
*/
|
|
262
|
+
function _handleDateType(obj, isDateOnly) {
|
|
263
|
+
if (obj instanceof Date && isDateOnly !== undefined) {
|
|
264
|
+
return isDateOnly ? obj.toISOString().slice(0, 10) : obj.toISOString();
|
|
265
|
+
}
|
|
266
|
+
return obj;
|
|
267
|
+
}
|
|
268
|
+
StigSecuritySummary.prototype.passedCount = undefined;
|
|
269
|
+
|
|
270
|
+
/**
|
|
271
|
+
* Count of resources with failed STIG tests.
|
|
272
|
+
* @memberof StigSecuritySummary
|
|
273
|
+
*/
|
|
274
|
+
StigSecuritySummary.prototype.failedCount = undefined;
|
|
275
|
+
|
|
276
|
+
/**
|
|
277
|
+
* Count of resources with STIG test not applicable.
|
|
278
|
+
* @memberof StigSecuritySummary
|
|
279
|
+
*/
|
|
280
|
+
StigSecuritySummary.prototype.notApplicableCount = undefined;
|
|
281
|
+
|
|
282
|
+
/**
|
|
283
|
+
* The number of current issues of similar type.
|
|
284
|
+
* @memberof StigSecuritySummary
|
|
285
|
+
*/
|
|
286
|
+
_IssueSummary.default.prototype.currentIssueCount = undefined;
|
|
287
|
+
/**
|
|
288
|
+
* Historical data containing how many issues were present and when
|
|
289
|
+
* @memberof StigSecuritySummary
|
|
290
|
+
*/
|
|
291
|
+
_IssueSummary.default.prototype.trends = undefined;
|
|
@@ -3,19 +3,19 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports
|
|
6
|
+
exports.default = void 0;
|
|
7
7
|
var _ValidationScopes = _interopRequireDefault(require("../../../validation/ValidationScopes"));
|
|
8
8
|
var _ValidationUtils = _interopRequireDefault(require("../../../../utils/ValidationUtils"));
|
|
9
9
|
var _ValidationError = _interopRequireDefault(require("../../../validation/ValidationError"));
|
|
10
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : {
|
|
10
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
11
11
|
/*
|
|
12
12
|
* Nutanix Security APIs
|
|
13
13
|
*
|
|
14
|
-
* OpenAPI spec version: 4.
|
|
14
|
+
* OpenAPI spec version: 4.1.2
|
|
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: 17.
|
|
18
|
+
* Open API Dev Platform Codegen version: 17.5.1.10573-RELEASE
|
|
19
19
|
*
|
|
20
20
|
* Do not edit the class manually.
|
|
21
21
|
*
|
|
@@ -26,7 +26,7 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default":
|
|
|
26
26
|
* @enum {string}
|
|
27
27
|
* @readonly
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
const StigStatus = {
|
|
30
30
|
/**
|
|
31
31
|
* Unknown value.
|
|
32
32
|
* @const
|
|
@@ -61,9 +61,7 @@ var StigStatus = {
|
|
|
61
61
|
*/
|
|
62
62
|
StigStatus.constructFromObject = function (obj) {
|
|
63
63
|
if (typeof obj === 'string' || obj instanceof String) {
|
|
64
|
-
|
|
65
|
-
return StigStatus[key] === obj;
|
|
66
|
-
});
|
|
64
|
+
let enumVal = Object.keys(StigStatus).find(key => StigStatus[key] === obj);
|
|
67
65
|
return enumVal === undefined || enumVal === null ? StigStatus.$UNKNOWN : StigStatus[enumVal];
|
|
68
66
|
} else {
|
|
69
67
|
throw new Error("Received object name is not an instance of String");
|
|
@@ -88,4 +86,4 @@ StigStatus.validate = function (obj) {
|
|
|
88
86
|
}
|
|
89
87
|
};
|
|
90
88
|
Object.freeze(StigStatus);
|
|
91
|
-
var _default = exports
|
|
89
|
+
var _default = exports.default = StigStatus;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The StigSummary model module.
|
|
3
3
|
* @module Ntnx/StigSummary
|
|
4
|
-
* @version 4.
|
|
4
|
+
* @version 4.1.2
|
|
5
5
|
* @class StigSummary
|
|
6
6
|
* @extends ExternalizableAbstractModel
|
|
7
7
|
*/
|
|
@@ -50,27 +50,6 @@ export default class StigSummary extends ExternalizableAbstractModel {
|
|
|
50
50
|
*/
|
|
51
51
|
setNotApplicableCount(notApplicableCount: number): void;
|
|
52
52
|
notApplicableCount: number;
|
|
53
|
-
toJson(forMutation: any): {
|
|
54
|
-
$reserved: any;
|
|
55
|
-
$objectType: string;
|
|
56
|
-
$unknownFields: any;
|
|
57
|
-
tenantId?: string;
|
|
58
|
-
links?: {
|
|
59
|
-
$reserved: any;
|
|
60
|
-
$objectType: string; /**
|
|
61
|
-
* Sets Count of resources with STIG test not applicable.
|
|
62
|
-
* @param {Number} notApplicableCount Count of resources with STIG test not applicable.
|
|
63
|
-
*/
|
|
64
|
-
$unknownFields: any;
|
|
65
|
-
rel?: string;
|
|
66
|
-
href?: string;
|
|
67
|
-
}[];
|
|
68
|
-
extId?: string;
|
|
69
|
-
notApplicableCount?: number;
|
|
70
|
-
failedCount?: number;
|
|
71
|
-
passedCount?: number;
|
|
72
|
-
clusterExtId?: string;
|
|
73
|
-
};
|
|
74
53
|
#private;
|
|
75
54
|
}
|
|
76
55
|
import ExternalizableAbstractModel from "../../../common/v1/response/ExternalizableAbstractModel";
|