@pulumi/harness 0.16.2 → 0.16.3-alpha.1787807184

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/harness",
3
- "version": "0.16.2",
3
+ "version": "0.16.3-alpha.1787807184",
4
4
  "description": "A Pulumi package for creating and managing Harness resources.",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -23,7 +23,7 @@
23
23
  "pulumi": {
24
24
  "resource": true,
25
25
  "name": "harness",
26
- "version": "0.16.2",
26
+ "version": "0.16.3-alpha.1787807184",
27
27
  "server": "github://api.github.com/pulumi"
28
28
  }
29
29
  }
@@ -0,0 +1,90 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ /**
4
+ * Data source for retrieving IDP plugin configuration.
5
+ */
6
+ export declare function getIdpPlugin(args: GetIdpPluginArgs, opts?: pulumi.InvokeOptions): Promise<GetIdpPluginResult>;
7
+ /**
8
+ * A collection of arguments for invoking getIdpPlugin.
9
+ */
10
+ export interface GetIdpPluginArgs {
11
+ /**
12
+ * Unique identifier of the plugin.
13
+ */
14
+ identifier: string;
15
+ }
16
+ /**
17
+ * A collection of values returned by getIdpPlugin.
18
+ */
19
+ export interface GetIdpPluginResult {
20
+ /**
21
+ * Category of the plugin.
22
+ */
23
+ readonly category: string;
24
+ /**
25
+ * Backstage YAML configuration for the plugin.
26
+ */
27
+ readonly configs: string;
28
+ /**
29
+ * Whether this is a core plugin.
30
+ */
31
+ readonly core: boolean;
32
+ /**
33
+ * Description of the plugin.
34
+ */
35
+ readonly description: string;
36
+ /**
37
+ * Documentation URL for the plugin.
38
+ */
39
+ readonly documentation: string;
40
+ /**
41
+ * Whether the plugin is currently enabled.
42
+ */
43
+ readonly enabled: boolean;
44
+ /**
45
+ * Secret environment variables injected into the plugin runtime.
46
+ */
47
+ readonly envVariables: outputs.platform.GetIdpPluginEnvVariable[];
48
+ /**
49
+ * Icon URL of the plugin.
50
+ */
51
+ readonly iconUrl: string;
52
+ /**
53
+ * The provider-assigned unique ID for this managed resource.
54
+ */
55
+ readonly id: string;
56
+ /**
57
+ * Unique identifier of the plugin.
58
+ */
59
+ readonly identifier: string;
60
+ /**
61
+ * Display name of the plugin.
62
+ */
63
+ readonly name: string;
64
+ /**
65
+ * Type of the plugin.
66
+ */
67
+ readonly pluginType: string;
68
+ /**
69
+ * Delegate-based proxy configuration for outbound HTTP calls.
70
+ */
71
+ readonly proxies: outputs.platform.GetIdpPluginProxy[];
72
+ /**
73
+ * Source of the plugin.
74
+ */
75
+ readonly source: string;
76
+ }
77
+ /**
78
+ * Data source for retrieving IDP plugin configuration.
79
+ */
80
+ export declare function getIdpPluginOutput(args: GetIdpPluginOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetIdpPluginResult>;
81
+ /**
82
+ * A collection of arguments for invoking getIdpPlugin.
83
+ */
84
+ export interface GetIdpPluginOutputArgs {
85
+ /**
86
+ * Unique identifier of the plugin.
87
+ */
88
+ identifier: pulumi.Input<string>;
89
+ }
90
+ //# sourceMappingURL=getIdpPlugin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getIdpPlugin.d.ts","sourceRoot":"","sources":["../../platform/getIdpPlugin.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAC;AAG3C;;GAEG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,gBAAgB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAK7G;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC7B;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACtB;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IAC/B;;OAEG;IACH,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC;IACvB;;OAEG;IACH,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B;;OAEG;IACH,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B;;OAEG;IACH,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAC1B;;OAEG;IACH,QAAQ,CAAC,YAAY,EAAE,OAAO,CAAC,QAAQ,CAAC,uBAAuB,EAAE,CAAC;IAClE;;OAEG;IACH,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B;;OAEG;IACH,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC,QAAQ,CAAC,iBAAiB,EAAE,CAAC;IACvD;;OAEG;IACH,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;CAC3B;AACD;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,sBAAsB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,kBAAkB,CAAC,CAKrI;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACnC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACpC"}
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.getIdpPluginOutput = exports.getIdpPlugin = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("../utilities"));
31
+ /**
32
+ * Data source for retrieving IDP plugin configuration.
33
+ */
34
+ function getIdpPlugin(args, opts) {
35
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
36
+ return pulumi.runtime.invoke("harness:platform/getIdpPlugin:getIdpPlugin", {
37
+ "identifier": args.identifier,
38
+ }, opts);
39
+ }
40
+ exports.getIdpPlugin = getIdpPlugin;
41
+ /**
42
+ * Data source for retrieving IDP plugin configuration.
43
+ */
44
+ function getIdpPluginOutput(args, opts) {
45
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
46
+ return pulumi.runtime.invokeOutput("harness:platform/getIdpPlugin:getIdpPlugin", {
47
+ "identifier": args.identifier,
48
+ }, opts);
49
+ }
50
+ exports.getIdpPluginOutput = getIdpPluginOutput;
51
+ //# sourceMappingURL=getIdpPlugin.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getIdpPlugin.js","sourceRoot":"","sources":["../../platform/getIdpPlugin.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,wDAA0C;AAE1C;;GAEG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAC5E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4CAA4C,EAAE;QACvE,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,oCAKC;AAyED;;GAEG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAAiC;IAC9F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,4CAA4C,EAAE;QAC7E,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,gDAKC"}
@@ -0,0 +1,112 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ /**
4
+ * Data source for retrieving an IDP scorecard.
5
+ *
6
+ * ## Example Usage
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as harness from "@pulumi/harness";
11
+ *
12
+ * const gold = harness.platform.getIdpScorecard({
13
+ * identifier: "gold_standard",
14
+ * });
15
+ * ```
16
+ */
17
+ export declare function getIdpScorecard(args: GetIdpScorecardArgs, opts?: pulumi.InvokeOptions): Promise<GetIdpScorecardResult>;
18
+ /**
19
+ * A collection of arguments for invoking getIdpScorecard.
20
+ */
21
+ export interface GetIdpScorecardArgs {
22
+ /**
23
+ * Unique identifier of the resource.
24
+ */
25
+ identifier: string;
26
+ }
27
+ /**
28
+ * A collection of values returned by getIdpScorecard.
29
+ */
30
+ export interface GetIdpScorecardResult {
31
+ /**
32
+ * Checks included in the scorecard.
33
+ */
34
+ readonly checks: outputs.platform.GetIdpScorecardCheck[];
35
+ /**
36
+ * Identifiers of checks referenced by the scorecard that are missing.
37
+ */
38
+ readonly checksMissings: string[];
39
+ /**
40
+ * Number of components evaluated by the scorecard.
41
+ */
42
+ readonly components: number;
43
+ /**
44
+ * Description of the resource.
45
+ */
46
+ readonly description: string;
47
+ /**
48
+ * Filters that select catalog entities evaluated by the scorecard.
49
+ */
50
+ readonly filters: outputs.platform.GetIdpScorecardFilter[];
51
+ /**
52
+ * The provider-assigned unique ID for this managed resource.
53
+ */
54
+ readonly id: string;
55
+ /**
56
+ * Unique identifier of the resource.
57
+ */
58
+ readonly identifier: string;
59
+ /**
60
+ * Name of the resource.
61
+ */
62
+ readonly name: string;
63
+ /**
64
+ * Whether the scorecard is evaluated on demand.
65
+ */
66
+ readonly onDemand: boolean;
67
+ /**
68
+ * Overall scorecard percentage.
69
+ */
70
+ readonly percentage: number;
71
+ /**
72
+ * Whether the scorecard is published.
73
+ */
74
+ readonly published: boolean;
75
+ /**
76
+ * Component distribution across scorecard tiers.
77
+ */
78
+ readonly tierAnalytics: outputs.platform.GetIdpScorecardTierAnalytic[];
79
+ /**
80
+ * Identifier of the tier group used to classify scores.
81
+ */
82
+ readonly tierGroupIdentifier: string;
83
+ /**
84
+ * Weightage strategy for checks. Valid values are EQUAL_WEIGHTS and CUSTOM.
85
+ */
86
+ readonly weightageStrategy: string;
87
+ }
88
+ /**
89
+ * Data source for retrieving an IDP scorecard.
90
+ *
91
+ * ## Example Usage
92
+ *
93
+ * ```typescript
94
+ * import * as pulumi from "@pulumi/pulumi";
95
+ * import * as harness from "@pulumi/harness";
96
+ *
97
+ * const gold = harness.platform.getIdpScorecard({
98
+ * identifier: "gold_standard",
99
+ * });
100
+ * ```
101
+ */
102
+ export declare function getIdpScorecardOutput(args: GetIdpScorecardOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetIdpScorecardResult>;
103
+ /**
104
+ * A collection of arguments for invoking getIdpScorecard.
105
+ */
106
+ export interface GetIdpScorecardOutputArgs {
107
+ /**
108
+ * Unique identifier of the resource.
109
+ */
110
+ identifier: pulumi.Input<string>;
111
+ }
112
+ //# sourceMappingURL=getIdpScorecard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getIdpScorecard.d.ts","sourceRoot":"","sources":["../../platform/getIdpScorecard.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAC;AAG3C;;;;;;;;;;;;;GAaG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,mBAAmB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,qBAAqB,CAAC,CAKtH;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAChC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACtB;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IAClC;;OAEG;IACH,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC,QAAQ,CAAC,oBAAoB,EAAE,CAAC;IACzD;;OAEG;IACH,QAAQ,CAAC,cAAc,EAAE,MAAM,EAAE,CAAC;IAClC;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B;;OAEG;IACH,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B;;OAEG;IACH,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC,QAAQ,CAAC,qBAAqB,EAAE,CAAC;IAC3D;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC;IAC3B;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC;IAC5B;;OAEG;IACH,QAAQ,CAAC,aAAa,EAAE,OAAO,CAAC,QAAQ,CAAC,2BAA2B,EAAE,CAAC;IACvE;;OAEG;IACH,QAAQ,CAAC,mBAAmB,EAAE,MAAM,CAAC;IACrC;;OAEG;IACH,QAAQ,CAAC,iBAAiB,EAAE,MAAM,CAAC;CACtC;AACD;;;;;;;;;;;;;GAaG;AACH,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,yBAAyB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,qBAAqB,CAAC,CAK9I;AAED;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACtC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACpC"}
@@ -0,0 +1,73 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.getIdpScorecardOutput = exports.getIdpScorecard = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("../utilities"));
31
+ /**
32
+ * Data source for retrieving an IDP scorecard.
33
+ *
34
+ * ## Example Usage
35
+ *
36
+ * ```typescript
37
+ * import * as pulumi from "@pulumi/pulumi";
38
+ * import * as harness from "@pulumi/harness";
39
+ *
40
+ * const gold = harness.platform.getIdpScorecard({
41
+ * identifier: "gold_standard",
42
+ * });
43
+ * ```
44
+ */
45
+ function getIdpScorecard(args, opts) {
46
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
47
+ return pulumi.runtime.invoke("harness:platform/getIdpScorecard:getIdpScorecard", {
48
+ "identifier": args.identifier,
49
+ }, opts);
50
+ }
51
+ exports.getIdpScorecard = getIdpScorecard;
52
+ /**
53
+ * Data source for retrieving an IDP scorecard.
54
+ *
55
+ * ## Example Usage
56
+ *
57
+ * ```typescript
58
+ * import * as pulumi from "@pulumi/pulumi";
59
+ * import * as harness from "@pulumi/harness";
60
+ *
61
+ * const gold = harness.platform.getIdpScorecard({
62
+ * identifier: "gold_standard",
63
+ * });
64
+ * ```
65
+ */
66
+ function getIdpScorecardOutput(args, opts) {
67
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
68
+ return pulumi.runtime.invokeOutput("harness:platform/getIdpScorecard:getIdpScorecard", {
69
+ "identifier": args.identifier,
70
+ }, opts);
71
+ }
72
+ exports.getIdpScorecardOutput = getIdpScorecardOutput;
73
+ //# sourceMappingURL=getIdpScorecard.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getIdpScorecard.js","sourceRoot":"","sources":["../../platform/getIdpScorecard.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,wDAA0C;AAE1C;;;;;;;;;;;;;GAaG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kDAAkD,EAAE;QAC7E,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,0CAKC;AAyED;;;;;;;;;;;;;GAaG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAAiC;IACpG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,kDAAkD,EAAE;QACnF,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,sDAKC"}
@@ -0,0 +1,112 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ /**
4
+ * Data source for retrieving an IDP scorecard check.
5
+ *
6
+ * ## Example Usage
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as harness from "@pulumi/harness";
11
+ *
12
+ * const readme = harness.platform.getIdpScorecardCheck({
13
+ * identifier: "readme_exists",
14
+ * });
15
+ * ```
16
+ */
17
+ export declare function getIdpScorecardCheck(args: GetIdpScorecardCheckArgs, opts?: pulumi.InvokeOptions): Promise<GetIdpScorecardCheckResult>;
18
+ /**
19
+ * A collection of arguments for invoking getIdpScorecardCheck.
20
+ */
21
+ export interface GetIdpScorecardCheckArgs {
22
+ /**
23
+ * Unique identifier of the resource.
24
+ */
25
+ identifier: string;
26
+ }
27
+ /**
28
+ * A collection of values returned by getIdpScorecardCheck.
29
+ */
30
+ export interface GetIdpScorecardCheckResult {
31
+ /**
32
+ * Whether this is a custom check. Always true for checks created through Terraform.
33
+ */
34
+ readonly custom: boolean;
35
+ /**
36
+ * Default behaviour when the check cannot be evaluated. Valid values are PASS and FAIL.
37
+ */
38
+ readonly defaultBehaviour: string;
39
+ /**
40
+ * Description of the resource.
41
+ */
42
+ readonly description: string;
43
+ /**
44
+ * JEXL expression used for advanced check rules.
45
+ */
46
+ readonly expression: string;
47
+ /**
48
+ * Message shown when the check fails.
49
+ */
50
+ readonly failMessage: string;
51
+ /**
52
+ * Whether the check is managed by Harness.
53
+ */
54
+ readonly harnessManaged: boolean;
55
+ /**
56
+ * The provider-assigned unique ID for this managed resource.
57
+ */
58
+ readonly id: string;
59
+ /**
60
+ * Unique identifier of the resource.
61
+ */
62
+ readonly identifier: string;
63
+ /**
64
+ * Name of the resource.
65
+ */
66
+ readonly name: string;
67
+ /**
68
+ * Pass percentage for the check.
69
+ */
70
+ readonly percentage: number;
71
+ /**
72
+ * Description of the check rule set.
73
+ */
74
+ readonly ruleDescription: string;
75
+ /**
76
+ * How multiple rules are combined. Valid values are ALL*OF, ANY*OF, and ADVANCED.
77
+ */
78
+ readonly ruleStrategy: string;
79
+ /**
80
+ * Basic rules evaluated by the check.
81
+ */
82
+ readonly rules: outputs.platform.GetIdpScorecardCheckRule[];
83
+ /**
84
+ * Tags to associate with the resource.
85
+ */
86
+ readonly tags: string[];
87
+ }
88
+ /**
89
+ * Data source for retrieving an IDP scorecard check.
90
+ *
91
+ * ## Example Usage
92
+ *
93
+ * ```typescript
94
+ * import * as pulumi from "@pulumi/pulumi";
95
+ * import * as harness from "@pulumi/harness";
96
+ *
97
+ * const readme = harness.platform.getIdpScorecardCheck({
98
+ * identifier: "readme_exists",
99
+ * });
100
+ * ```
101
+ */
102
+ export declare function getIdpScorecardCheckOutput(args: GetIdpScorecardCheckOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetIdpScorecardCheckResult>;
103
+ /**
104
+ * A collection of arguments for invoking getIdpScorecardCheck.
105
+ */
106
+ export interface GetIdpScorecardCheckOutputArgs {
107
+ /**
108
+ * Unique identifier of the resource.
109
+ */
110
+ identifier: pulumi.Input<string>;
111
+ }
112
+ //# sourceMappingURL=getIdpScorecardCheck.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getIdpScorecardCheck.d.ts","sourceRoot":"","sources":["../../platform/getIdpScorecardCheck.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAC;AAG3C;;;;;;;;;;;;;GAaG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,wBAAwB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,0BAA0B,CAAC,CAKrI;AAED;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACrC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACtB;AAED;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACvC;;OAEG;IACH,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;IACzB;;OAEG;IACH,QAAQ,CAAC,gBAAgB,EAAE,MAAM,CAAC;IAClC;;OAEG;IACH,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B;;OAEG;IACH,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B;;OAEG;IACH,QAAQ,CAAC,cAAc,EAAE,OAAO,CAAC;IACjC;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B;;OAEG;IACH,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC;IACjC;;OAEG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC,QAAQ,CAAC,wBAAwB,EAAE,CAAC;IAC5D;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,CAAC;CAC3B;AACD;;;;;;;;;;;;;GAaG;AACH,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,8BAA8B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,0BAA0B,CAAC,CAK7J;AAED;;GAEG;AACH,MAAM,WAAW,8BAA8B;IAC3C;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACpC"}
@@ -0,0 +1,73 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.getIdpScorecardCheckOutput = exports.getIdpScorecardCheck = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("../utilities"));
31
+ /**
32
+ * Data source for retrieving an IDP scorecard check.
33
+ *
34
+ * ## Example Usage
35
+ *
36
+ * ```typescript
37
+ * import * as pulumi from "@pulumi/pulumi";
38
+ * import * as harness from "@pulumi/harness";
39
+ *
40
+ * const readme = harness.platform.getIdpScorecardCheck({
41
+ * identifier: "readme_exists",
42
+ * });
43
+ * ```
44
+ */
45
+ function getIdpScorecardCheck(args, opts) {
46
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
47
+ return pulumi.runtime.invoke("harness:platform/getIdpScorecardCheck:getIdpScorecardCheck", {
48
+ "identifier": args.identifier,
49
+ }, opts);
50
+ }
51
+ exports.getIdpScorecardCheck = getIdpScorecardCheck;
52
+ /**
53
+ * Data source for retrieving an IDP scorecard check.
54
+ *
55
+ * ## Example Usage
56
+ *
57
+ * ```typescript
58
+ * import * as pulumi from "@pulumi/pulumi";
59
+ * import * as harness from "@pulumi/harness";
60
+ *
61
+ * const readme = harness.platform.getIdpScorecardCheck({
62
+ * identifier: "readme_exists",
63
+ * });
64
+ * ```
65
+ */
66
+ function getIdpScorecardCheckOutput(args, opts) {
67
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
68
+ return pulumi.runtime.invokeOutput("harness:platform/getIdpScorecardCheck:getIdpScorecardCheck", {
69
+ "identifier": args.identifier,
70
+ }, opts);
71
+ }
72
+ exports.getIdpScorecardCheckOutput = getIdpScorecardCheckOutput;
73
+ //# sourceMappingURL=getIdpScorecardCheck.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getIdpScorecardCheck.js","sourceRoot":"","sources":["../../platform/getIdpScorecardCheck.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,wDAA0C;AAE1C;;;;;;;;;;;;;GAaG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAC5F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4DAA4D,EAAE;QACvF,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,oDAKC;AAyED;;;;;;;;;;;;;GAaG;AACH,SAAgB,0BAA0B,CAAC,IAAoC,EAAE,IAAiC;IAC9G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,4DAA4D,EAAE;QAC7F,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,gEAKC"}
@@ -0,0 +1,124 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * Resource for managing IDP plugin configurations.
6
+ *
7
+ * ## Import
8
+ *
9
+ * The `pulumi import` command can be used, for example:
10
+ *
11
+ * Import an IDP plugin by its identifier
12
+ *
13
+ * ```sh
14
+ * $ pulumi import harness:platform/idpPlugin:IdpPlugin example <plugin_identifier>
15
+ * ```
16
+ */
17
+ export declare class IdpPlugin extends pulumi.CustomResource {
18
+ /**
19
+ * Get an existing IdpPlugin resource's state with the given name, ID, and optional extra
20
+ * properties used to qualify the lookup.
21
+ *
22
+ * @param name The _unique_ name of the resulting resource.
23
+ * @param id The _unique_ provider ID of the resource to lookup.
24
+ * @param state Any extra arguments used during the lookup.
25
+ * @param opts Optional settings to control the behavior of the CustomResource.
26
+ */
27
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: IdpPluginState, opts?: pulumi.CustomResourceOptions): IdpPlugin;
28
+ /**
29
+ * Returns true if the given object is an instance of IdpPlugin. This is designed to work even
30
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
31
+ */
32
+ static isInstance(obj: any): obj is IdpPlugin;
33
+ /**
34
+ * Backstage YAML configuration for the plugin.
35
+ */
36
+ readonly configs: pulumi.Output<string>;
37
+ /**
38
+ * Whether the plugin should be enabled. Defaults to true.
39
+ */
40
+ readonly enabled: pulumi.Output<boolean | undefined>;
41
+ /**
42
+ * Secret environment variables injected into the plugin runtime.
43
+ */
44
+ readonly envVariables: pulumi.Output<outputs.platform.IdpPluginEnvVariable[]>;
45
+ /**
46
+ * Unique identifier of the plugin.
47
+ */
48
+ readonly identifier: pulumi.Output<string>;
49
+ /**
50
+ * Display name of the plugin configuration.
51
+ */
52
+ readonly name: pulumi.Output<string>;
53
+ /**
54
+ * Delegate-based proxy configuration for outbound HTTP calls.
55
+ */
56
+ readonly proxies: pulumi.Output<outputs.platform.IdpPluginProxy[]>;
57
+ /**
58
+ * Create a IdpPlugin resource with the given unique name, arguments, and options.
59
+ *
60
+ * @param name The _unique_ name of the resource.
61
+ * @param args The arguments to use to populate this resource's properties.
62
+ * @param opts A bag of options that control this resource's behavior.
63
+ */
64
+ constructor(name: string, args: IdpPluginArgs, opts?: pulumi.CustomResourceOptions);
65
+ }
66
+ /**
67
+ * Input properties used for looking up and filtering IdpPlugin resources.
68
+ */
69
+ export interface IdpPluginState {
70
+ /**
71
+ * Backstage YAML configuration for the plugin.
72
+ */
73
+ configs?: pulumi.Input<string | undefined>;
74
+ /**
75
+ * Whether the plugin should be enabled. Defaults to true.
76
+ */
77
+ enabled?: pulumi.Input<boolean | undefined>;
78
+ /**
79
+ * Secret environment variables injected into the plugin runtime.
80
+ */
81
+ envVariables?: pulumi.Input<pulumi.Input<inputs.platform.IdpPluginEnvVariable>[] | undefined>;
82
+ /**
83
+ * Unique identifier of the plugin.
84
+ */
85
+ identifier?: pulumi.Input<string | undefined>;
86
+ /**
87
+ * Display name of the plugin configuration.
88
+ */
89
+ name?: pulumi.Input<string | undefined>;
90
+ /**
91
+ * Delegate-based proxy configuration for outbound HTTP calls.
92
+ */
93
+ proxies?: pulumi.Input<pulumi.Input<inputs.platform.IdpPluginProxy>[] | undefined>;
94
+ }
95
+ /**
96
+ * The set of arguments for constructing a IdpPlugin resource.
97
+ */
98
+ export interface IdpPluginArgs {
99
+ /**
100
+ * Backstage YAML configuration for the plugin.
101
+ */
102
+ configs: pulumi.Input<string>;
103
+ /**
104
+ * Whether the plugin should be enabled. Defaults to true.
105
+ */
106
+ enabled?: pulumi.Input<boolean | undefined>;
107
+ /**
108
+ * Secret environment variables injected into the plugin runtime.
109
+ */
110
+ envVariables?: pulumi.Input<pulumi.Input<inputs.platform.IdpPluginEnvVariable>[] | undefined>;
111
+ /**
112
+ * Unique identifier of the plugin.
113
+ */
114
+ identifier: pulumi.Input<string>;
115
+ /**
116
+ * Display name of the plugin configuration.
117
+ */
118
+ name?: pulumi.Input<string | undefined>;
119
+ /**
120
+ * Delegate-based proxy configuration for outbound HTTP calls.
121
+ */
122
+ proxies?: pulumi.Input<pulumi.Input<inputs.platform.IdpPluginProxy>[] | undefined>;
123
+ }
124
+ //# sourceMappingURL=idpPlugin.d.ts.map