@kinotic-ai/system-api 5.0.0-beta.50 → 5.0.0-beta.51
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/dist/index.cjs +3 -0
- package/dist/index.d.cts +9 -1
- package/dist/index.d.ts +9 -1
- package/dist/index.js +3 -0
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -353,6 +353,9 @@ class VulnerabilityAdvisoryService {
|
|
|
353
353
|
findAdvisories(search, pageable) {
|
|
354
354
|
return this.serviceProxy.invoke("findAdvisories", [search, pageable]);
|
|
355
355
|
}
|
|
356
|
+
findAdvisoriesOf(ecosystem, pageable) {
|
|
357
|
+
return this.serviceProxy.invoke("findAdvisoriesOf", [ecosystem, pageable]);
|
|
358
|
+
}
|
|
356
359
|
findAlerts(advisoryId, pageable) {
|
|
357
360
|
return this.serviceProxy.invoke("findAlerts", [advisoryId, pageable]);
|
|
358
361
|
}
|
package/dist/index.d.cts
CHANGED
|
@@ -486,7 +486,7 @@ declare class ClusterVulnerabilityService implements IClusterVulnerabilityServic
|
|
|
486
486
|
constructor(kinotic: IKinotic6);
|
|
487
487
|
findAll(): Promise<ServerVulnerabilities[]>;
|
|
488
488
|
}
|
|
489
|
-
import { VulnerabilityAdvisory, VulnerabilityAlert } from "@kinotic-ai/management-api";
|
|
489
|
+
import { PackageEcosystem as PackageEcosystem2, VulnerabilityAdvisory, VulnerabilityAlert } from "@kinotic-ai/management-api";
|
|
490
490
|
import { IKinotic as IKinotic7, Page as Page3, Pageable as Pageable3 } from "@kinotic-ai/core";
|
|
491
491
|
import { PackageEcosystem } from "@kinotic-ai/management-api";
|
|
492
492
|
/**
|
|
@@ -524,6 +524,13 @@ interface IVulnerabilityAdvisoryService {
|
|
|
524
524
|
*/
|
|
525
525
|
findAdvisories(search: string, pageable: Pageable3): Promise<Page3<VulnerabilityAdvisory>>;
|
|
526
526
|
/**
|
|
527
|
+
* Lists the stored advisories of a package ecosystem that are not withdrawn, the ones the
|
|
528
|
+
* ecosystem's OsvImportStatus counts, as findImportStatus reports it.
|
|
529
|
+
* @param ecosystem the ecosystem whose advisories to list
|
|
530
|
+
* @param pageable the page to return
|
|
531
|
+
*/
|
|
532
|
+
findAdvisoriesOf(ecosystem: PackageEcosystem2, pageable: Pageable3): Promise<Page3<VulnerabilityAdvisory>>;
|
|
533
|
+
/**
|
|
527
534
|
* Lists the alerts an advisory has raised, one per affected project, across every organization.
|
|
528
535
|
* @param advisoryId the advisory's OSV id
|
|
529
536
|
* @param pageable the page to return
|
|
@@ -535,6 +542,7 @@ declare class VulnerabilityAdvisoryService implements IVulnerabilityAdvisoryServ
|
|
|
535
542
|
constructor(kinotic: IKinotic7);
|
|
536
543
|
findImportStatus(): Promise<OsvImportStatus[]>;
|
|
537
544
|
findAdvisories(search: string, pageable: Pageable3): Promise<Page3<VulnerabilityAdvisory>>;
|
|
545
|
+
findAdvisoriesOf(ecosystem: PackageEcosystem2, pageable: Pageable3): Promise<Page3<VulnerabilityAdvisory>>;
|
|
538
546
|
findAlerts(advisoryId: string, pageable: Pageable3): Promise<Page3<VulnerabilityAlert>>;
|
|
539
547
|
}
|
|
540
548
|
import { Application, Organization, Project, ApplicationParticipantIdentity, OrganizationParticipantIdentity, PendingInviteSummary } from "@kinotic-ai/management-api";
|
package/dist/index.d.ts
CHANGED
|
@@ -486,7 +486,7 @@ declare class ClusterVulnerabilityService implements IClusterVulnerabilityServic
|
|
|
486
486
|
constructor(kinotic: IKinotic6);
|
|
487
487
|
findAll(): Promise<ServerVulnerabilities[]>;
|
|
488
488
|
}
|
|
489
|
-
import { VulnerabilityAdvisory, VulnerabilityAlert } from "@kinotic-ai/management-api";
|
|
489
|
+
import { PackageEcosystem as PackageEcosystem2, VulnerabilityAdvisory, VulnerabilityAlert } from "@kinotic-ai/management-api";
|
|
490
490
|
import { IKinotic as IKinotic7, Page as Page3, Pageable as Pageable3 } from "@kinotic-ai/core";
|
|
491
491
|
import { PackageEcosystem } from "@kinotic-ai/management-api";
|
|
492
492
|
/**
|
|
@@ -524,6 +524,13 @@ interface IVulnerabilityAdvisoryService {
|
|
|
524
524
|
*/
|
|
525
525
|
findAdvisories(search: string, pageable: Pageable3): Promise<Page3<VulnerabilityAdvisory>>;
|
|
526
526
|
/**
|
|
527
|
+
* Lists the stored advisories of a package ecosystem that are not withdrawn, the ones the
|
|
528
|
+
* ecosystem's OsvImportStatus counts, as findImportStatus reports it.
|
|
529
|
+
* @param ecosystem the ecosystem whose advisories to list
|
|
530
|
+
* @param pageable the page to return
|
|
531
|
+
*/
|
|
532
|
+
findAdvisoriesOf(ecosystem: PackageEcosystem2, pageable: Pageable3): Promise<Page3<VulnerabilityAdvisory>>;
|
|
533
|
+
/**
|
|
527
534
|
* Lists the alerts an advisory has raised, one per affected project, across every organization.
|
|
528
535
|
* @param advisoryId the advisory's OSV id
|
|
529
536
|
* @param pageable the page to return
|
|
@@ -535,6 +542,7 @@ declare class VulnerabilityAdvisoryService implements IVulnerabilityAdvisoryServ
|
|
|
535
542
|
constructor(kinotic: IKinotic7);
|
|
536
543
|
findImportStatus(): Promise<OsvImportStatus[]>;
|
|
537
544
|
findAdvisories(search: string, pageable: Pageable3): Promise<Page3<VulnerabilityAdvisory>>;
|
|
545
|
+
findAdvisoriesOf(ecosystem: PackageEcosystem2, pageable: Pageable3): Promise<Page3<VulnerabilityAdvisory>>;
|
|
538
546
|
findAlerts(advisoryId: string, pageable: Pageable3): Promise<Page3<VulnerabilityAlert>>;
|
|
539
547
|
}
|
|
540
548
|
import { Application, Organization, Project, ApplicationParticipantIdentity, OrganizationParticipantIdentity, PendingInviteSummary } from "@kinotic-ai/management-api";
|
package/dist/index.js
CHANGED
|
@@ -276,6 +276,9 @@ class VulnerabilityAdvisoryService {
|
|
|
276
276
|
findAdvisories(search, pageable) {
|
|
277
277
|
return this.serviceProxy.invoke("findAdvisories", [search, pageable]);
|
|
278
278
|
}
|
|
279
|
+
findAdvisoriesOf(ecosystem, pageable) {
|
|
280
|
+
return this.serviceProxy.invoke("findAdvisoriesOf", [ecosystem, pageable]);
|
|
281
|
+
}
|
|
279
282
|
findAlerts(advisoryId, pageable) {
|
|
280
283
|
return this.serviceProxy.invoke("findAlerts", [advisoryId, pageable]);
|
|
281
284
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kinotic-ai/system-api",
|
|
3
|
-
"version": "5.0.0-beta.
|
|
3
|
+
"version": "5.0.0-beta.51",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Client API for the Kinotic platform's system plane: the workload and node orchestration services system machines and operators use.",
|
|
6
6
|
"files": [
|
|
@@ -39,11 +39,11 @@
|
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"@kinotic-ai/core": "^5.0.0-beta.30",
|
|
42
|
-
"@kinotic-ai/management-api": "^5.0.0-beta.
|
|
42
|
+
"@kinotic-ai/management-api": "^5.0.0-beta.81"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@kinotic-ai/core": "5.0.0-beta.30",
|
|
46
|
-
"@kinotic-ai/management-api": "5.0.0-beta.
|
|
46
|
+
"@kinotic-ai/management-api": "5.0.0-beta.81",
|
|
47
47
|
"@types/bun": "^1.3.9",
|
|
48
48
|
"typescript": "^5.9.3"
|
|
49
49
|
}
|