@spottoai/types-package 1.0.2-dev1138.12 → 1.0.2-dev1138.14
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 +3 -0
- package/dist/accounts/accounts.d.ts +13 -0
- package/dist/accounts/accounts.d.ts.map +1 -1
- package/dist/accounts/azureSpSetup.d.ts +5 -0
- package/dist/accounts/azureSpSetup.d.ts.map +1 -1
- package/dist/accounts/azureSpSetup.js.map +1 -1
- package/dist/accounts/index.d.ts +1 -0
- package/dist/accounts/index.d.ts.map +1 -1
- package/dist/accounts/index.js +1 -0
- package/dist/accounts/index.js.map +1 -1
- package/dist/accounts/subscriptionWriteAccess.d.ts +76 -0
- package/dist/accounts/subscriptionWriteAccess.d.ts.map +1 -0
- package/dist/accounts/subscriptionWriteAccess.js +119 -0
- package/dist/accounts/subscriptionWriteAccess.js.map +1 -0
- package/dist/accounts/writePermissions.d.ts +17 -1
- package/dist/accounts/writePermissions.d.ts.map +1 -1
- package/dist/accounts/writePermissions.js +47 -1
- package/dist/accounts/writePermissions.js.map +1 -1
- package/dist/ai/followUps.d.ts +16 -0
- package/dist/ai/followUps.d.ts.map +1 -0
- package/dist/ai/followUps.js +21 -0
- package/dist/ai/followUps.js.map +1 -0
- package/dist/ai/grounding.d.ts +42 -5
- package/dist/ai/grounding.d.ts.map +1 -1
- package/dist/ai/grounding.js +76 -8
- package/dist/ai/grounding.js.map +1 -1
- package/dist/ai/index.d.ts +4 -0
- package/dist/ai/index.d.ts.map +1 -1
- package/dist/ai/index.js +1 -0
- package/dist/ai/index.js.map +1 -1
- package/dist/aws/commitments-planning.d.ts +1 -1
- package/dist/aws/commitments-planning.d.ts.map +1 -1
- package/dist/aws/commitments-planning.js +1 -0
- package/dist/aws/commitments-planning.js.map +1 -1
- package/dist/aws/commitmentsPlanningValidation.d.ts +1 -1
- package/dist/aws/commitmentsPlanningValidation.d.ts.map +1 -1
- package/dist/aws/commitmentsPlanningValidation.js +26 -25
- package/dist/aws/commitmentsPlanningValidation.js.map +1 -1
- package/dist/aws/commitmentsPlanningView.d.ts +49 -0
- package/dist/aws/commitmentsPlanningView.d.ts.map +1 -0
- package/dist/aws/{pluginPublicArtifactEvidence.js → commitmentsPlanningView.js} +1 -1
- package/dist/aws/commitmentsPlanningView.js.map +1 -0
- package/dist/aws/index.d.ts +2 -14
- package/dist/aws/index.d.ts.map +1 -1
- package/dist/aws/index.js +2 -13
- package/dist/aws/index.js.map +1 -1
- package/dist/aws/organizationCommitments.d.ts +2 -1
- package/dist/aws/organizationCommitments.d.ts.map +1 -1
- package/dist/aws/organizationCommitments.js +2 -2
- package/dist/aws/organizationCommitments.js.map +1 -1
- package/dist/aws/organizationCommitmentsApiValidation.d.ts.map +1 -1
- package/dist/aws/organizationCommitmentsApiValidation.js +64 -64
- package/dist/aws/organizationCommitmentsApiValidation.js.map +1 -1
- package/dist/aws/organizationCommitmentsValidation.d.ts.map +1 -1
- package/dist/aws/organizationCommitmentsValidation.js +45 -44
- package/dist/aws/organizationCommitmentsValidation.js.map +1 -1
- package/dist/aws/portalOrganizationCommitmentsPlanningPublicArtifactValidation.d.ts.map +1 -1
- package/dist/aws/portalOrganizationCommitmentsPlanningPublicArtifactValidation.js +79 -76
- package/dist/aws/portalOrganizationCommitmentsPlanningPublicArtifactValidation.js.map +1 -1
- package/dist/aws/portalOrganizationCommitmentsPlanningPublicArtifacts.d.ts +1 -2
- package/dist/aws/portalOrganizationCommitmentsPlanningPublicArtifacts.d.ts.map +1 -1
- package/dist/aws/portalOrganizationCommitmentsPlanningPublicArtifacts.js.map +1 -1
- package/dist/aws/publicArtifacts.d.ts +2 -37
- package/dist/aws/publicArtifacts.d.ts.map +1 -1
- package/dist/aws/publicArtifacts.js +3 -1
- package/dist/aws/publicArtifacts.js.map +1 -1
- package/dist/aws/relationships.d.ts +5 -3
- package/dist/aws/relationships.d.ts.map +1 -1
- package/dist/aws/relationships.js +18 -3
- package/dist/aws/relationships.js.map +1 -1
- package/dist/aws/requests.d.ts +35 -3
- package/dist/aws/requests.d.ts.map +1 -1
- package/dist/aws/requests.js +5 -3
- package/dist/aws/requests.js.map +1 -1
- package/dist/aws/resourceGraph.d.ts +14 -0
- package/dist/aws/resourceGraph.d.ts.map +1 -0
- package/dist/aws/resourceGraph.js +68 -0
- package/dist/aws/resourceGraph.js.map +1 -0
- package/dist/aws/validationHelpers.d.ts +8 -0
- package/dist/aws/validationHelpers.d.ts.map +1 -0
- package/dist/aws/validationHelpers.js +54 -0
- package/dist/aws/validationHelpers.js.map +1 -0
- package/dist/azure/commitmentsPlanning.d.ts +15 -46
- package/dist/azure/commitmentsPlanning.d.ts.map +1 -1
- package/dist/azure/commitmentsPlanning.js +9 -0
- package/dist/azure/commitmentsPlanning.js.map +1 -1
- package/dist/azure/commitmentsPlanningValidation.d.ts +18 -0
- package/dist/azure/commitmentsPlanningValidation.d.ts.map +1 -0
- package/dist/azure/commitmentsPlanningValidation.js +50 -0
- package/dist/azure/commitmentsPlanningValidation.js.map +1 -0
- package/dist/azure/dataProtection.d.ts +40 -0
- package/dist/azure/dataProtection.d.ts.map +1 -1
- package/dist/azure/governance.d.ts +5 -0
- package/dist/azure/governance.d.ts.map +1 -1
- package/dist/azure/metrics.d.ts +2 -27
- package/dist/azure/metrics.d.ts.map +1 -1
- package/dist/azure/payloads.d.ts +24 -0
- package/dist/azure/payloads.d.ts.map +1 -1
- package/dist/azure/payloads.js +87 -0
- package/dist/azure/payloads.js.map +1 -1
- package/dist/azure/recommendationTracks.d.ts +1 -1
- package/dist/azure/recommendationTracks.d.ts.map +1 -1
- package/dist/azure/reportEvidence.d.ts +192 -11
- package/dist/azure/reportEvidence.d.ts.map +1 -1
- package/dist/azure/reportEvidence.js +9 -1
- package/dist/azure/reportEvidence.js.map +1 -1
- package/dist/azure/reportEvidenceValidation.d.ts.map +1 -1
- package/dist/azure/reportEvidenceValidation.js +201 -5
- package/dist/azure/reportEvidenceValidation.js.map +1 -1
- package/dist/azure/reportEvidenceValidationHelpers.d.ts +3 -16
- package/dist/azure/reportEvidenceValidationHelpers.d.ts.map +1 -1
- package/dist/azure/reportEvidenceValidationHelpers.js +80 -92
- package/dist/azure/reportEvidenceValidationHelpers.js.map +1 -1
- package/dist/azure/resilienceFacts.d.ts +100 -0
- package/dist/azure/resilienceFacts.d.ts.map +1 -0
- package/dist/azure/resilienceFacts.js +20 -0
- package/dist/azure/resilienceFacts.js.map +1 -0
- package/dist/azure/resilienceFactsValidation.d.ts +4 -0
- package/dist/azure/resilienceFactsValidation.d.ts.map +1 -0
- package/dist/azure/resilienceFactsValidation.js +70 -0
- package/dist/azure/resilienceFactsValidation.js.map +1 -0
- package/dist/azure/savings.d.ts +4 -2
- package/dist/azure/savings.d.ts.map +1 -1
- package/dist/azure/serviceRetirement.d.ts +21 -2
- package/dist/azure/serviceRetirement.d.ts.map +1 -1
- package/dist/azure/views.d.ts +24 -1
- package/dist/azure/views.d.ts.map +1 -1
- package/dist/azure/views.js.map +1 -1
- package/dist/common/boundedRows.d.ts +7 -0
- package/dist/common/boundedRows.d.ts.map +1 -0
- package/dist/{scheduler/scheduler.js → common/boundedRows.js} +1 -1
- package/dist/common/boundedRows.js.map +1 -0
- package/dist/common/index.d.ts +3 -0
- package/dist/common/index.d.ts.map +1 -1
- package/dist/common/index.js +3 -0
- package/dist/common/index.js.map +1 -1
- package/dist/common/metricStats.d.ts +29 -0
- package/dist/common/metricStats.d.ts.map +1 -0
- package/dist/{scheduler/bastionSchedule.js → common/metricStats.js} +1 -1
- package/dist/common/metricStats.js.map +1 -0
- package/dist/common/provider.d.ts +2 -0
- package/dist/common/provider.d.ts.map +1 -1
- package/dist/common/relationships.d.ts +3 -3
- package/dist/common/relationships.d.ts.map +1 -1
- package/dist/common/resourceGraph.d.ts +137 -0
- package/dist/common/resourceGraph.d.ts.map +1 -0
- package/dist/common/resourceGraph.js +17 -0
- package/dist/common/resourceGraph.js.map +1 -0
- package/dist/common/resourceGraphValidation.d.ts +30 -0
- package/dist/common/resourceGraphValidation.d.ts.map +1 -0
- package/dist/common/resourceGraphValidation.js +369 -0
- package/dist/common/resourceGraphValidation.js.map +1 -0
- package/dist/common/resourceIdentity.d.ts +28 -0
- package/dist/common/resourceIdentity.d.ts.map +1 -0
- package/dist/common/resourceIdentity.js +35 -0
- package/dist/common/resourceIdentity.js.map +1 -0
- package/dist/common/sha256.d.ts +2 -0
- package/dist/common/sha256.d.ts.map +1 -1
- package/dist/common/sha256.js +3 -0
- package/dist/common/sha256.js.map +1 -1
- package/dist/common/utilizationStories.d.ts +695 -0
- package/dist/common/utilizationStories.d.ts.map +1 -0
- package/dist/common/utilizationStories.js +21 -0
- package/dist/common/utilizationStories.js.map +1 -0
- package/dist/common/utilizationStoriesValidation.d.ts +60 -0
- package/dist/common/utilizationStoriesValidation.d.ts.map +1 -0
- package/dist/common/utilizationStoriesValidation.js +762 -0
- package/dist/common/utilizationStoriesValidation.js.map +1 -0
- package/dist/common/validationHelpers.d.ts +37 -0
- package/dist/common/validationHelpers.d.ts.map +1 -0
- package/dist/common/validationHelpers.js +147 -0
- package/dist/common/validationHelpers.js.map +1 -0
- package/dist/esm/accounts/index.js +1 -0
- package/dist/esm/accounts/subscriptionWriteAccess.js +112 -0
- package/dist/esm/accounts/writePermissions.js +46 -0
- package/dist/esm/ai/followUps.js +16 -0
- package/dist/esm/ai/grounding.js +74 -7
- package/dist/esm/ai/index.js +1 -0
- package/dist/esm/aws/commitments-planning.js +1 -0
- package/dist/esm/aws/commitmentsPlanningValidation.js +2 -1
- package/dist/esm/aws/index.js +2 -13
- package/dist/esm/aws/organizationCommitments.js +2 -2
- package/dist/esm/aws/organizationCommitmentsApiValidation.js +5 -5
- package/dist/esm/aws/organizationCommitmentsValidation.js +2 -1
- package/dist/esm/aws/portalOrganizationCommitmentsPlanningPublicArtifactValidation.js +8 -5
- package/dist/esm/aws/publicArtifacts.js +2 -0
- package/dist/esm/aws/relationships.js +4 -1
- package/dist/esm/aws/requests.js +4 -2
- package/dist/esm/aws/resourceGraph.js +63 -0
- package/dist/esm/aws/validationHelpers.js +46 -0
- package/dist/esm/azure/commitmentsPlanning.js +8 -1
- package/dist/esm/azure/commitmentsPlanningValidation.js +39 -0
- package/dist/esm/azure/payloads.js +84 -1
- package/dist/esm/azure/reportEvidence.js +8 -0
- package/dist/esm/azure/reportEvidenceValidation.js +202 -6
- package/dist/esm/azure/reportEvidenceValidationHelpers.js +7 -19
- package/dist/esm/azure/resilienceFacts.js +16 -0
- package/dist/esm/azure/resilienceFactsValidation.js +64 -0
- package/dist/esm/common/index.js +3 -0
- package/dist/esm/common/resourceGraph.js +13 -0
- package/dist/esm/common/resourceGraphValidation.js +365 -0
- package/dist/esm/common/resourceIdentity.js +24 -0
- package/dist/esm/common/sha256.js +2 -0
- package/dist/esm/common/utilizationStories.js +17 -0
- package/dist/esm/common/utilizationStoriesValidation.js +718 -0
- package/dist/esm/common/validationHelpers.js +115 -0
- package/dist/esm/entries/relationships.js +2 -2
- package/dist/esm/index.js +5 -0
- package/dist/esm/index.vite.js +1 -0
- package/dist/esm/reporting/jobs/index.js +13 -0
- package/dist/esm/reporting/jobs/reportJobIdentity.js +76 -0
- package/dist/esm/reporting/jobs/reportJobMessages.js +47 -0
- package/dist/esm/reporting/jobs/reportJobRow.js +264 -0
- package/dist/esm/reporting/jobs/reportJobSpec.js +295 -0
- package/dist/esm/reporting/jobs/reportJobStatus.js +87 -0
- package/dist/esm/reporting/shared/reportTableEntities.js +41 -0
- package/dist/esm/reporting/shared/reportingDigest.js +57 -0
- package/dist/esm/reporting/shared/reportingIds.js +88 -0
- package/dist/esm/reporting/shared/reportingPaths.js +23 -0
- package/dist/esm/scheduler/index.js +4 -4
- package/dist/esm/scheduler/resourceStrategy.js +2 -0
- package/dist/esm/scheduler/resourceStrategyCapabilityValidation.js +265 -0
- package/dist/esm/scheduler/resourceStrategyContracts.js +20 -0
- package/dist/esm/scheduler/resourceStrategyFinancialValidation.js +145 -0
- package/dist/esm/scheduler/resourceStrategyPermissionValidation.js +190 -0
- package/dist/esm/scheduler/resourceStrategyScheduleValidation.js +506 -0
- package/dist/esm/scheduler/resourceStrategyValidation.js +4 -0
- package/dist/esm/scheduler/resourceStrategyValidationShared.js +261 -0
- package/dist/esm/scheduler/schedulerValidation.js +372 -0
- package/dist/esm/scheduler/weeklyAvailabilityFixtures.js +140 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -1
- package/dist/index.vite.d.ts +1 -0
- package/dist/index.vite.d.ts.map +1 -1
- package/dist/index.vite.js +1 -0
- package/dist/index.vite.js.map +1 -1
- package/dist/reporting/jobs/index.d.ts +14 -0
- package/dist/reporting/jobs/index.d.ts.map +1 -0
- package/dist/reporting/jobs/index.js +45 -0
- package/dist/reporting/jobs/index.js.map +1 -0
- package/dist/reporting/jobs/reportJobIdentity.d.ts +44 -0
- package/dist/reporting/jobs/reportJobIdentity.d.ts.map +1 -0
- package/dist/reporting/jobs/reportJobIdentity.js +88 -0
- package/dist/reporting/jobs/reportJobIdentity.js.map +1 -0
- package/dist/reporting/jobs/reportJobMessages.d.ts +30 -0
- package/dist/reporting/jobs/reportJobMessages.d.ts.map +1 -0
- package/dist/reporting/jobs/reportJobMessages.js +54 -0
- package/dist/reporting/jobs/reportJobMessages.js.map +1 -0
- package/dist/reporting/jobs/reportJobRow.d.ts +98 -0
- package/dist/reporting/jobs/reportJobRow.d.ts.map +1 -0
- package/dist/reporting/jobs/reportJobRow.js +270 -0
- package/dist/reporting/jobs/reportJobRow.js.map +1 -0
- package/dist/reporting/jobs/reportJobSpec.d.ts +92 -0
- package/dist/reporting/jobs/reportJobSpec.d.ts.map +1 -0
- package/dist/reporting/jobs/reportJobSpec.js +304 -0
- package/dist/reporting/jobs/reportJobSpec.js.map +1 -0
- package/dist/reporting/jobs/reportJobStatus.d.ts +60 -0
- package/dist/reporting/jobs/reportJobStatus.d.ts.map +1 -0
- package/dist/reporting/jobs/reportJobStatus.js +98 -0
- package/dist/reporting/jobs/reportJobStatus.js.map +1 -0
- package/dist/reporting/shared/reportTableEntities.d.ts +23 -0
- package/dist/reporting/shared/reportTableEntities.d.ts.map +1 -0
- package/dist/reporting/shared/reportTableEntities.js +47 -0
- package/dist/reporting/shared/reportTableEntities.js.map +1 -0
- package/dist/reporting/shared/reportingDigest.d.ts +6 -0
- package/dist/reporting/shared/reportingDigest.d.ts.map +1 -0
- package/dist/reporting/shared/reportingDigest.js +63 -0
- package/dist/reporting/shared/reportingDigest.js.map +1 -0
- package/dist/reporting/shared/reportingIds.d.ts +34 -0
- package/dist/reporting/shared/reportingIds.d.ts.map +1 -0
- package/dist/reporting/shared/reportingIds.js +102 -0
- package/dist/reporting/shared/reportingIds.js.map +1 -0
- package/dist/reporting/shared/reportingPaths.d.ts +14 -0
- package/dist/reporting/shared/reportingPaths.d.ts.map +1 -0
- package/dist/reporting/shared/reportingPaths.js +29 -0
- package/dist/reporting/shared/reportingPaths.js.map +1 -0
- package/dist/scheduler/index.d.ts +4 -4
- package/dist/scheduler/index.d.ts.map +1 -1
- package/dist/scheduler/index.js +4 -4
- package/dist/scheduler/index.js.map +1 -1
- package/dist/scheduler/resourceStrategy.d.ts +3 -0
- package/dist/scheduler/resourceStrategy.d.ts.map +1 -0
- package/dist/scheduler/resourceStrategy.js +19 -0
- package/dist/scheduler/resourceStrategy.js.map +1 -0
- package/dist/scheduler/resourceStrategyCapabilityValidation.d.ts +4 -0
- package/dist/scheduler/resourceStrategyCapabilityValidation.d.ts.map +1 -0
- package/dist/scheduler/resourceStrategyCapabilityValidation.js +270 -0
- package/dist/scheduler/resourceStrategyCapabilityValidation.js.map +1 -0
- package/dist/scheduler/resourceStrategyContracts.d.ts +466 -0
- package/dist/scheduler/resourceStrategyContracts.d.ts.map +1 -0
- package/dist/scheduler/resourceStrategyContracts.js +24 -0
- package/dist/scheduler/resourceStrategyContracts.js.map +1 -0
- package/dist/scheduler/resourceStrategyFinancialValidation.d.ts +5 -0
- package/dist/scheduler/resourceStrategyFinancialValidation.d.ts.map +1 -0
- package/dist/scheduler/resourceStrategyFinancialValidation.js +151 -0
- package/dist/scheduler/resourceStrategyFinancialValidation.js.map +1 -0
- package/dist/scheduler/resourceStrategyPermissionValidation.d.ts +4 -0
- package/dist/scheduler/resourceStrategyPermissionValidation.d.ts.map +1 -0
- package/dist/scheduler/resourceStrategyPermissionValidation.js +195 -0
- package/dist/scheduler/resourceStrategyPermissionValidation.js.map +1 -0
- package/dist/scheduler/resourceStrategyScheduleValidation.d.ts +14 -0
- package/dist/scheduler/resourceStrategyScheduleValidation.d.ts.map +1 -0
- package/dist/scheduler/resourceStrategyScheduleValidation.js +519 -0
- package/dist/scheduler/resourceStrategyScheduleValidation.js.map +1 -0
- package/dist/scheduler/resourceStrategyValidation.d.ts +5 -0
- package/dist/scheduler/resourceStrategyValidation.d.ts.map +1 -0
- package/dist/scheduler/resourceStrategyValidation.js +21 -0
- package/dist/scheduler/resourceStrategyValidation.js.map +1 -0
- package/dist/scheduler/resourceStrategyValidationShared.d.ts +19 -0
- package/dist/scheduler/resourceStrategyValidationShared.d.ts.map +1 -0
- package/dist/scheduler/resourceStrategyValidationShared.js +281 -0
- package/dist/scheduler/resourceStrategyValidationShared.js.map +1 -0
- package/dist/scheduler/schedulerContracts.d.ts +184 -0
- package/dist/scheduler/schedulerContracts.d.ts.map +1 -0
- package/dist/{aws/portalPublicArtifactNestedEvidence.js → scheduler/schedulerContracts.js} +1 -1
- package/dist/scheduler/schedulerContracts.js.map +1 -0
- package/dist/scheduler/schedulerValidation.d.ts +15 -0
- package/dist/scheduler/schedulerValidation.d.ts.map +1 -0
- package/dist/scheduler/schedulerValidation.js +388 -0
- package/dist/scheduler/schedulerValidation.js.map +1 -0
- package/dist/scheduler/weeklyAvailabilityFixtures.d.ts +26 -0
- package/dist/scheduler/weeklyAvailabilityFixtures.d.ts.map +1 -0
- package/dist/scheduler/weeklyAvailabilityFixtures.js +144 -0
- package/dist/scheduler/weeklyAvailabilityFixtures.js.map +1 -0
- package/package.json +26 -7
- package/dist/aws/pluginPublicArtifactBodyValidation.d.ts +0 -10
- package/dist/aws/pluginPublicArtifactBodyValidation.d.ts.map +0 -1
- package/dist/aws/pluginPublicArtifactBodyValidation.js +0 -225
- package/dist/aws/pluginPublicArtifactBodyValidation.js.map +0 -1
- package/dist/aws/pluginPublicArtifactEvidence.d.ts +0 -161
- package/dist/aws/pluginPublicArtifactEvidence.d.ts.map +0 -1
- package/dist/aws/pluginPublicArtifactEvidence.js.map +0 -1
- package/dist/aws/pluginPublicArtifactManifestValidation.d.ts +0 -4
- package/dist/aws/pluginPublicArtifactManifestValidation.d.ts.map +0 -1
- package/dist/aws/pluginPublicArtifactManifestValidation.js +0 -259
- package/dist/aws/pluginPublicArtifactManifestValidation.js.map +0 -1
- package/dist/aws/pluginPublicArtifactSectionValidation.d.ts +0 -6
- package/dist/aws/pluginPublicArtifactSectionValidation.d.ts.map +0 -1
- package/dist/aws/pluginPublicArtifactSectionValidation.js +0 -471
- package/dist/aws/pluginPublicArtifactSectionValidation.js.map +0 -1
- package/dist/aws/pluginPublicArtifactValidation.d.ts +0 -3
- package/dist/aws/pluginPublicArtifactValidation.d.ts.map +0 -1
- package/dist/aws/pluginPublicArtifactValidation.js +0 -9
- package/dist/aws/pluginPublicArtifactValidation.js.map +0 -1
- package/dist/aws/pluginPublicArtifactValidationHelpers.d.ts +0 -23
- package/dist/aws/pluginPublicArtifactValidationHelpers.d.ts.map +0 -1
- package/dist/aws/pluginPublicArtifactValidationHelpers.js +0 -240
- package/dist/aws/pluginPublicArtifactValidationHelpers.js.map +0 -1
- package/dist/aws/pluginPublicArtifacts.d.ts +0 -253
- package/dist/aws/pluginPublicArtifacts.d.ts.map +0 -1
- package/dist/aws/pluginPublicArtifacts.js +0 -51
- package/dist/aws/pluginPublicArtifacts.js.map +0 -1
- package/dist/aws/portalCommitmentsPlanningPublicArtifactValidation.d.ts +0 -4
- package/dist/aws/portalCommitmentsPlanningPublicArtifactValidation.d.ts.map +0 -1
- package/dist/aws/portalCommitmentsPlanningPublicArtifactValidation.js +0 -513
- package/dist/aws/portalCommitmentsPlanningPublicArtifactValidation.js.map +0 -1
- package/dist/aws/portalCommitmentsPlanningPublicArtifacts.d.ts +0 -13
- package/dist/aws/portalCommitmentsPlanningPublicArtifacts.d.ts.map +0 -1
- package/dist/aws/portalCommitmentsPlanningPublicArtifacts.js +0 -5
- package/dist/aws/portalCommitmentsPlanningPublicArtifacts.js.map +0 -1
- package/dist/aws/portalPublicArtifactCurrentValidation.d.ts +0 -4
- package/dist/aws/portalPublicArtifactCurrentValidation.d.ts.map +0 -1
- package/dist/aws/portalPublicArtifactCurrentValidation.js +0 -333
- package/dist/aws/portalPublicArtifactCurrentValidation.js.map +0 -1
- package/dist/aws/portalPublicArtifactEvidenceValidation.d.ts +0 -6
- package/dist/aws/portalPublicArtifactEvidenceValidation.d.ts.map +0 -1
- package/dist/aws/portalPublicArtifactEvidenceValidation.js +0 -301
- package/dist/aws/portalPublicArtifactEvidenceValidation.js.map +0 -1
- package/dist/aws/portalPublicArtifactHistoryAiValidation.d.ts +0 -8
- package/dist/aws/portalPublicArtifactHistoryAiValidation.d.ts.map +0 -1
- package/dist/aws/portalPublicArtifactHistoryAiValidation.js +0 -377
- package/dist/aws/portalPublicArtifactHistoryAiValidation.js.map +0 -1
- package/dist/aws/portalPublicArtifactHistoryTypes.d.ts +0 -178
- package/dist/aws/portalPublicArtifactHistoryTypes.d.ts.map +0 -1
- package/dist/aws/portalPublicArtifactHistoryTypes.js +0 -44
- package/dist/aws/portalPublicArtifactHistoryTypes.js.map +0 -1
- package/dist/aws/portalPublicArtifactNestedEvidence.d.ts +0 -127
- package/dist/aws/portalPublicArtifactNestedEvidence.d.ts.map +0 -1
- package/dist/aws/portalPublicArtifactNestedEvidence.js.map +0 -1
- package/dist/aws/portalPublicArtifactNestedEvidenceValidation.d.ts +0 -6
- package/dist/aws/portalPublicArtifactNestedEvidenceValidation.d.ts.map +0 -1
- package/dist/aws/portalPublicArtifactNestedEvidenceValidation.js +0 -405
- package/dist/aws/portalPublicArtifactNestedEvidenceValidation.js.map +0 -1
- package/dist/aws/portalPublicArtifactValidation.d.ts +0 -3
- package/dist/aws/portalPublicArtifactValidation.d.ts.map +0 -1
- package/dist/aws/portalPublicArtifactValidation.js +0 -14
- package/dist/aws/portalPublicArtifactValidation.js.map +0 -1
- package/dist/aws/portalPublicArtifactValidationCommon.d.ts +0 -30
- package/dist/aws/portalPublicArtifactValidationCommon.d.ts.map +0 -1
- package/dist/aws/portalPublicArtifactValidationCommon.js +0 -167
- package/dist/aws/portalPublicArtifactValidationCommon.js.map +0 -1
- package/dist/aws/portalPublicArtifacts.d.ts +0 -400
- package/dist/aws/portalPublicArtifacts.d.ts.map +0 -1
- package/dist/aws/portalPublicArtifacts.js +0 -85
- package/dist/aws/portalPublicArtifacts.js.map +0 -1
- package/dist/aws/portalRelationshipPublicArtifactValidation.d.ts +0 -4
- package/dist/aws/portalRelationshipPublicArtifactValidation.d.ts.map +0 -1
- package/dist/aws/portalRelationshipPublicArtifactValidation.js +0 -338
- package/dist/aws/portalRelationshipPublicArtifactValidation.js.map +0 -1
- package/dist/aws/portalRelationshipPublicArtifacts.d.ts +0 -196
- package/dist/aws/portalRelationshipPublicArtifacts.d.ts.map +0 -1
- package/dist/aws/portalRelationshipPublicArtifacts.js +0 -63
- package/dist/aws/portalRelationshipPublicArtifacts.js.map +0 -1
- package/dist/aws/portalRelationshipResourceNodeTypes.d.ts +0 -269
- package/dist/aws/portalRelationshipResourceNodeTypes.d.ts.map +0 -1
- package/dist/aws/portalRelationshipResourceNodeTypes.js +0 -3
- package/dist/aws/portalRelationshipResourceNodeTypes.js.map +0 -1
- package/dist/aws/portalRelationshipResourceNodeValidation.d.ts +0 -2
- package/dist/aws/portalRelationshipResourceNodeValidation.d.ts.map +0 -1
- package/dist/aws/portalRelationshipResourceNodeValidation.js +0 -372
- package/dist/aws/portalRelationshipResourceNodeValidation.js.map +0 -1
- package/dist/esm/aws/pluginPublicArtifactBodyValidation.js +0 -217
- package/dist/esm/aws/pluginPublicArtifactManifestValidation.js +0 -255
- package/dist/esm/aws/pluginPublicArtifactSectionValidation.js +0 -464
- package/dist/esm/aws/pluginPublicArtifactValidation.js +0 -2
- package/dist/esm/aws/pluginPublicArtifactValidationHelpers.js +0 -216
- package/dist/esm/aws/pluginPublicArtifacts.js +0 -44
- package/dist/esm/aws/portalCommitmentsPlanningPublicArtifactValidation.js +0 -509
- package/dist/esm/aws/portalCommitmentsPlanningPublicArtifacts.js +0 -1
- package/dist/esm/aws/portalPublicArtifactCurrentValidation.js +0 -328
- package/dist/esm/aws/portalPublicArtifactEvidenceValidation.js +0 -294
- package/dist/esm/aws/portalPublicArtifactHistoryAiValidation.js +0 -368
- package/dist/esm/aws/portalPublicArtifactHistoryTypes.js +0 -40
- package/dist/esm/aws/portalPublicArtifactNestedEvidenceValidation.js +0 -397
- package/dist/esm/aws/portalPublicArtifactValidation.js +0 -2
- package/dist/esm/aws/portalPublicArtifactValidationCommon.js +0 -139
- package/dist/esm/aws/portalPublicArtifacts.js +0 -73
- package/dist/esm/aws/portalRelationshipPublicArtifactValidation.js +0 -334
- package/dist/esm/aws/portalRelationshipPublicArtifacts.js +0 -59
- package/dist/esm/aws/portalRelationshipResourceNodeValidation.js +0 -368
- package/dist/esm/scheduler/bastionScheduleProfile.js +0 -206
- package/dist/esm/scheduler/bastionScheduleValidation.js +0 -401
- package/dist/esm/scheduler/scheduler.js +0 -1
- package/dist/scheduler/bastionSchedule.d.ts +0 -113
- package/dist/scheduler/bastionSchedule.d.ts.map +0 -1
- package/dist/scheduler/bastionSchedule.js.map +0 -1
- package/dist/scheduler/bastionScheduleProfile.d.ts +0 -24
- package/dist/scheduler/bastionScheduleProfile.d.ts.map +0 -1
- package/dist/scheduler/bastionScheduleProfile.js +0 -210
- package/dist/scheduler/bastionScheduleProfile.js.map +0 -1
- package/dist/scheduler/bastionScheduleValidation.d.ts +0 -10
- package/dist/scheduler/bastionScheduleValidation.d.ts.map +0 -1
- package/dist/scheduler/bastionScheduleValidation.js +0 -412
- package/dist/scheduler/bastionScheduleValidation.js.map +0 -1
- package/dist/scheduler/scheduler.d.ts +0 -267
- package/dist/scheduler/scheduler.d.ts.map +0 -1
- package/dist/scheduler/scheduler.js.map +0 -1
- /package/dist/esm/aws/{pluginPublicArtifactEvidence.js → commitmentsPlanningView.js} +0 -0
- /package/dist/esm/{aws/portalPublicArtifactNestedEvidence.js → common/boundedRows.js} +0 -0
- /package/dist/esm/{aws/portalRelationshipResourceNodeTypes.js → common/metricStats.js} +0 -0
- /package/dist/esm/scheduler/{bastionSchedule.js → schedulerContracts.js} +0 -0
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { isCompactRecommendation, isInventoryCatalogueResource } from './reportEvidenceCatalogueValidation.js';
|
|
2
2
|
import { isReportDailySpend } from './reportDailySpendValidation.js';
|
|
3
3
|
import { isReportSavingsBasis, isReportSpendProjection } from './reportSpendValidation.js';
|
|
4
|
-
import {
|
|
4
|
+
import { isCommitmentsFreshnessEntry, isCommitmentsFreshnessStatus } from './commitmentsPlanningValidation.js';
|
|
5
|
+
import { REPORT_EVIDENCE_LIMITS, REPORT_PRINCIPAL_TYPES, } from './reportEvidence.js';
|
|
5
6
|
import { countTotal, hasOptionalNumbers, hasOptionalStrings, hasRequiredRecords, isBoundedRows, isCommitmentExpirySummary, isCostSummary, isCount, isCountRecord, isDateTime, isEvidenceReference, isFiniteNumber, isOptionalBoolean, isOptionalFiniteNumber, isOptionalString, isProjectionRows, isRecommendationSummary, isRecord, isResourceSummary, isRetirementSummary, isSourceFileStatus, isString, isStringArray, isTagCoverage, } from './reportEvidenceValidationHelpers.js';
|
|
7
|
+
import { isReportingStories, isStoryFingerprintRows } from '../common/utilizationStoriesValidation.js';
|
|
6
8
|
export const isReportSecureScoreEvidence = (value) => {
|
|
7
9
|
if (!isRecord(value) || !['available', 'unavailable', 'stale'].includes(value.status))
|
|
8
10
|
return false;
|
|
@@ -22,6 +24,54 @@ const isCostSavingsCategory = (value) => isRecord(value) &&
|
|
|
22
24
|
isCount(value.recommendationCount) &&
|
|
23
25
|
isCount(value.resourceCount) &&
|
|
24
26
|
['currentMonthlyCost', 'potentialMonthlyCost', 'minimumMonthlySavings', 'maximumMonthlySavings'].every(key => isFiniteNumber(value[key]));
|
|
27
|
+
const REPORT_COST_CHANGE_LEVELS = new Set(['service', 'resource-group', 'resource', 'meter']);
|
|
28
|
+
const REPORT_COST_CHANGE_TYPES = new Set(['increase', 'decrease', 'no_change', 'new_resource', 'removed_resource']);
|
|
29
|
+
const REPORT_COST_CHANGE_REASON_TYPES = new Set([
|
|
30
|
+
'new_resource',
|
|
31
|
+
'removed_resource',
|
|
32
|
+
'quantity_increase',
|
|
33
|
+
'quantity_decrease',
|
|
34
|
+
'rate_change',
|
|
35
|
+
'sku_change',
|
|
36
|
+
'new_meter',
|
|
37
|
+
'removed_meter',
|
|
38
|
+
]);
|
|
39
|
+
const isStringOrFiniteNumber = (value) => isString(value) || isFiniteNumber(value);
|
|
40
|
+
const isCostChangeReason = (value) => isRecord(value) &&
|
|
41
|
+
isString(value.type) &&
|
|
42
|
+
REPORT_COST_CHANGE_REASON_TYPES.has(value.type) &&
|
|
43
|
+
isFiniteNumber(value.impact) &&
|
|
44
|
+
isOptionalFiniteNumber(value.impactPercent) &&
|
|
45
|
+
isString(value.description) &&
|
|
46
|
+
(value.oldValue === undefined || isStringOrFiniteNumber(value.oldValue)) &&
|
|
47
|
+
(value.newValue === undefined || isStringOrFiniteNumber(value.newValue));
|
|
48
|
+
const isCostChangeDriver = (value) => isRecord(value) &&
|
|
49
|
+
isString(value.key) &&
|
|
50
|
+
isString(value.level) &&
|
|
51
|
+
REPORT_COST_CHANGE_LEVELS.has(value.level) &&
|
|
52
|
+
isString(value.label) &&
|
|
53
|
+
isOptionalString(value.resourceId) &&
|
|
54
|
+
isFiniteNumber(value.currentCost) &&
|
|
55
|
+
isFiniteNumber(value.previousCost) &&
|
|
56
|
+
isFiniteNumber(value.change) &&
|
|
57
|
+
isOptionalFiniteNumber(value.changePercent) &&
|
|
58
|
+
isString(value.changeType) &&
|
|
59
|
+
REPORT_COST_CHANGE_TYPES.has(value.changeType) &&
|
|
60
|
+
isOptionalString(value.summary) &&
|
|
61
|
+
isBoundedRows(value.reasons, REPORT_EVIDENCE_LIMITS.costChangeReasons, isCostChangeReason);
|
|
62
|
+
const isCostChangePeriod = (value) => isRecord(value) &&
|
|
63
|
+
isString(value.period) &&
|
|
64
|
+
/^\d{4}-(0[1-9]|1[0-2])$/u.test(value.period) &&
|
|
65
|
+
isString(value.previousPeriod) &&
|
|
66
|
+
/^\d{4}-(0[1-9]|1[0-2])$/u.test(value.previousPeriod) &&
|
|
67
|
+
value.previousPeriod < value.period &&
|
|
68
|
+
isString(value.currency) &&
|
|
69
|
+
/^[A-Z]{3}$/u.test(value.currency) &&
|
|
70
|
+
isFiniteNumber(value.currentCost) &&
|
|
71
|
+
isFiniteNumber(value.previousCost) &&
|
|
72
|
+
isFiniteNumber(value.change) &&
|
|
73
|
+
isOptionalFiniteNumber(value.changePercent) &&
|
|
74
|
+
isBoundedRows(value.drivers, REPORT_EVIDENCE_LIMITS.costChangeDrivers, isCostChangeDriver);
|
|
25
75
|
const hasRequiredCountKeys = (value, keys) => isCountRecord(value) && keys.every(key => Object.prototype.hasOwnProperty.call(value, key));
|
|
26
76
|
const isRecommendationPortfolio = (value) => {
|
|
27
77
|
if (!isRecord(value))
|
|
@@ -114,6 +164,8 @@ const isPrivilegedAccess = (value) => isRecord(value) &&
|
|
|
114
164
|
isString(value.principalId) &&
|
|
115
165
|
isString(value.displayName) &&
|
|
116
166
|
isString(value.roleName) &&
|
|
167
|
+
(value.principalType === undefined ||
|
|
168
|
+
(typeof value.principalType === 'string' && REPORT_PRINCIPAL_TYPES.includes(value.principalType))) &&
|
|
117
169
|
hasOptionalStrings(value, ['userPrincipalName', 'scope', 'scopeType', 'lastLogonDate', 'mfaStatus']);
|
|
118
170
|
const isGovernance = (value) => isRecord(value) &&
|
|
119
171
|
isOptionalString(value.generatedAt) &&
|
|
@@ -142,13 +194,61 @@ const isCommitments = (value) => {
|
|
|
142
194
|
return false;
|
|
143
195
|
}
|
|
144
196
|
if (value.inventorySummary.totalCount !== value.inventory.totalCount ||
|
|
145
|
-
countTotal(value.inventorySummary.statusCounts) !== value.inventorySummary.totalCount
|
|
197
|
+
countTotal(value.inventorySummary.statusCounts) !== value.inventorySummary.totalCount ||
|
|
198
|
+
(value.inventorySummary.benefitTypeCounts !== undefined &&
|
|
199
|
+
(!isCountRecord(value.inventorySummary.benefitTypeCounts) ||
|
|
200
|
+
countTotal(value.inventorySummary.benefitTypeCounts) !== value.inventorySummary.totalCount))) {
|
|
146
201
|
return false;
|
|
147
202
|
}
|
|
148
203
|
if (value.resourceCoverage !== undefined && !isProjectionRows(value.resourceCoverage))
|
|
149
204
|
return false;
|
|
205
|
+
if (value.freshness !== undefined && !isReportCommitmentsFreshness(value.freshness))
|
|
206
|
+
return false;
|
|
150
207
|
return ['coverage', 'obsoleteCandidates', 'reallocationOpportunities', 'purchaseRecommendations', 'renewals'].every(key => isProjectionRows(value[key]));
|
|
151
208
|
};
|
|
209
|
+
/** Status and generatedAt appear together; without them the projection carries no entries. Older packs omit entries. */
|
|
210
|
+
const isReportCommitmentsFreshness = (value) => isRecord(value) &&
|
|
211
|
+
(value.status === undefined) === (value.generatedAt === undefined) &&
|
|
212
|
+
(value.status === undefined || (isCommitmentsFreshnessStatus(value.status) && isDateTime(value.generatedAt))) &&
|
|
213
|
+
(value.entries === undefined ||
|
|
214
|
+
(Array.isArray(value.entries) &&
|
|
215
|
+
value.entries.length <= REPORT_EVIDENCE_LIMITS.commitmentsFreshnessEntries &&
|
|
216
|
+
(value.status !== undefined || value.entries.length === 0) &&
|
|
217
|
+
value.entries.every(isCommitmentsFreshnessEntry))) &&
|
|
218
|
+
(value.warnings === undefined || (isStringArray(value.warnings) && value.warnings.length <= REPORT_EVIDENCE_LIMITS.commitmentsFreshnessWarnings));
|
|
219
|
+
const isDataProtectionCostSummary = (value) => isRecord(value) &&
|
|
220
|
+
hasOptionalStrings(value, ['currencyCode', 'currencySymbol']) &&
|
|
221
|
+
(value.billingWindow === undefined || isRecord(value.billingWindow)) &&
|
|
222
|
+
(value.totals === undefined ||
|
|
223
|
+
(isRecord(value.totals) &&
|
|
224
|
+
hasOptionalNumbers(value.totals, [
|
|
225
|
+
'actualCostLast30Days',
|
|
226
|
+
'actualAmortizedCostLast30Days',
|
|
227
|
+
'allocatedCostLast30Days',
|
|
228
|
+
'estimatedMonthlyCostForUnprotected',
|
|
229
|
+
])));
|
|
230
|
+
const isResourceHealthEvent = (value) => isRecord(value) &&
|
|
231
|
+
hasOptionalStrings(value, [
|
|
232
|
+
'id',
|
|
233
|
+
'trackingId',
|
|
234
|
+
'eventType',
|
|
235
|
+
'status',
|
|
236
|
+
'level',
|
|
237
|
+
'title',
|
|
238
|
+
'summary',
|
|
239
|
+
'impactStartTime',
|
|
240
|
+
'impactMitigationTime',
|
|
241
|
+
'lastUpdateTime',
|
|
242
|
+
]) &&
|
|
243
|
+
isOptionalFiniteNumber(value.priority) &&
|
|
244
|
+
(value.durationSeconds === undefined || (isFiniteNumber(value.durationSeconds) && value.durationSeconds >= 0)) &&
|
|
245
|
+
(value.impactedResourceCount === undefined || isCount(value.impactedResourceCount)) &&
|
|
246
|
+
(value.impactedServices === undefined || isStringArray(value.impactedServices)) &&
|
|
247
|
+
(value.impactedRegions === undefined || isStringArray(value.impactedRegions));
|
|
248
|
+
const isCommitmentUtilization = (value) => isRecord(value) &&
|
|
249
|
+
(value.sevenDay !== undefined || value.thirtyDay !== undefined) &&
|
|
250
|
+
['sevenDay', 'thirtyDay'].every(key => value[key] === undefined || (isFiniteNumber(value[key]) && value[key] >= 0)) &&
|
|
251
|
+
(value.source === undefined || ['aggregate', 'usage', 'reservation-summary'].includes(value.source));
|
|
152
252
|
function isCommitmentInventoryRow(value) {
|
|
153
253
|
return (isRecord(value) &&
|
|
154
254
|
hasOptionalStrings(value, [
|
|
@@ -165,6 +265,7 @@ function isCommitmentInventoryRow(value) {
|
|
|
165
265
|
]) &&
|
|
166
266
|
hasOptionalNumbers(value, ['daysToExpiry', 'reservedQuantity']) &&
|
|
167
267
|
isOptionalBoolean(value.renew) &&
|
|
268
|
+
(value.utilization === undefined || isCommitmentUtilization(value.utilization)) &&
|
|
168
269
|
(value.annualCommittedCost === undefined || isRecord(value.annualCommittedCost)) &&
|
|
169
270
|
(value.doNotRenewAnnualImpact === undefined || isRecord(value.doNotRenewAnnualImpact)));
|
|
170
271
|
}
|
|
@@ -175,6 +276,13 @@ const isReportingProjection = (value) => {
|
|
|
175
276
|
return false;
|
|
176
277
|
if (value.spend !== undefined && !isReportSpendProjection(value.spend))
|
|
177
278
|
return false;
|
|
279
|
+
if (value.stories !== undefined && !isReportingStories(value.stories))
|
|
280
|
+
return false;
|
|
281
|
+
if (value.costChangePeriods !== undefined &&
|
|
282
|
+
(!isBoundedRows(value.costChangePeriods, REPORT_EVIDENCE_LIMITS.costChangePeriods, isCostChangePeriod) ||
|
|
283
|
+
new Set(value.costChangePeriods.rows.map(period => period.period)).size !== value.costChangePeriods.rows.length)) {
|
|
284
|
+
return false;
|
|
285
|
+
}
|
|
178
286
|
const subscription = isRecord(value.dashboard.subscription) ? value.dashboard.subscription : undefined;
|
|
179
287
|
const properties = subscription && isRecord(subscription.properties) ? subscription.properties : undefined;
|
|
180
288
|
if (properties?.secureScoreEvidence !== undefined && !isReportSecureScoreEvidence(properties.secureScoreEvidence))
|
|
@@ -186,6 +294,11 @@ const isReportingProjection = (value) => {
|
|
|
186
294
|
(!isBoundedRows(value.recommendationCatalogue, REPORT_EVIDENCE_LIMITS.recommendationCatalogue, isCompactRecommendation) ||
|
|
187
295
|
value.recommendationCatalogue.totalCount !== value.recommendationPortfolio.activeRecommendationCount)) ||
|
|
188
296
|
!isProjectionRows(value.serviceRetirements) ||
|
|
297
|
+
(value.credentialDeadlines !== undefined &&
|
|
298
|
+
(!isRecord(value.credentialDeadlines) ||
|
|
299
|
+
!isDateTime(value.credentialDeadlines.asOf) ||
|
|
300
|
+
!isCount(value.credentialDeadlines.overdueCount) ||
|
|
301
|
+
!isCount(value.credentialDeadlines.upcomingSixMonthsCount))) ||
|
|
189
302
|
!isInventory(value.inventory) ||
|
|
190
303
|
!isGovernance(value.governance) ||
|
|
191
304
|
!isCommitments(value.commitmentsPlanning)) {
|
|
@@ -205,13 +318,14 @@ const isReportingProjection = (value) => {
|
|
|
205
318
|
return (isRecord(patch) &&
|
|
206
319
|
isProjectionRows(patch.machines) &&
|
|
207
320
|
isRecord(protection) &&
|
|
321
|
+
(protection.costSummary === undefined || isDataProtectionCostSummary(protection.costSummary)) &&
|
|
208
322
|
isProjectionRows(protection.items) &&
|
|
209
323
|
isProjectionRows(protection.issues) &&
|
|
210
324
|
isRecord(health) &&
|
|
211
|
-
(health.eventCatalogue === undefined || isBoundedRows(health.eventCatalogue, REPORT_EVIDENCE_LIMITS.healthCatalogue,
|
|
325
|
+
(health.eventCatalogue === undefined || isBoundedRows(health.eventCatalogue, REPORT_EVIDENCE_LIMITS.healthCatalogue, isResourceHealthEvent)) &&
|
|
212
326
|
(health.availabilityCatalogue === undefined || isBoundedRows(health.availabilityCatalogue, REPORT_EVIDENCE_LIMITS.healthCatalogue, isRecord)) &&
|
|
213
327
|
isRecord(health.events) &&
|
|
214
|
-
|
|
328
|
+
isBoundedRows(health.events.events, REPORT_EVIDENCE_LIMITS.detailRows, isResourceHealthEvent) &&
|
|
215
329
|
(health.eventCatalogue === undefined || health.eventCatalogue.totalCount === health.events.events.totalCount) &&
|
|
216
330
|
isRecord(health.availabilityStatuses) &&
|
|
217
331
|
isProjectionRows(health.availabilityStatuses.statuses) &&
|
|
@@ -229,10 +343,13 @@ const isReportingProjection = (value) => {
|
|
|
229
343
|
(isBoundedRows(activity.dailySummary, REPORT_EVIDENCE_LIMITS.activityDays, isActivityDailySummary) &&
|
|
230
344
|
new Set(activity.dailySummary.rows.map(row => row.date)).size === activity.dailySummary.rows.length)) &&
|
|
231
345
|
(activity.undatedSummary === undefined || isActivityCounts(activity.undatedSummary)) &&
|
|
346
|
+
isActivityMonthEvidence(activity.verifiedMonths, activity.monthCoverage) &&
|
|
232
347
|
['changes', 'security', 'health', 'suppressed'].every(key => isProjectionRows(activity[key])));
|
|
233
348
|
};
|
|
234
349
|
const isActivityCounts = (value) => isRecord(value) &&
|
|
235
350
|
['visibleEvents', 'materialChanges', 'securitySensitive', 'healthEvents', 'failedEvents', 'highFindingCount'].every(key => isCount(value[key])) &&
|
|
351
|
+
(value.automatedSnapshotEvents === undefined ||
|
|
352
|
+
(isCount(value.automatedSnapshotEvents) && value.automatedSnapshotEvents <= value.materialChanges)) &&
|
|
236
353
|
['materialChanges', 'securitySensitive', 'healthEvents', 'failedEvents'].every(key => value[key] <= value.visibleEvents);
|
|
237
354
|
const isActivityMonthlyFindings = (value) => isRecord(value) &&
|
|
238
355
|
isString(value.month) &&
|
|
@@ -245,6 +362,64 @@ const isActivityMonthlyFindings = (value) => isRecord(value) &&
|
|
|
245
362
|
((typeof row.importance === 'string' && row.importance.toLowerCase() === 'high') ||
|
|
246
363
|
row.isSecuritySensitive === true ||
|
|
247
364
|
(typeof row.status === 'string' && row.status.toLowerCase() === 'failed')));
|
|
365
|
+
const MONTH_PATTERN = /^\d{4}-(0[1-9]|1[0-2])$/;
|
|
366
|
+
const DATE_PATTERN = /^\d{4}-\d{2}-\d{2}$/;
|
|
367
|
+
const DAY_MS = 86400000;
|
|
368
|
+
const daysInMonth = (month) => new Date(Date.UTC(Number(month.slice(0, 4)), Number(month.slice(5, 7)), 0)).getUTCDate();
|
|
369
|
+
const isCalendarDateInMonth = (value, month) => typeof value === 'string' &&
|
|
370
|
+
DATE_PATTERN.test(value) &&
|
|
371
|
+
value.slice(0, 7) === month &&
|
|
372
|
+
Number.isFinite(Date.parse(value)) &&
|
|
373
|
+
new Date(value).toISOString().slice(0, 10) === value;
|
|
374
|
+
const isActivityMonthCoverage = (value) => {
|
|
375
|
+
if (!isRecord(value) ||
|
|
376
|
+
typeof value.month !== 'string' ||
|
|
377
|
+
!MONTH_PATTERN.test(value.month) ||
|
|
378
|
+
!['complete', 'partial', 'unavailable'].includes(value.status) ||
|
|
379
|
+
!['monthly-archive', 'rolling-feed'].includes(value.source) ||
|
|
380
|
+
!isCount(value.coveredDayCount) ||
|
|
381
|
+
!isCount(value.expectedDayCount) ||
|
|
382
|
+
value.expectedDayCount !== daysInMonth(value.month) ||
|
|
383
|
+
value.coveredDayCount > value.expectedDayCount) {
|
|
384
|
+
return false;
|
|
385
|
+
}
|
|
386
|
+
const covered = value.coveredDayCount;
|
|
387
|
+
const statusMatches = value.status === 'complete'
|
|
388
|
+
? covered === value.expectedDayCount
|
|
389
|
+
: value.status === 'unavailable'
|
|
390
|
+
? covered === 0
|
|
391
|
+
: covered > 0 && covered < value.expectedDayCount;
|
|
392
|
+
if (!statusMatches)
|
|
393
|
+
return false;
|
|
394
|
+
if (value.coveredFrom === undefined && value.coveredTo === undefined)
|
|
395
|
+
return true;
|
|
396
|
+
return (covered > 0 &&
|
|
397
|
+
isCalendarDateInMonth(value.coveredFrom, value.month) &&
|
|
398
|
+
isCalendarDateInMonth(value.coveredTo, value.month) &&
|
|
399
|
+
value.coveredFrom <= value.coveredTo &&
|
|
400
|
+
(Date.parse(value.coveredTo) - Date.parse(value.coveredFrom)) / DAY_MS + 1 >= covered);
|
|
401
|
+
};
|
|
402
|
+
/** Verified months are unique YYYY-MM values; any verified month listed in coverage is complete, and untruncated coverage lists every verified month. */
|
|
403
|
+
const isActivityMonthEvidence = (verifiedMonths, monthCoverage) => {
|
|
404
|
+
if (verifiedMonths !== undefined &&
|
|
405
|
+
(!Array.isArray(verifiedMonths) ||
|
|
406
|
+
verifiedMonths.length > REPORT_EVIDENCE_LIMITS.activityMonths ||
|
|
407
|
+
!verifiedMonths.every(month => typeof month === 'string' && MONTH_PATTERN.test(month)) ||
|
|
408
|
+
new Set(verifiedMonths).size !== verifiedMonths.length)) {
|
|
409
|
+
return false;
|
|
410
|
+
}
|
|
411
|
+
if (monthCoverage === undefined)
|
|
412
|
+
return true;
|
|
413
|
+
if (!isBoundedRows(monthCoverage, REPORT_EVIDENCE_LIMITS.activityMonths, isActivityMonthCoverage) ||
|
|
414
|
+
new Set(monthCoverage.rows.map(row => row.month)).size !== monthCoverage.rows.length) {
|
|
415
|
+
return false;
|
|
416
|
+
}
|
|
417
|
+
const coverageByMonth = new Map(monthCoverage.rows.map(row => [row.month, row.status]));
|
|
418
|
+
return (verifiedMonths ?? []).every(month => {
|
|
419
|
+
const status = coverageByMonth.get(month);
|
|
420
|
+
return status === undefined ? monthCoverage.omittedCount > 0 : status === 'complete';
|
|
421
|
+
});
|
|
422
|
+
};
|
|
248
423
|
const isActivityDailySummary = (value) => isActivityCounts(value) &&
|
|
249
424
|
isRecord(value) &&
|
|
250
425
|
isString(value.date) &&
|
|
@@ -324,6 +499,12 @@ const isHistoryMetrics = (value) => isRecord(value) &&
|
|
|
324
499
|
value.securityRecommendationCount <= value.recommendationCount &&
|
|
325
500
|
value.securityImpactedResourceCount <= value.impactedResourceCount &&
|
|
326
501
|
isOptionalFiniteNumber(value.maximumMonthlySavings);
|
|
502
|
+
const isUniqueIdentityRows = (value, itemValidator = isString) => isBoundedRows(value, REPORT_EVIDENCE_LIMITS.historyComparisonIdentities, itemValidator) &&
|
|
503
|
+
new Set(value.rows).size === value.rows.length;
|
|
504
|
+
const isHistoryComparisonIdentities = (value) => isRecord(value) &&
|
|
505
|
+
isUniqueIdentityRows(value.costRecommendationIds) &&
|
|
506
|
+
isUniqueIdentityRows(value.undersizedResourceIds) &&
|
|
507
|
+
isUniqueIdentityRows(value.regulatoryAssessmentKeys, (item) => isString(item) && /^[a-f0-9]{64}$/u.test(item));
|
|
327
508
|
export const isSubscriptionReportHistory = (value) => {
|
|
328
509
|
if (!isRecord(value) ||
|
|
329
510
|
!isString(value.subscriptionId) ||
|
|
@@ -343,7 +524,9 @@ export const isSubscriptionReportHistory = (value) => {
|
|
|
343
524
|
!isString(period.sourceRunId) ||
|
|
344
525
|
!isDateTime(period.sourceGeneratedAt) ||
|
|
345
526
|
!isHistoryMetrics(period.metrics) ||
|
|
346
|
-
!isBoundedRows(period.recommendations, REPORT_EVIDENCE_LIMITS.historyRecommendations, isRecommendationFingerprint)
|
|
527
|
+
!isBoundedRows(period.recommendations, REPORT_EVIDENCE_LIMITS.historyRecommendations, isRecommendationFingerprint) ||
|
|
528
|
+
(period.comparisonIdentities !== undefined && !isHistoryComparisonIdentities(period.comparisonIdentities)) ||
|
|
529
|
+
(period.stories !== undefined && !isStoryFingerprintRows(period.stories))) {
|
|
347
530
|
return false;
|
|
348
531
|
}
|
|
349
532
|
if (period.recommendations.omittedCount === 0 &&
|
|
@@ -383,6 +566,7 @@ const isTenantCoverage = (value) => isRecord(value) &&
|
|
|
383
566
|
(section.requiredPermissions === undefined || isStringArray(section.requiredPermissions)) &&
|
|
384
567
|
(!Array.isArray(section.requiredPermissions) || section.requiredPermissions.length <= 10) &&
|
|
385
568
|
isOptionalFiniteNumber(section.maximumSourceLagHours));
|
|
569
|
+
const isTenantSignInCoverage = (value) => isRecord(value) && ['complete', 'partial', 'unavailable', 'skipped'].includes(value.state);
|
|
386
570
|
const isTenantPrincipal = (value) => isRecord(value) &&
|
|
387
571
|
isString(value.principalId) &&
|
|
388
572
|
isString(value.principalType) &&
|
|
@@ -392,7 +576,11 @@ const isTenantPrincipal = (value) => isRecord(value) &&
|
|
|
392
576
|
typeof value.isPimBacked === 'boolean' &&
|
|
393
577
|
isString(value.lastActivatedEvidence) &&
|
|
394
578
|
hasOptionalStrings(value, ['displayName', 'userPrincipalName', 'mfaStatus', 'lastActivatedAt']) &&
|
|
395
|
-
isOptionalBoolean(value.accountEnabled)
|
|
579
|
+
isOptionalBoolean(value.accountEnabled) &&
|
|
580
|
+
((value.lastSignInAt === undefined && value.lastSignInEvidence === undefined) ||
|
|
581
|
+
(value.lastSignInAt === undefined && value.lastSignInEvidence === 'unavailable') ||
|
|
582
|
+
(isDateTime(value.lastSignInAt) &&
|
|
583
|
+
(value.lastSignInEvidence === 'last-successful-sign-in' || value.lastSignInEvidence === 'last-interactive-sign-in')));
|
|
396
584
|
export const isTenantReportEvidencePack = (value) => {
|
|
397
585
|
if (!isRecord(value) ||
|
|
398
586
|
!isDateTime(value.generatedAt) ||
|
|
@@ -409,5 +597,13 @@ export const isTenantReportEvidencePack = (value) => {
|
|
|
409
597
|
!isBoundedRows(value.globalAdmins.principals, REPORT_EVIDENCE_LIMITS.tenantGlobalAdministrators, isTenantPrincipal)) {
|
|
410
598
|
return false;
|
|
411
599
|
}
|
|
600
|
+
const signInCoverage = value.globalAdmins.coverage.userSignInActivity;
|
|
601
|
+
if (signInCoverage !== undefined && !isTenantSignInCoverage(signInCoverage))
|
|
602
|
+
return false;
|
|
603
|
+
if (isRecord(signInCoverage) &&
|
|
604
|
+
(signInCoverage.state === 'unavailable' || signInCoverage.state === 'skipped') &&
|
|
605
|
+
value.globalAdmins.principals.rows.some(principal => principal.lastSignInAt !== undefined)) {
|
|
606
|
+
return false;
|
|
607
|
+
}
|
|
412
608
|
return true;
|
|
413
609
|
};
|
|
@@ -1,22 +1,6 @@
|
|
|
1
1
|
import { REPORT_EVIDENCE_LIMITS } from './reportEvidence.js';
|
|
2
|
-
|
|
3
|
-
export
|
|
4
|
-
export const isOptionalString = (value) => value === undefined || isString(value);
|
|
5
|
-
export const isFiniteNumber = (value) => typeof value === 'number' && Number.isFinite(value);
|
|
6
|
-
export const isOptionalFiniteNumber = (value) => value === undefined || isFiniteNumber(value);
|
|
7
|
-
export const isOptionalBoolean = (value) => value === undefined || typeof value === 'boolean';
|
|
8
|
-
export const isCount = (value) => isFiniteNumber(value) && Number.isInteger(value) && value >= 0;
|
|
9
|
-
export const isDateTime = (value) => isString(value) && Number.isFinite(Date.parse(value));
|
|
10
|
-
export const isStringArray = (value) => Array.isArray(value) && value.every(isString);
|
|
11
|
-
export const isCountRecord = (value) => isRecord(value) && Object.values(value).every(isCount);
|
|
12
|
-
export const countTotal = (value) => Object.values(value).reduce((total, count) => total + count, 0);
|
|
13
|
-
export const hasOptionalStrings = (value, keys) => keys.every(key => isOptionalString(value[key]));
|
|
14
|
-
export const hasOptionalNumbers = (value, keys) => keys.every(key => isOptionalFiniteNumber(value[key]));
|
|
15
|
-
export const isBoundedRows = (value, limit, isRow) => {
|
|
16
|
-
if (!isRecord(value) || !isCount(value.totalCount) || !isCount(value.omittedCount) || !Array.isArray(value.rows))
|
|
17
|
-
return false;
|
|
18
|
-
return value.rows.length <= limit && value.rows.every(isRow) && value.totalCount === value.rows.length + value.omittedCount;
|
|
19
|
-
};
|
|
2
|
+
import { isBoundedRows, isCount, isCountRecord, isFiniteNumber, isOptionalFiniteNumber, isOptionalString, isRecord, isString, isStringArray, hasOptionalNumbers, hasOptionalStrings, } from '../common/validationHelpers.js';
|
|
3
|
+
export { isRecord, isString, isOptionalString, isFiniteNumber, isOptionalFiniteNumber, isOptionalBoolean, isCount, isDateTime, isStringArray, isCountRecord, countTotal, hasOptionalStrings, hasOptionalNumbers, isBoundedRows, } from '../common/validationHelpers.js';
|
|
20
4
|
export const isProjectionRows = (value, limit = REPORT_EVIDENCE_LIMITS.detailRows) => isBoundedRows(value, limit, isRecord);
|
|
21
5
|
export const hasRequiredRecords = (value, keys) => keys.every(key => isRecord(value[key]));
|
|
22
6
|
export const isSourceFileStatus = (value) => isRecord(value) &&
|
|
@@ -52,12 +36,16 @@ export const isResourceSummary = (value) => isRecord(value) &&
|
|
|
52
36
|
Array.isArray(value.topSpendResources) &&
|
|
53
37
|
value.topSpendResources.length <= REPORT_EVIDENCE_LIMITS.summaryRows &&
|
|
54
38
|
value.topSpendResources.every(isTopSpendResource);
|
|
39
|
+
const isReportBudgetProjection = (value) => isRecord(value) &&
|
|
40
|
+
hasOptionalStrings(value, ['name', 'startDate', 'endDate', 'timeGrain', 'category', 'currencyCode']) &&
|
|
41
|
+
hasOptionalNumbers(value, ['amount', 'currentSpend', 'forecastedSpend']) &&
|
|
42
|
+
(value.filter === undefined || isRecord(value.filter));
|
|
55
43
|
export const isCostSummary = (value) => {
|
|
56
44
|
if (!isRecord(value) || !isRecord(value.sourceMetadata) || !Array.isArray(value.topSpendResources))
|
|
57
45
|
return false;
|
|
58
46
|
if (!hasOptionalStrings(value, ['currency', 'currencySymbol']) ||
|
|
59
47
|
!hasOptionalNumbers(value, ['spend30Days', 'spend30DaysAmortized', 'totalRetailCost', 'miscCost', 'rollingCostRecordCount']) ||
|
|
60
|
-
(value.budget !== undefined && !
|
|
48
|
+
(value.budget !== undefined && !isReportBudgetProjection(value.budget)) ||
|
|
61
49
|
!isString(value.sourceMetadata.spend30DaysSource) ||
|
|
62
50
|
!isString(value.sourceMetadata.spend30DaysAmortizedSource) ||
|
|
63
51
|
!isString(value.sourceMetadata.totalRetailCostSource) ||
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Resilience facts: the small per-resource property reads the resilience story needs that no other collection
|
|
3
|
+
* carries — storage blob-service data-protection settings and lifecycle management, Azure SQL database backup
|
|
4
|
+
* retention and failover groups. Collected in the reliability component beside the data-protection posture and
|
|
5
|
+
* published as `azure-portal/subscriptions/{id}/resilience-facts.json`. Consumed by the cloud-engine
|
|
6
|
+
* `ProtectionProfileBuilder` (`data-protection:<selector>` capability sources) and available to the resilience story page.
|
|
7
|
+
*
|
|
8
|
+
* Spec: `Specs/reporting/utilization-stories-types-package.md` (parent: core `specs/reporting/utilization-stories.md`).
|
|
9
|
+
* Additive: consumers tolerate unknown fields. Field semantics: `undefined` = not read (the request failed, was not
|
|
10
|
+
* applicable or was skipped) and resolves to an `unknown` capability; `null` = read and absent/disabled. A failed
|
|
11
|
+
* read must never be presented as "disabled".
|
|
12
|
+
*/
|
|
13
|
+
export const RESILIENCE_FACTS_SCHEMA_VERSION = 1;
|
|
14
|
+
export const RESILIENCE_FACTS_SOURCE = 'AzureResilienceFacts';
|
|
15
|
+
export const RESILIENCE_FACTS_PORTAL_FILE = 'resilience-facts.json';
|
|
16
|
+
export const RESILIENCE_FACTS_RAW_FILE = 'data-protection/resilience-facts.json.gz';
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { isCount, isDateTime, isFiniteNumber, isRecord, isString, isStringArray } from '../common/validationHelpers.js';
|
|
2
|
+
import { RESILIENCE_FACTS_SCHEMA_VERSION, RESILIENCE_FACTS_SOURCE, } from './resilienceFacts.js';
|
|
3
|
+
const STATUSES = new Set(['collected', 'partial', 'failed', 'not-applicable']);
|
|
4
|
+
const isNullableBoolean = (value) => value === null || typeof value === 'boolean';
|
|
5
|
+
const isNullableNumber = (value) => value === null || isFiniteNumber(value);
|
|
6
|
+
const isOptionalNullableNumber = (value) => value === undefined || isNullableNumber(value);
|
|
7
|
+
const isOptionalNullableString = (value) => value === undefined || value === null || isString(value);
|
|
8
|
+
const isRetention = (value) => value === undefined || value === null || (isRecord(value) && typeof value.enabled === 'boolean' && isOptionalNullableNumber(value.days));
|
|
9
|
+
const isOptionalNullableBoolean = (value) => value === undefined || isNullableBoolean(value);
|
|
10
|
+
const isStorageFacts = (value) => isRecord(value) &&
|
|
11
|
+
isRetention(value.blobSoftDelete) &&
|
|
12
|
+
isRetention(value.containerSoftDelete) &&
|
|
13
|
+
isOptionalNullableBoolean(value.versioning) &&
|
|
14
|
+
isRetention(value.changeFeed) &&
|
|
15
|
+
isRetention(value.pointInTimeRestore) &&
|
|
16
|
+
isOptionalNullableString(value.kind) &&
|
|
17
|
+
(value.managementPolicy === undefined ||
|
|
18
|
+
value.managementPolicy === null ||
|
|
19
|
+
(isRecord(value.managementPolicy) &&
|
|
20
|
+
typeof value.managementPolicy.present === 'boolean' &&
|
|
21
|
+
(value.managementPolicy.ruleCount === undefined || isCount(value.managementPolicy.ruleCount))));
|
|
22
|
+
const isSqlFacts = (value) => isRecord(value) &&
|
|
23
|
+
isOptionalNullableNumber(value.shortTermRetentionDays) &&
|
|
24
|
+
isOptionalNullableNumber(value.diffBackupIntervalHours) &&
|
|
25
|
+
(value.longTermRetention === undefined ||
|
|
26
|
+
value.longTermRetention === null ||
|
|
27
|
+
(isRecord(value.longTermRetention) &&
|
|
28
|
+
typeof value.longTermRetention.enabled === 'boolean' &&
|
|
29
|
+
isOptionalNullableString(value.longTermRetention.weekly) &&
|
|
30
|
+
isOptionalNullableString(value.longTermRetention.monthly) &&
|
|
31
|
+
isOptionalNullableString(value.longTermRetention.yearly) &&
|
|
32
|
+
isOptionalNullableNumber(value.longTermRetention.weekOfYear))) &&
|
|
33
|
+
(value.failoverGroup === undefined ||
|
|
34
|
+
value.failoverGroup === null ||
|
|
35
|
+
(isRecord(value.failoverGroup) &&
|
|
36
|
+
isString(value.failoverGroup.id) &&
|
|
37
|
+
isString(value.failoverGroup.name) &&
|
|
38
|
+
isStringArray(value.failoverGroup.partnerServers) &&
|
|
39
|
+
isOptionalNullableString(value.failoverGroup.readWriteFailoverPolicy) &&
|
|
40
|
+
isOptionalNullableString(value.failoverGroup.role))) &&
|
|
41
|
+
isOptionalNullableString(value.backupStorageRedundancy);
|
|
42
|
+
export const isResilienceFactsItem = (value) => isRecord(value) &&
|
|
43
|
+
isString(value.resourceId) &&
|
|
44
|
+
isString(value.resourceType) &&
|
|
45
|
+
isString(value.status) &&
|
|
46
|
+
STATUSES.has(value.status) &&
|
|
47
|
+
isDateTime(value.observedAt) &&
|
|
48
|
+
isCount(value.requestCount) &&
|
|
49
|
+
(value.errors === undefined || isStringArray(value.errors)) &&
|
|
50
|
+
(value.storage === undefined || isStorageFacts(value.storage)) &&
|
|
51
|
+
(value.sql === undefined || isSqlFacts(value.sql));
|
|
52
|
+
export const isResilienceFactsProjection = (value) => isRecord(value) &&
|
|
53
|
+
value.schemaVersion === RESILIENCE_FACTS_SCHEMA_VERSION &&
|
|
54
|
+
value.source === RESILIENCE_FACTS_SOURCE &&
|
|
55
|
+
isString(value.subscriptionId) &&
|
|
56
|
+
(value.tenantId === undefined || isString(value.tenantId)) &&
|
|
57
|
+
isDateTime(value.generatedAt) &&
|
|
58
|
+
isRecord(value.summary) &&
|
|
59
|
+
(value.summary.notApplicable === undefined || isCount(value.summary.notApplicable)) &&
|
|
60
|
+
['storageAccounts', 'sqlDatabases', 'sqlServers', 'collected', 'partial', 'failed', 'requestCount'].every(key => isCount(value.summary[key])) &&
|
|
61
|
+
Array.isArray(value.items) &&
|
|
62
|
+
value.items.every(isResilienceFactsItem) &&
|
|
63
|
+
Array.isArray(value.issues) &&
|
|
64
|
+
value.issues.every(issue => isRecord(issue) && (issue.severity === 'warning' || issue.severity === 'error') && isString(issue.code) && isString(issue.message));
|
package/dist/esm/common/index.js
CHANGED
|
@@ -4,6 +4,9 @@ export * from './pagination.js';
|
|
|
4
4
|
export * from './provider.js';
|
|
5
5
|
export * from './providerSyncProgress.js';
|
|
6
6
|
export * from './relationships.js';
|
|
7
|
+
export * from './resourceGraph.js';
|
|
8
|
+
export * from './resourceGraphValidation.js';
|
|
9
|
+
export * from './resourceIdentity.js';
|
|
7
10
|
export * from './syncProgress.js';
|
|
8
11
|
export * from './sha256.js';
|
|
9
12
|
export * from './exactDecimal.js';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Provider-neutral resource relationship graph published for one provider
|
|
3
|
+
* account. Families, relationship types, and synthetic types are open
|
|
4
|
+
* identifiers: a new provider service needs no package change.
|
|
5
|
+
*/
|
|
6
|
+
export const RESOURCE_GRAPH_SCHEMA_VERSION = 1;
|
|
7
|
+
/** Package-owned logical artifact name; storage paths remain producer-owned. */
|
|
8
|
+
export const RESOURCE_GRAPH_LOGICAL_NAME = 'relationships.json.gz';
|
|
9
|
+
export const RESOURCE_GRAPH_NODE_KINDS = ['scope', 'region', 'zone', 'group', 'resource', 'synthetic'];
|
|
10
|
+
export const RESOURCE_GRAPH_NODE_ROLES = ['network-baseline', 'topology', 'workload'];
|
|
11
|
+
export const RESOURCE_GRAPH_EDGE_KINDS = ['contains', 'depends_on'];
|
|
12
|
+
export const RESOURCE_GRAPH_EDGE_CONFIDENCES = ['high', 'medium', 'low'];
|
|
13
|
+
export const RESOURCE_GRAPH_EVIDENCE_METHODS = ['field-derived', 'field-reference', 'persisted-inventory', 'request-scope'];
|