@rork8s/ror-resources 1.14.4 → 1.15.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -232,6 +232,34 @@ export interface ResourceEndpointSpecSubsets {
232
232
  export interface ResourceEndpoints {
233
233
  subsets?: ResourceEndpointSpecSubsets[];
234
234
  }
235
+ export interface ResourceVirtualMachineVulnerabilitySpec {
236
+ }
237
+ export interface VulnerableVersion {
238
+ version: string;
239
+ packageName: string;
240
+ }
241
+ export interface CVE {
242
+ id: string;
243
+ csvss: string;
244
+ title: string;
245
+ description: string;
246
+ references: string[];
247
+ vulnerableVersions: VulnerableVersion[];
248
+ }
249
+ export interface ResourceVirtualMachineVulnerabilityStatus {
250
+ hostSeverity: string;
251
+ severity: string;
252
+ severityScore: number;
253
+ cves: CVE[];
254
+ lastCalculationTime: number;
255
+ lastReportTime: number;
256
+ }
257
+ export interface ResourceVirtualMachineVulnerabilityInfo {
258
+ id: string;
259
+ hostName: string;
260
+ status: ResourceVirtualMachineVulnerabilityStatus;
261
+ spec: ResourceVirtualMachineVulnerabilitySpec;
262
+ }
235
263
  export interface ResourceVirtualMachineOperatingSystemStatus {
236
264
  id: string;
237
265
  name: string;
@@ -610,6 +638,7 @@ export interface KubernetesClusterNodePool {
610
638
  metadata: KubernetesClusterSpecMetadataDetails;
611
639
  taint: KubernetesClusterTaint[];
612
640
  storage: KubernetesClusterStorage[];
641
+ architecture?: string;
613
642
  }
614
643
  export interface KubernetesClusterWorkers {
615
644
  nodePools: KubernetesClusterNodePool[];
@@ -634,6 +663,7 @@ export interface KubernetesClusterSpecControlPlane {
634
663
  machineClass: string;
635
664
  metadata: KubernetesClusterSpecMetadataDetails;
636
665
  storage: KubernetesClusterStorage[];
666
+ architecture?: string;
637
667
  }
638
668
  export interface KubernetesClusterSpecTopology {
639
669
  version: string;
@@ -862,11 +892,6 @@ export interface ResourceVulnerabilityReportReportArtifact {
862
892
  repository: string;
863
893
  tag: string;
864
894
  }
865
- export interface AquaReportScanner {
866
- name: string;
867
- vendor: string;
868
- version: string;
869
- }
870
895
  export interface AquaReportSummary {
871
896
  criticalCount: number;
872
897
  highCount: number;
@@ -884,6 +909,95 @@ export interface ResourceVulnerabilityReportReport {
884
909
  export interface ResourceVulnerabilityReport {
885
910
  report: ResourceVulnerabilityReportReport;
886
911
  }
912
+ export interface ResourceSbomReportsComponentDep {
913
+ ref?: string;
914
+ dependsOn?: string[];
915
+ }
916
+ export interface ResourceSbomReportsComponentSupplierContact {
917
+ name?: string;
918
+ email?: string;
919
+ phone?: string;
920
+ }
921
+ export interface ResourceSbomReportsComponentSupplier {
922
+ name?: string;
923
+ url?: string[];
924
+ contact?: ResourceSbomReportsComponentSupplierContact[];
925
+ }
926
+ export interface ResourceSbomReportsComponentProperty {
927
+ name?: string;
928
+ value?: string;
929
+ }
930
+ export interface ResourceSbomReportsComponentLicenseDetails {
931
+ id?: string;
932
+ name?: string;
933
+ url?: string;
934
+ }
935
+ export interface ResourceSbomReportsComponentLicense {
936
+ expression?: string;
937
+ license?: ResourceSbomReportsComponentLicenseDetails;
938
+ }
939
+ export interface ResourceSbomReportsComponentHash {
940
+ alg?: string;
941
+ content?: string;
942
+ }
943
+ export interface ResourceSbomReportsComponent {
944
+ bomRef?: string;
945
+ type?: string;
946
+ name?: string;
947
+ group?: string;
948
+ version?: string;
949
+ purl?: string;
950
+ hashes?: ResourceSbomReportsComponentHash[];
951
+ licenses?: ResourceSbomReportsComponentLicense[];
952
+ properties?: ResourceSbomReportsComponentProperty[];
953
+ supplier?: ResourceSbomReportsComponentSupplier;
954
+ }
955
+ export interface ResourceSbomReportsBomMetadataTools {
956
+ components?: ResourceSbomReportsComponent[];
957
+ }
958
+ export interface ResourceSbomReportsBomMetadata {
959
+ timestamp?: string;
960
+ tools?: ResourceSbomReportsBomMetadataTools;
961
+ component?: ResourceSbomReportsComponent;
962
+ }
963
+ export interface ResourceSbomReportsBom {
964
+ bomFormat: string;
965
+ specVersion: string;
966
+ serialNumber?: string;
967
+ version?: number;
968
+ metadata?: ResourceSbomReportsBomMetadata;
969
+ components?: ResourceSbomReportsComponent[];
970
+ dependencies?: ResourceSbomReportsComponentDep[];
971
+ }
972
+ export interface ResourceSbomReportsSummary {
973
+ componentsCount: number;
974
+ dependenciesCount: number;
975
+ }
976
+ export interface ResourceSbomReportsRegistry {
977
+ server?: string;
978
+ }
979
+ export interface ResourceSbomReportsArtifact {
980
+ repository?: string;
981
+ tag?: string;
982
+ digest?: string;
983
+ mimeType?: string;
984
+ }
985
+ export interface AquaReportScanner {
986
+ name: string;
987
+ vendor: string;
988
+ version: string;
989
+ }
990
+ export interface ResourceSbomReportsReport {
991
+ scanner: AquaReportScanner;
992
+ artifact: ResourceSbomReportsArtifact;
993
+ registry?: ResourceSbomReportsRegistry;
994
+ summary: ResourceSbomReportsSummary;
995
+ components: ResourceSbomReportsBom;
996
+ updateTimestamp: string;
997
+ }
998
+ export interface ResourceSbomReport {
999
+ report: ResourceSbomReportsReport;
1000
+ }
887
1001
  export interface ResourceIngressClassSpecParameters {
888
1002
  apiGroup: string;
889
1003
  kind: string;
@@ -1356,6 +1470,7 @@ export interface Resource {
1356
1470
  daemonset?: ResourceDaemonSet;
1357
1471
  ingress?: ResourceIngress;
1358
1472
  ingressclass?: ResourceIngressClass;
1473
+ sbomreport?: ResourceSbomReport;
1359
1474
  vulnerabilityreport?: ResourceVulnerabilityReport;
1360
1475
  exposedsecretreport?: ResourceExposedSecretReport;
1361
1476
  configauditreport?: ResourceConfigAuditReport;
@@ -1376,6 +1491,7 @@ export interface Resource {
1376
1491
  slackmessage?: ResourceSlackMessage;
1377
1492
  vulnerabilityevent?: ResourceVulnerabilityEvent;
1378
1493
  virtualmachine?: ResourceVirtualMachine;
1494
+ virtualmachinevulnerabilityinfo?: ResourceVirtualMachineVulnerabilityInfo;
1379
1495
  endpoints?: ResourceEndpoints;
1380
1496
  networkpolicy?: ResourceNetworkPolicy;
1381
1497
  datacenter?: ResourceDatacenter;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "author": "ROR Team",
3
- "commit": "635dbef",
3
+ "commit": "d400605",
4
4
  "description": "ROR resource models",
5
5
  "devDependencies": {
6
6
  "prettier": "^3.4.2",
@@ -57,5 +57,5 @@
57
57
  }
58
58
  },
59
59
  "typings": "dist/index.d.ts",
60
- "version": "1.14.4"
60
+ "version": "1.15.1"
61
61
  }
Binary file
package/src/resources.ts CHANGED
@@ -227,6 +227,33 @@ export interface ResourceEndpointSpecSubsets {
227
227
  export interface ResourceEndpoints {
228
228
  subsets?: ResourceEndpointSpecSubsets[];
229
229
  }
230
+ export interface ResourceVirtualMachineVulnerabilitySpec {}
231
+ export interface VulnerableVersion {
232
+ version: string;
233
+ packageName: string;
234
+ }
235
+ export interface CVE {
236
+ id: string;
237
+ csvss: string;
238
+ title: string;
239
+ description: string;
240
+ references: string[];
241
+ vulnerableVersions: VulnerableVersion[];
242
+ }
243
+ export interface ResourceVirtualMachineVulnerabilityStatus {
244
+ hostSeverity: string;
245
+ severity: string;
246
+ severityScore: number;
247
+ cves: CVE[];
248
+ lastCalculationTime: number;
249
+ lastReportTime: number;
250
+ }
251
+ export interface ResourceVirtualMachineVulnerabilityInfo {
252
+ id: string;
253
+ hostName: string;
254
+ status: ResourceVirtualMachineVulnerabilityStatus;
255
+ spec: ResourceVirtualMachineVulnerabilitySpec;
256
+ }
230
257
  export interface ResourceVirtualMachineOperatingSystemStatus {
231
258
  id: string;
232
259
  name: string;
@@ -595,6 +622,7 @@ export interface KubernetesClusterNodePool {
595
622
  metadata: KubernetesClusterSpecMetadataDetails;
596
623
  taint: KubernetesClusterTaint[];
597
624
  storage: KubernetesClusterStorage[];
625
+ architecture?: string;
598
626
  }
599
627
  export interface KubernetesClusterWorkers {
600
628
  nodePools: KubernetesClusterNodePool[];
@@ -615,6 +643,7 @@ export interface KubernetesClusterSpecControlPlane {
615
643
  machineClass: string;
616
644
  metadata: KubernetesClusterSpecMetadataDetails;
617
645
  storage: KubernetesClusterStorage[];
646
+ architecture?: string;
618
647
  }
619
648
  export interface KubernetesClusterSpecTopology {
620
649
  version: string;
@@ -837,11 +866,6 @@ export interface ResourceVulnerabilityReportReportArtifact {
837
866
  repository: string;
838
867
  tag: string;
839
868
  }
840
- export interface AquaReportScanner {
841
- name: string;
842
- vendor: string;
843
- version: string;
844
- }
845
869
  export interface AquaReportSummary {
846
870
  criticalCount: number;
847
871
  highCount: number;
@@ -859,6 +883,95 @@ export interface ResourceVulnerabilityReportReport {
859
883
  export interface ResourceVulnerabilityReport {
860
884
  report: ResourceVulnerabilityReportReport;
861
885
  }
886
+ export interface ResourceSbomReportsComponentDep {
887
+ ref?: string;
888
+ dependsOn?: string[];
889
+ }
890
+ export interface ResourceSbomReportsComponentSupplierContact {
891
+ name?: string;
892
+ email?: string;
893
+ phone?: string;
894
+ }
895
+ export interface ResourceSbomReportsComponentSupplier {
896
+ name?: string;
897
+ url?: string[];
898
+ contact?: ResourceSbomReportsComponentSupplierContact[];
899
+ }
900
+ export interface ResourceSbomReportsComponentProperty {
901
+ name?: string;
902
+ value?: string;
903
+ }
904
+ export interface ResourceSbomReportsComponentLicenseDetails {
905
+ id?: string;
906
+ name?: string;
907
+ url?: string;
908
+ }
909
+ export interface ResourceSbomReportsComponentLicense {
910
+ expression?: string;
911
+ license?: ResourceSbomReportsComponentLicenseDetails;
912
+ }
913
+ export interface ResourceSbomReportsComponentHash {
914
+ alg?: string;
915
+ content?: string;
916
+ }
917
+ export interface ResourceSbomReportsComponent {
918
+ bomRef?: string;
919
+ type?: string;
920
+ name?: string;
921
+ group?: string;
922
+ version?: string;
923
+ purl?: string;
924
+ hashes?: ResourceSbomReportsComponentHash[];
925
+ licenses?: ResourceSbomReportsComponentLicense[];
926
+ properties?: ResourceSbomReportsComponentProperty[];
927
+ supplier?: ResourceSbomReportsComponentSupplier;
928
+ }
929
+ export interface ResourceSbomReportsBomMetadataTools {
930
+ components?: ResourceSbomReportsComponent[];
931
+ }
932
+ export interface ResourceSbomReportsBomMetadata {
933
+ timestamp?: string;
934
+ tools?: ResourceSbomReportsBomMetadataTools;
935
+ component?: ResourceSbomReportsComponent;
936
+ }
937
+ export interface ResourceSbomReportsBom {
938
+ bomFormat: string;
939
+ specVersion: string;
940
+ serialNumber?: string;
941
+ version?: number;
942
+ metadata?: ResourceSbomReportsBomMetadata;
943
+ components?: ResourceSbomReportsComponent[];
944
+ dependencies?: ResourceSbomReportsComponentDep[];
945
+ }
946
+ export interface ResourceSbomReportsSummary {
947
+ componentsCount: number;
948
+ dependenciesCount: number;
949
+ }
950
+ export interface ResourceSbomReportsRegistry {
951
+ server?: string;
952
+ }
953
+ export interface ResourceSbomReportsArtifact {
954
+ repository?: string;
955
+ tag?: string;
956
+ digest?: string;
957
+ mimeType?: string;
958
+ }
959
+ export interface AquaReportScanner {
960
+ name: string;
961
+ vendor: string;
962
+ version: string;
963
+ }
964
+ export interface ResourceSbomReportsReport {
965
+ scanner: AquaReportScanner;
966
+ artifact: ResourceSbomReportsArtifact;
967
+ registry?: ResourceSbomReportsRegistry;
968
+ summary: ResourceSbomReportsSummary;
969
+ components: ResourceSbomReportsBom;
970
+ updateTimestamp: string;
971
+ }
972
+ export interface ResourceSbomReport {
973
+ report: ResourceSbomReportsReport;
974
+ }
862
975
  export interface ResourceIngressClassSpecParameters {
863
976
  apiGroup: string;
864
977
  kind: string;
@@ -1310,6 +1423,7 @@ export interface Resource {
1310
1423
  daemonset?: ResourceDaemonSet;
1311
1424
  ingress?: ResourceIngress;
1312
1425
  ingressclass?: ResourceIngressClass;
1426
+ sbomreport?: ResourceSbomReport;
1313
1427
  vulnerabilityreport?: ResourceVulnerabilityReport;
1314
1428
  exposedsecretreport?: ResourceExposedSecretReport;
1315
1429
  configauditreport?: ResourceConfigAuditReport;
@@ -1330,6 +1444,7 @@ export interface Resource {
1330
1444
  slackmessage?: ResourceSlackMessage;
1331
1445
  vulnerabilityevent?: ResourceVulnerabilityEvent;
1332
1446
  virtualmachine?: ResourceVirtualMachine;
1447
+ virtualmachinevulnerabilityinfo?: ResourceVirtualMachineVulnerabilityInfo;
1333
1448
  endpoints?: ResourceEndpoints;
1334
1449
  networkpolicy?: ResourceNetworkPolicy;
1335
1450
  datacenter?: ResourceDatacenter;
Binary file