{"name":"cosign","version":"0.2.3","description":"A Pulumi provider dynamically bridged from cosign.","attribution":"This Pulumi package is based on the [`cosign` Terraform Provider](https://github.com/chainguard-dev/terraform-provider-cosign).","repository":"https://github.com/chainguard-dev/terraform-provider-cosign","publisher":"chainguard-dev","meta":{"moduleFormat":"(.*)(?:/[^/]*)"},"language":{"csharp":{"compatibility":"tfbridge20","liftSingleValueMethodReturns":true,"respectSchemaVersion":true},"go":{"generateExtraInputTypes":true,"importBasePath":"github.com/pulumi/pulumi-terraform-provider/sdks/go/cosign/cosign","liftSingleValueMethodReturns":true,"respectSchemaVersion":true,"rootPackageName":"cosign"},"java":{"basePackage":"","buildFiles":"","gradleNexusPublishPluginVersion":"","gradleTest":""},"nodejs":{"compatibility":"tfbridge20","disableUnionOutputTypes":true,"liftSingleValueMethodReturns":true,"packageDescription":"A Pulumi provider dynamically bridged from cosign.","readme":"\u003e This provider is a derived work of the [Terraform Provider](https://github.com/chainguard-dev/terraform-provider-cosign)\n\u003e distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature,\n\u003e please consult the source [`terraform-provider-cosign` repo](https://github.com/chainguard-dev/terraform-provider-cosign/issues).","respectSchemaVersion":true},"python":{"compatibility":"tfbridge20","pyproject":{"enabled":true},"readme":"\u003e This provider is a derived work of the [Terraform Provider](https://github.com/chainguard-dev/terraform-provider-cosign)\n\u003e distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature,\n\u003e please consult the source [`terraform-provider-cosign` repo](https://github.com/chainguard-dev/terraform-provider-cosign/issues).","respectSchemaVersion":true}},"config":{"variables":{"defaultAttestationEntryType":{"type":"string","description":"Default Rekor entry type to use for attestations. Valid values are 'intoto' (default) or 'dsse'."}}},"types":{"cosign:index/AttestPredicate:AttestPredicate":{"properties":{"files":{"type":"array","items":{"$ref":"#/types/cosign:index%2FAttestPredicateFile:AttestPredicateFile"},"description":"The path and sha256 hex of the predicate to attest.\n"},"json":{"type":"string","description":"The JSON body of the in-toto predicate's claim.\n"},"type":{"type":"string","description":"The in-toto predicate type of the claim being attested.\n"}},"type":"object","required":["type"]},"cosign:index/AttestPredicateFile:AttestPredicateFile":{"properties":{"path":{"type":"string","description":"The path to a file containing the predicate to attest.\n"},"sha256":{"type":"string","description":"The sha256 hex hash of the predicate body.\n"}},"type":"object"}},"provider":{"description":"The provider type for the cosign package. By default, resources use package-wide configuration\nsettings, however an explicit `Provider` instance may be created and passed during resource\nconstruction to achieve fine-grained programmatic control over provider settings. See the\n[documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.\n","properties":{"defaultAttestationEntryType":{"type":"string","description":"Default Rekor entry type to use for attestations. Valid values are 'intoto' (default) or 'dsse'."}},"type":"object","inputProperties":{"defaultAttestationEntryType":{"type":"string","description":"Default Rekor entry type to use for attestations. Valid values are 'intoto' (default) or 'dsse'."}},"methods":{"terraformConfig":"pulumi:providers:cosign/terraformConfig"}},"resources":{"cosign:index/attest:Attest":{"description":"This attests the provided image digest with cosign.\n","properties":{"attestedRef":{"type":"string","description":"This always matches the input digest, but is a convenience for composition.\n"},"conflict":{"type":"string","description":"How to handle conflicting predicate values\n"},"fulcioUrl":{"type":"string","description":"Address of sigstore PKI server (default https://fulcio.sigstore.dev).\n"},"image":{"type":"string","description":"The digest of the container image to attest.\n"},"predicate":{"type":"string","description":"The JSON body of the in-toto predicate's claim.\n","deprecationMessage":"Deprecated"},"predicateFiles":{"type":"array","items":{"$ref":"#/types/cosign:index%2FAttestPredicateFile:AttestPredicateFile"},"description":"The path and sha256 hex of the predicate to attest.\n","deprecationMessage":"Deprecated"},"predicateType":{"type":"string","description":"The in-toto predicate type of the claim being attested.\n","deprecationMessage":"Deprecated"},"predicates":{"type":"array","items":{"$ref":"#/types/cosign:index%2FAttestPredicate:AttestPredicate"},"description":"The path and sha256 hex of the predicate to attest.\n"},"rekorUrl":{"type":"string","description":"Address of rekor transparency log server (default https://rekor.sigstore.dev).\n"}},"type":"object","required":["attestedRef","conflict","fulcioUrl","image","rekorUrl"],"inputProperties":{"conflict":{"type":"string","description":"How to handle conflicting predicate values\n"},"fulcioUrl":{"type":"string","description":"Address of sigstore PKI server (default https://fulcio.sigstore.dev).\n"},"image":{"type":"string","description":"The digest of the container image to attest.\n"},"predicate":{"type":"string","description":"The JSON body of the in-toto predicate's claim.\n","deprecationMessage":"Deprecated"},"predicateFiles":{"type":"array","items":{"$ref":"#/types/cosign:index%2FAttestPredicateFile:AttestPredicateFile"},"description":"The path and sha256 hex of the predicate to attest.\n","deprecationMessage":"Deprecated"},"predicateType":{"type":"string","description":"The in-toto predicate type of the claim being attested.\n","deprecationMessage":"Deprecated"},"predicates":{"type":"array","items":{"$ref":"#/types/cosign:index%2FAttestPredicate:AttestPredicate"},"description":"The path and sha256 hex of the predicate to attest.\n"},"rekorUrl":{"type":"string","description":"Address of rekor transparency log server (default https://rekor.sigstore.dev).\n"}},"requiredInputs":["image"],"stateInputs":{"description":"Input properties used for looking up and filtering Attest resources.\n","properties":{"attestedRef":{"type":"string","description":"This always matches the input digest, but is a convenience for composition.\n"},"conflict":{"type":"string","description":"How to handle conflicting predicate values\n"},"fulcioUrl":{"type":"string","description":"Address of sigstore PKI server (default https://fulcio.sigstore.dev).\n"},"image":{"type":"string","description":"The digest of the container image to attest.\n"},"predicate":{"type":"string","description":"The JSON body of the in-toto predicate's claim.\n","deprecationMessage":"Deprecated"},"predicateFiles":{"type":"array","items":{"$ref":"#/types/cosign:index%2FAttestPredicateFile:AttestPredicateFile"},"description":"The path and sha256 hex of the predicate to attest.\n","deprecationMessage":"Deprecated"},"predicateType":{"type":"string","description":"The in-toto predicate type of the claim being attested.\n","deprecationMessage":"Deprecated"},"predicates":{"type":"array","items":{"$ref":"#/types/cosign:index%2FAttestPredicate:AttestPredicate"},"description":"The path and sha256 hex of the predicate to attest.\n"},"rekorUrl":{"type":"string","description":"Address of rekor transparency log server (default https://rekor.sigstore.dev).\n"}},"type":"object"}},"cosign:index/copy:Copy":{"description":"This copies the provided image digest cosign copy.\n","properties":{"copiedRef":{"type":"string","description":"This always matches the input digest, but is a convenience for composition.\n"},"destination":{"type":"string","description":"The destination repository.\n"},"source":{"type":"string","description":"The digest of the container image to copy.\n"}},"type":"object","required":["copiedRef","destination","source"],"inputProperties":{"destination":{"type":"string","description":"The destination repository.\n"},"source":{"type":"string","description":"The digest of the container image to copy.\n"}},"requiredInputs":["destination","source"],"stateInputs":{"description":"Input properties used for looking up and filtering Copy resources.\n","properties":{"copiedRef":{"type":"string","description":"This always matches the input digest, but is a convenience for composition.\n"},"destination":{"type":"string","description":"The destination repository.\n"},"source":{"type":"string","description":"The digest of the container image to copy.\n"}},"type":"object"}},"cosign:index/sign:Sign":{"description":"This signs the provided image digest with cosign.\n","properties":{"conflict":{"type":"string","description":"How to handle conflicting signature values\n"},"fulcioUrl":{"type":"string","description":"Address of sigstore PKI server (default https://fulcio.sigstore.dev).\n"},"image":{"type":"string","description":"The digest of the container image to sign.\n"},"rekorUrl":{"type":"string","description":"Address of rekor transparency log server (default https://rekor.sigstore.dev).\n"},"signedRef":{"type":"string","description":"This always matches the input digest, but is a convenience for composition.\n"}},"type":"object","required":["conflict","fulcioUrl","image","rekorUrl","signedRef"],"inputProperties":{"conflict":{"type":"string","description":"How to handle conflicting signature values\n"},"fulcioUrl":{"type":"string","description":"Address of sigstore PKI server (default https://fulcio.sigstore.dev).\n"},"image":{"type":"string","description":"The digest of the container image to sign.\n"},"rekorUrl":{"type":"string","description":"Address of rekor transparency log server (default https://rekor.sigstore.dev).\n"}},"requiredInputs":["image"],"stateInputs":{"description":"Input properties used for looking up and filtering Sign resources.\n","properties":{"conflict":{"type":"string","description":"How to handle conflicting signature values\n"},"fulcioUrl":{"type":"string","description":"Address of sigstore PKI server (default https://fulcio.sigstore.dev).\n"},"image":{"type":"string","description":"The digest of the container image to sign.\n"},"rekorUrl":{"type":"string","description":"Address of rekor transparency log server (default https://rekor.sigstore.dev).\n"},"signedRef":{"type":"string","description":"This always matches the input digest, but is a convenience for composition.\n"}},"type":"object"}}},"functions":{"cosign:index/getVerify:getVerify":{"description":"This verifies the provided image against the specified policy.\n","inputs":{"description":"A collection of arguments for invoking getVerify.\n","properties":{"image":{"type":"string","description":"The image tag or digest of the container image to verify.\n"},"policy":{"type":"string","description":"The sigstore policy-controller policy to verify the image against.\n"}},"type":"object","required":["image","policy"]},"outputs":{"description":"A collection of values returned by getVerify.\n","properties":{"id":{"description":"This contains the digest of the image that was verified against the provided policy.\n","type":"string"},"image":{"description":"The image tag or digest of the container image to verify.\n","type":"string"},"policy":{"description":"The sigstore policy-controller policy to verify the image against.\n","type":"string"},"verifiedRef":{"description":"This contains the digest of the image that was verified against the provided policy.\n","type":"string"}},"required":["id","image","policy","verifiedRef"],"type":"object"}},"pulumi:providers:cosign/terraformConfig":{"description":"This function returns a Terraform config object with terraform-namecased keys,to be used with the Terraform Module Provider.","inputs":{"properties":{"__self__":{"$ref":"#/resources/pulumi:providers:cosign"}},"type":"object","required":["__self__"]},"outputs":{"properties":{"result":{"additionalProperties":{"$ref":"pulumi.json#/Any"},"type":"object"}},"required":["result"],"type":"object"}}},"parameterization":{"baseProvider":{"name":"terraform-provider","version":"1.0.1"},"parameter":"eyJyZW1vdGUiOnsidXJsIjoicmVnaXN0cnkub3BlbnRvZnUub3JnL2NoYWluZ3VhcmQtZGV2L2Nvc2lnbiIsInZlcnNpb24iOiIwLjIuMyJ9fQ=="}}