@atensec/pulumi-thoth 0.1.3 → 0.1.5
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/access/{apiKey.ts → agentApiKey.ts} +29 -33
- package/access/endpointApiKey.ts +235 -0
- package/access/fleetApiKey.ts +235 -0
- package/access/getApiKeyAuthorization.ts +72 -0
- package/access/getApiKeys.ts +57 -0
- package/access/index.ts +33 -7
- package/billing/getCreditBank.ts +56 -0
- package/billing/getEstimate.ts +93 -0
- package/billing/getInvoices.ts +49 -0
- package/billing/getMonthlyCost.ts +38 -0
- package/billing/getPricing.ts +37 -0
- package/billing/getReport.ts +49 -0
- package/billing/getReports.ts +29 -0
- package/billing/index.ts +60 -0
- package/billing/overageCap.ts +174 -0
- package/browser/getEnrollments.ts +52 -0
- package/browser/getPolicies.ts +47 -0
- package/browser/getProviders.ts +28 -0
- package/browser/index.ts +15 -0
- package/config/vars.ts +3 -3
- package/fleet/fleet.ts +292 -0
- package/fleet/getEndpointStats.ts +36 -0
- package/fleet/getEndpoints.ts +52 -0
- package/fleet/getFleet.ts +48 -0
- package/fleet/getFleets.ts +57 -0
- package/fleet/index.ts +45 -0
- package/governance/getApprovals.ts +57 -0
- package/governance/getCostReport.ts +51 -0
- package/governance/getDay7Report.ts +46 -0
- package/governance/getEvidenceBundle.ts +47 -0
- package/governance/getEvidenceChain.ts +53 -0
- package/governance/getEvidenceVerify.ts +50 -0
- package/governance/getPacks.ts +28 -0
- package/governance/getReportsOverview.ts +46 -0
- package/governance/getRuntimeStatus.ts +46 -0
- package/governance/{tenantSettings.ts → governanceSettings.ts} +18 -244
- package/governance/index.ts +76 -7
- package/governance/packAssignment.ts +56 -0
- package/governance/packAssignmentBulk.ts +56 -0
- package/governance/pamSettings.ts +187 -0
- package/governance/siemSettings.ts +159 -0
- package/governance/webhookSettings.ts +145 -0
- package/index.ts +4 -0
- package/mdm/getProviders.ts +28 -0
- package/mdm/index.ts +5 -0
- package/package.json +1 -1
- package/provider.ts +9 -12
- package/tsconfig.json +37 -2
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
2
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
3
|
+
|
|
4
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
5
|
+
import * as utilities from "../utilities";
|
|
6
|
+
|
|
7
|
+
export function getEndpoints(args?: GetEndpointsArgs, opts?: pulumi.InvokeOptions): Promise<GetEndpointsResult> {
|
|
8
|
+
args = args || {};
|
|
9
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
10
|
+
return pulumi.runtime.invoke("thoth:fleet/getEndpoints:getEndpoints", {
|
|
11
|
+
"environment": args.environment,
|
|
12
|
+
"fleetId": args.fleetId,
|
|
13
|
+
}, opts);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* A collection of arguments for invoking getEndpoints.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetEndpointsArgs {
|
|
20
|
+
environment?: string;
|
|
21
|
+
fleetId?: string;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* A collection of values returned by getEndpoints.
|
|
26
|
+
*/
|
|
27
|
+
export interface GetEndpointsResult {
|
|
28
|
+
readonly dataJson: string;
|
|
29
|
+
readonly environment?: string;
|
|
30
|
+
readonly fleetId?: string;
|
|
31
|
+
/**
|
|
32
|
+
* The provider-assigned unique ID for this managed resource.
|
|
33
|
+
*/
|
|
34
|
+
readonly id: string;
|
|
35
|
+
readonly total: number;
|
|
36
|
+
}
|
|
37
|
+
export function getEndpointsOutput(args?: GetEndpointsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetEndpointsResult> {
|
|
38
|
+
args = args || {};
|
|
39
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
40
|
+
return pulumi.runtime.invokeOutput("thoth:fleet/getEndpoints:getEndpoints", {
|
|
41
|
+
"environment": args.environment,
|
|
42
|
+
"fleetId": args.fleetId,
|
|
43
|
+
}, opts);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* A collection of arguments for invoking getEndpoints.
|
|
48
|
+
*/
|
|
49
|
+
export interface GetEndpointsOutputArgs {
|
|
50
|
+
environment?: pulumi.Input<string | undefined>;
|
|
51
|
+
fleetId?: pulumi.Input<string | undefined>;
|
|
52
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
2
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
3
|
+
|
|
4
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
5
|
+
import * as utilities from "../utilities";
|
|
6
|
+
|
|
7
|
+
export function getFleet(args: GetFleetArgs, opts?: pulumi.InvokeOptions): Promise<GetFleetResult> {
|
|
8
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
9
|
+
return pulumi.runtime.invoke("thoth:fleet/getFleet:getFleet", {
|
|
10
|
+
"fleetId": args.fleetId,
|
|
11
|
+
}, opts);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* A collection of arguments for invoking getFleet.
|
|
16
|
+
*/
|
|
17
|
+
export interface GetFleetArgs {
|
|
18
|
+
fleetId: string;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* A collection of values returned by getFleet.
|
|
23
|
+
*/
|
|
24
|
+
export interface GetFleetResult {
|
|
25
|
+
readonly endpointCount: number;
|
|
26
|
+
readonly fleetId: string;
|
|
27
|
+
/**
|
|
28
|
+
* The provider-assigned unique ID for this managed resource.
|
|
29
|
+
*/
|
|
30
|
+
readonly id: string;
|
|
31
|
+
readonly name: string;
|
|
32
|
+
readonly region: string;
|
|
33
|
+
readonly responseJson: string;
|
|
34
|
+
readonly status: string;
|
|
35
|
+
}
|
|
36
|
+
export function getFleetOutput(args: GetFleetOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetFleetResult> {
|
|
37
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
38
|
+
return pulumi.runtime.invokeOutput("thoth:fleet/getFleet:getFleet", {
|
|
39
|
+
"fleetId": args.fleetId,
|
|
40
|
+
}, opts);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* A collection of arguments for invoking getFleet.
|
|
45
|
+
*/
|
|
46
|
+
export interface GetFleetOutputArgs {
|
|
47
|
+
fleetId: pulumi.Input<string>;
|
|
48
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
2
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
3
|
+
|
|
4
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
5
|
+
import * as utilities from "../utilities";
|
|
6
|
+
|
|
7
|
+
export function getFleets(args?: GetFleetsArgs, opts?: pulumi.InvokeOptions): Promise<GetFleetsResult> {
|
|
8
|
+
args = args || {};
|
|
9
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
10
|
+
return pulumi.runtime.invoke("thoth:fleet/getFleets:getFleets", {
|
|
11
|
+
"provider": args.provider,
|
|
12
|
+
"region": args.region,
|
|
13
|
+
"status": args.status,
|
|
14
|
+
}, opts);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* A collection of arguments for invoking getFleets.
|
|
19
|
+
*/
|
|
20
|
+
export interface GetFleetsArgs {
|
|
21
|
+
provider?: string;
|
|
22
|
+
region?: string;
|
|
23
|
+
status?: string;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* A collection of values returned by getFleets.
|
|
28
|
+
*/
|
|
29
|
+
export interface GetFleetsResult {
|
|
30
|
+
readonly dataJson: string;
|
|
31
|
+
/**
|
|
32
|
+
* The provider-assigned unique ID for this managed resource.
|
|
33
|
+
*/
|
|
34
|
+
readonly id: string;
|
|
35
|
+
readonly provider?: string;
|
|
36
|
+
readonly region?: string;
|
|
37
|
+
readonly status?: string;
|
|
38
|
+
readonly total: number;
|
|
39
|
+
}
|
|
40
|
+
export function getFleetsOutput(args?: GetFleetsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetFleetsResult> {
|
|
41
|
+
args = args || {};
|
|
42
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
43
|
+
return pulumi.runtime.invokeOutput("thoth:fleet/getFleets:getFleets", {
|
|
44
|
+
"provider": args.provider,
|
|
45
|
+
"region": args.region,
|
|
46
|
+
"status": args.status,
|
|
47
|
+
}, opts);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* A collection of arguments for invoking getFleets.
|
|
52
|
+
*/
|
|
53
|
+
export interface GetFleetsOutputArgs {
|
|
54
|
+
provider?: pulumi.Input<string | undefined>;
|
|
55
|
+
region?: pulumi.Input<string | undefined>;
|
|
56
|
+
status?: pulumi.Input<string | undefined>;
|
|
57
|
+
}
|
package/fleet/index.ts
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
2
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
3
|
+
|
|
4
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
5
|
+
import * as utilities from "../utilities";
|
|
6
|
+
|
|
7
|
+
// Export members:
|
|
8
|
+
export { FleetArgs, FleetState } from "./fleet";
|
|
9
|
+
export type Fleet = import("./fleet").Fleet;
|
|
10
|
+
export const Fleet: typeof import("./fleet").Fleet = null as any;
|
|
11
|
+
utilities.lazyLoad(exports, ["Fleet"], () => require("./fleet"));
|
|
12
|
+
|
|
13
|
+
export { GetEndpointStatsResult } from "./getEndpointStats";
|
|
14
|
+
export const getEndpointStats: typeof import("./getEndpointStats").getEndpointStats = null as any;
|
|
15
|
+
export const getEndpointStatsOutput: typeof import("./getEndpointStats").getEndpointStatsOutput = null as any;
|
|
16
|
+
utilities.lazyLoad(exports, ["getEndpointStats","getEndpointStatsOutput"], () => require("./getEndpointStats"));
|
|
17
|
+
|
|
18
|
+
export { GetEndpointsArgs, GetEndpointsResult, GetEndpointsOutputArgs } from "./getEndpoints";
|
|
19
|
+
export const getEndpoints: typeof import("./getEndpoints").getEndpoints = null as any;
|
|
20
|
+
export const getEndpointsOutput: typeof import("./getEndpoints").getEndpointsOutput = null as any;
|
|
21
|
+
utilities.lazyLoad(exports, ["getEndpoints","getEndpointsOutput"], () => require("./getEndpoints"));
|
|
22
|
+
|
|
23
|
+
export { GetFleetArgs, GetFleetResult, GetFleetOutputArgs } from "./getFleet";
|
|
24
|
+
export const getFleet: typeof import("./getFleet").getFleet = null as any;
|
|
25
|
+
export const getFleetOutput: typeof import("./getFleet").getFleetOutput = null as any;
|
|
26
|
+
utilities.lazyLoad(exports, ["getFleet","getFleetOutput"], () => require("./getFleet"));
|
|
27
|
+
|
|
28
|
+
export { GetFleetsArgs, GetFleetsResult, GetFleetsOutputArgs } from "./getFleets";
|
|
29
|
+
export const getFleets: typeof import("./getFleets").getFleets = null as any;
|
|
30
|
+
export const getFleetsOutput: typeof import("./getFleets").getFleetsOutput = null as any;
|
|
31
|
+
utilities.lazyLoad(exports, ["getFleets","getFleetsOutput"], () => require("./getFleets"));
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
const _module = {
|
|
35
|
+
version: utilities.getVersion(),
|
|
36
|
+
construct: (name: string, type: string, urn: string): pulumi.Resource => {
|
|
37
|
+
switch (type) {
|
|
38
|
+
case "thoth:fleet/fleet:Fleet":
|
|
39
|
+
return new Fleet(name, <any>undefined, { urn })
|
|
40
|
+
default:
|
|
41
|
+
throw new Error(`unknown resource type ${type}`);
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
};
|
|
45
|
+
pulumi.runtime.registerResourceModule("thoth", "fleet/fleet", _module)
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
2
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
3
|
+
|
|
4
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
5
|
+
import * as utilities from "../utilities";
|
|
6
|
+
|
|
7
|
+
export function getApprovals(args?: GetApprovalsArgs, opts?: pulumi.InvokeOptions): Promise<GetApprovalsResult> {
|
|
8
|
+
args = args || {};
|
|
9
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
10
|
+
return pulumi.runtime.invoke("thoth:governance/getApprovals:getApprovals", {
|
|
11
|
+
"page": args.page,
|
|
12
|
+
"perPage": args.perPage,
|
|
13
|
+
"status": args.status,
|
|
14
|
+
}, opts);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* A collection of arguments for invoking getApprovals.
|
|
19
|
+
*/
|
|
20
|
+
export interface GetApprovalsArgs {
|
|
21
|
+
page?: number;
|
|
22
|
+
perPage?: number;
|
|
23
|
+
status?: string;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* A collection of values returned by getApprovals.
|
|
28
|
+
*/
|
|
29
|
+
export interface GetApprovalsResult {
|
|
30
|
+
readonly dataJson: string;
|
|
31
|
+
/**
|
|
32
|
+
* The provider-assigned unique ID for this managed resource.
|
|
33
|
+
*/
|
|
34
|
+
readonly id: string;
|
|
35
|
+
readonly page?: number;
|
|
36
|
+
readonly perPage?: number;
|
|
37
|
+
readonly status?: string;
|
|
38
|
+
readonly total: number;
|
|
39
|
+
}
|
|
40
|
+
export function getApprovalsOutput(args?: GetApprovalsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetApprovalsResult> {
|
|
41
|
+
args = args || {};
|
|
42
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
43
|
+
return pulumi.runtime.invokeOutput("thoth:governance/getApprovals:getApprovals", {
|
|
44
|
+
"page": args.page,
|
|
45
|
+
"perPage": args.perPage,
|
|
46
|
+
"status": args.status,
|
|
47
|
+
}, opts);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* A collection of arguments for invoking getApprovals.
|
|
52
|
+
*/
|
|
53
|
+
export interface GetApprovalsOutputArgs {
|
|
54
|
+
page?: pulumi.Input<number | undefined>;
|
|
55
|
+
perPage?: pulumi.Input<number | undefined>;
|
|
56
|
+
status?: pulumi.Input<string | undefined>;
|
|
57
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
2
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
3
|
+
|
|
4
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
5
|
+
import * as utilities from "../utilities";
|
|
6
|
+
|
|
7
|
+
export function getCostReport(args?: GetCostReportArgs, opts?: pulumi.InvokeOptions): Promise<GetCostReportResult> {
|
|
8
|
+
args = args || {};
|
|
9
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
10
|
+
return pulumi.runtime.invoke("thoth:governance/getCostReport:getCostReport", {
|
|
11
|
+
"days": args.days,
|
|
12
|
+
"rate": args.rate,
|
|
13
|
+
}, opts);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* A collection of arguments for invoking getCostReport.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetCostReportArgs {
|
|
20
|
+
days?: number;
|
|
21
|
+
rate?: number;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* A collection of values returned by getCostReport.
|
|
26
|
+
*/
|
|
27
|
+
export interface GetCostReportResult {
|
|
28
|
+
readonly days?: number;
|
|
29
|
+
/**
|
|
30
|
+
* The provider-assigned unique ID for this managed resource.
|
|
31
|
+
*/
|
|
32
|
+
readonly id: string;
|
|
33
|
+
readonly rate?: number;
|
|
34
|
+
readonly responseJson: string;
|
|
35
|
+
}
|
|
36
|
+
export function getCostReportOutput(args?: GetCostReportOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetCostReportResult> {
|
|
37
|
+
args = args || {};
|
|
38
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
39
|
+
return pulumi.runtime.invokeOutput("thoth:governance/getCostReport:getCostReport", {
|
|
40
|
+
"days": args.days,
|
|
41
|
+
"rate": args.rate,
|
|
42
|
+
}, opts);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* A collection of arguments for invoking getCostReport.
|
|
47
|
+
*/
|
|
48
|
+
export interface GetCostReportOutputArgs {
|
|
49
|
+
days?: pulumi.Input<number | undefined>;
|
|
50
|
+
rate?: pulumi.Input<number | undefined>;
|
|
51
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
2
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
3
|
+
|
|
4
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
5
|
+
import * as utilities from "../utilities";
|
|
6
|
+
|
|
7
|
+
export function getDay7Report(args?: GetDay7ReportArgs, opts?: pulumi.InvokeOptions): Promise<GetDay7ReportResult> {
|
|
8
|
+
args = args || {};
|
|
9
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
10
|
+
return pulumi.runtime.invoke("thoth:governance/getDay7Report:getDay7Report", {
|
|
11
|
+
"days": args.days,
|
|
12
|
+
}, opts);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* A collection of arguments for invoking getDay7Report.
|
|
17
|
+
*/
|
|
18
|
+
export interface GetDay7ReportArgs {
|
|
19
|
+
days?: number;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* A collection of values returned by getDay7Report.
|
|
24
|
+
*/
|
|
25
|
+
export interface GetDay7ReportResult {
|
|
26
|
+
readonly days?: number;
|
|
27
|
+
/**
|
|
28
|
+
* The provider-assigned unique ID for this managed resource.
|
|
29
|
+
*/
|
|
30
|
+
readonly id: string;
|
|
31
|
+
readonly responseJson: string;
|
|
32
|
+
}
|
|
33
|
+
export function getDay7ReportOutput(args?: GetDay7ReportOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDay7ReportResult> {
|
|
34
|
+
args = args || {};
|
|
35
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
36
|
+
return pulumi.runtime.invokeOutput("thoth:governance/getDay7Report:getDay7Report", {
|
|
37
|
+
"days": args.days,
|
|
38
|
+
}, opts);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* A collection of arguments for invoking getDay7Report.
|
|
43
|
+
*/
|
|
44
|
+
export interface GetDay7ReportOutputArgs {
|
|
45
|
+
days?: pulumi.Input<number | undefined>;
|
|
46
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
2
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
3
|
+
|
|
4
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
5
|
+
import * as utilities from "../utilities";
|
|
6
|
+
|
|
7
|
+
export function getEvidenceBundle(args: GetEvidenceBundleArgs, opts?: pulumi.InvokeOptions): Promise<GetEvidenceBundleResult> {
|
|
8
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
9
|
+
return pulumi.runtime.invoke("thoth:governance/getEvidenceBundle:getEvidenceBundle", {
|
|
10
|
+
"sessionId": args.sessionId,
|
|
11
|
+
}, opts);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* A collection of arguments for invoking getEvidenceBundle.
|
|
16
|
+
*/
|
|
17
|
+
export interface GetEvidenceBundleArgs {
|
|
18
|
+
sessionId: string;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* A collection of values returned by getEvidenceBundle.
|
|
23
|
+
*/
|
|
24
|
+
export interface GetEvidenceBundleResult {
|
|
25
|
+
readonly bundleHash: string;
|
|
26
|
+
readonly exportedAt: string;
|
|
27
|
+
/**
|
|
28
|
+
* The provider-assigned unique ID for this managed resource.
|
|
29
|
+
*/
|
|
30
|
+
readonly id: string;
|
|
31
|
+
readonly responseJson: string;
|
|
32
|
+
readonly sessionId: string;
|
|
33
|
+
readonly summaryJson: string;
|
|
34
|
+
}
|
|
35
|
+
export function getEvidenceBundleOutput(args: GetEvidenceBundleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetEvidenceBundleResult> {
|
|
36
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
37
|
+
return pulumi.runtime.invokeOutput("thoth:governance/getEvidenceBundle:getEvidenceBundle", {
|
|
38
|
+
"sessionId": args.sessionId,
|
|
39
|
+
}, opts);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* A collection of arguments for invoking getEvidenceBundle.
|
|
44
|
+
*/
|
|
45
|
+
export interface GetEvidenceBundleOutputArgs {
|
|
46
|
+
sessionId: pulumi.Input<string>;
|
|
47
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
2
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
3
|
+
|
|
4
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
5
|
+
import * as utilities from "../utilities";
|
|
6
|
+
|
|
7
|
+
export function getEvidenceChain(args?: GetEvidenceChainArgs, opts?: pulumi.InvokeOptions): Promise<GetEvidenceChainResult> {
|
|
8
|
+
args = args || {};
|
|
9
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
10
|
+
return pulumi.runtime.invoke("thoth:governance/getEvidenceChain:getEvidenceChain", {
|
|
11
|
+
"fromSequence": args.fromSequence,
|
|
12
|
+
"limit": args.limit,
|
|
13
|
+
}, opts);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* A collection of arguments for invoking getEvidenceChain.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetEvidenceChainArgs {
|
|
20
|
+
fromSequence?: number;
|
|
21
|
+
limit?: number;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* A collection of values returned by getEvidenceChain.
|
|
26
|
+
*/
|
|
27
|
+
export interface GetEvidenceChainResult {
|
|
28
|
+
readonly dataJson: string;
|
|
29
|
+
readonly fromSequence?: number;
|
|
30
|
+
/**
|
|
31
|
+
* The provider-assigned unique ID for this managed resource.
|
|
32
|
+
*/
|
|
33
|
+
readonly id: string;
|
|
34
|
+
readonly limit?: number;
|
|
35
|
+
readonly responseJson: string;
|
|
36
|
+
readonly total: number;
|
|
37
|
+
}
|
|
38
|
+
export function getEvidenceChainOutput(args?: GetEvidenceChainOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetEvidenceChainResult> {
|
|
39
|
+
args = args || {};
|
|
40
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
41
|
+
return pulumi.runtime.invokeOutput("thoth:governance/getEvidenceChain:getEvidenceChain", {
|
|
42
|
+
"fromSequence": args.fromSequence,
|
|
43
|
+
"limit": args.limit,
|
|
44
|
+
}, opts);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* A collection of arguments for invoking getEvidenceChain.
|
|
49
|
+
*/
|
|
50
|
+
export interface GetEvidenceChainOutputArgs {
|
|
51
|
+
fromSequence?: pulumi.Input<number | undefined>;
|
|
52
|
+
limit?: pulumi.Input<number | undefined>;
|
|
53
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
2
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
3
|
+
|
|
4
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
5
|
+
import * as utilities from "../utilities";
|
|
6
|
+
|
|
7
|
+
export function getEvidenceVerify(args?: GetEvidenceVerifyArgs, opts?: pulumi.InvokeOptions): Promise<GetEvidenceVerifyResult> {
|
|
8
|
+
args = args || {};
|
|
9
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
10
|
+
return pulumi.runtime.invoke("thoth:governance/getEvidenceVerify:getEvidenceVerify", {
|
|
11
|
+
"limit": args.limit,
|
|
12
|
+
}, opts);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* A collection of arguments for invoking getEvidenceVerify.
|
|
17
|
+
*/
|
|
18
|
+
export interface GetEvidenceVerifyArgs {
|
|
19
|
+
limit?: number;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* A collection of values returned by getEvidenceVerify.
|
|
24
|
+
*/
|
|
25
|
+
export interface GetEvidenceVerifyResult {
|
|
26
|
+
readonly breachDetail: string;
|
|
27
|
+
readonly chainHead: number;
|
|
28
|
+
/**
|
|
29
|
+
* The provider-assigned unique ID for this managed resource.
|
|
30
|
+
*/
|
|
31
|
+
readonly id: string;
|
|
32
|
+
readonly limit?: number;
|
|
33
|
+
readonly recordsChecked: number;
|
|
34
|
+
readonly responseJson: string;
|
|
35
|
+
readonly verified: boolean;
|
|
36
|
+
}
|
|
37
|
+
export function getEvidenceVerifyOutput(args?: GetEvidenceVerifyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetEvidenceVerifyResult> {
|
|
38
|
+
args = args || {};
|
|
39
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
40
|
+
return pulumi.runtime.invokeOutput("thoth:governance/getEvidenceVerify:getEvidenceVerify", {
|
|
41
|
+
"limit": args.limit,
|
|
42
|
+
}, opts);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* A collection of arguments for invoking getEvidenceVerify.
|
|
47
|
+
*/
|
|
48
|
+
export interface GetEvidenceVerifyOutputArgs {
|
|
49
|
+
limit?: pulumi.Input<number | undefined>;
|
|
50
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
2
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
3
|
+
|
|
4
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
5
|
+
import * as utilities from "../utilities";
|
|
6
|
+
|
|
7
|
+
export function getPacks(opts?: pulumi.InvokeOptions): Promise<GetPacksResult> {
|
|
8
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
9
|
+
return pulumi.runtime.invoke("thoth:governance/getPacks:getPacks", {
|
|
10
|
+
}, opts);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* A collection of values returned by getPacks.
|
|
15
|
+
*/
|
|
16
|
+
export interface GetPacksResult {
|
|
17
|
+
/**
|
|
18
|
+
* The provider-assigned unique ID for this managed resource.
|
|
19
|
+
*/
|
|
20
|
+
readonly id: string;
|
|
21
|
+
readonly packsJson: string;
|
|
22
|
+
readonly total: number;
|
|
23
|
+
}
|
|
24
|
+
export function getPacksOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPacksResult> {
|
|
25
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
26
|
+
return pulumi.runtime.invokeOutput("thoth:governance/getPacks:getPacks", {
|
|
27
|
+
}, opts);
|
|
28
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
2
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
3
|
+
|
|
4
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
5
|
+
import * as utilities from "../utilities";
|
|
6
|
+
|
|
7
|
+
export function getReportsOverview(args?: GetReportsOverviewArgs, opts?: pulumi.InvokeOptions): Promise<GetReportsOverviewResult> {
|
|
8
|
+
args = args || {};
|
|
9
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
10
|
+
return pulumi.runtime.invoke("thoth:governance/getReportsOverview:getReportsOverview", {
|
|
11
|
+
"days": args.days,
|
|
12
|
+
}, opts);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* A collection of arguments for invoking getReportsOverview.
|
|
17
|
+
*/
|
|
18
|
+
export interface GetReportsOverviewArgs {
|
|
19
|
+
days?: number;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* A collection of values returned by getReportsOverview.
|
|
24
|
+
*/
|
|
25
|
+
export interface GetReportsOverviewResult {
|
|
26
|
+
readonly days?: number;
|
|
27
|
+
/**
|
|
28
|
+
* The provider-assigned unique ID for this managed resource.
|
|
29
|
+
*/
|
|
30
|
+
readonly id: string;
|
|
31
|
+
readonly responseJson: string;
|
|
32
|
+
}
|
|
33
|
+
export function getReportsOverviewOutput(args?: GetReportsOverviewOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetReportsOverviewResult> {
|
|
34
|
+
args = args || {};
|
|
35
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
36
|
+
return pulumi.runtime.invokeOutput("thoth:governance/getReportsOverview:getReportsOverview", {
|
|
37
|
+
"days": args.days,
|
|
38
|
+
}, opts);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* A collection of arguments for invoking getReportsOverview.
|
|
43
|
+
*/
|
|
44
|
+
export interface GetReportsOverviewOutputArgs {
|
|
45
|
+
days?: pulumi.Input<number | undefined>;
|
|
46
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
2
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
3
|
+
|
|
4
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
5
|
+
import * as utilities from "../utilities";
|
|
6
|
+
|
|
7
|
+
export function getRuntimeStatus(args?: GetRuntimeStatusArgs, opts?: pulumi.InvokeOptions): Promise<GetRuntimeStatusResult> {
|
|
8
|
+
args = args || {};
|
|
9
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
10
|
+
return pulumi.runtime.invoke("thoth:governance/getRuntimeStatus:getRuntimeStatus", {
|
|
11
|
+
"environment": args.environment,
|
|
12
|
+
}, opts);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* A collection of arguments for invoking getRuntimeStatus.
|
|
17
|
+
*/
|
|
18
|
+
export interface GetRuntimeStatusArgs {
|
|
19
|
+
environment?: string;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* A collection of values returned by getRuntimeStatus.
|
|
24
|
+
*/
|
|
25
|
+
export interface GetRuntimeStatusResult {
|
|
26
|
+
readonly environment?: string;
|
|
27
|
+
/**
|
|
28
|
+
* The provider-assigned unique ID for this managed resource.
|
|
29
|
+
*/
|
|
30
|
+
readonly id: string;
|
|
31
|
+
readonly responseJson: string;
|
|
32
|
+
}
|
|
33
|
+
export function getRuntimeStatusOutput(args?: GetRuntimeStatusOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetRuntimeStatusResult> {
|
|
34
|
+
args = args || {};
|
|
35
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
36
|
+
return pulumi.runtime.invokeOutput("thoth:governance/getRuntimeStatus:getRuntimeStatus", {
|
|
37
|
+
"environment": args.environment,
|
|
38
|
+
}, opts);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* A collection of arguments for invoking getRuntimeStatus.
|
|
43
|
+
*/
|
|
44
|
+
export interface GetRuntimeStatusOutputArgs {
|
|
45
|
+
environment?: pulumi.Input<string | undefined>;
|
|
46
|
+
}
|