Yandex Cloud
Search
Discuss with expertTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
  • Marketplace
    • Featured
    • Infrastructure & Network
    • Data Platform
    • AI for business
    • Security
    • DevOps tools
    • Serverless
    • Monitoring & Resources
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 2026 Direct Cursus Technology L.L.C.
Terraform in Yandex Cloud
  • Getting started
  • Setting up Yandex Cloud Terraform provider authentication
  • Solution library
    • Overview
    • Release notes
          • cloudregistry_folder
          • cloudregistry_folder_iam_binding
          • cloudregistry_lifecycle_policy
          • cloudregistry_registry
          • cloudregistry_registry_iam_binding
          • cloudregistry_registry_ip_permission
          • cloudregistry_scan_policy
  1. Terraform reference
  2. Resources
  3. Cloud Registry
  4. Resources
  5. cloudregistry_scan_policy

yandex_cloudregistry_scan_policy (Resource)

Written by
Yandex Cloud
Updated at July 20, 2026
View in Markdown

Arguments & Attributes ReferenceArguments & Attributes Reference

  • created_at (Read-Only) (String). Output only. Creation timestamp.
  • description (String). Description of the scan policy.
    The maximum string length in characters is 256.
  • disabled (Bool). Turns off scan policy.
  • id (String). ID of the scan policy.
  • name (String). Name of the scan policy.
  • registry_id (Required)(String). ID of the registry that the scan policy belongs to.
    Required. The maximum string length in characters is 50.
  • rules [Block]. The rules of scan policy.
    • push_rule [Block]. Description of on-push scan rule.
      • disabled (Bool). Turns off scan rule.
      • paths (List Of String). List of paths that are scanned with rule. Child paths are included into parent node. "*" - means all artifacts in registry
    • schedule_rules [Block]. Description of time based rescan rule.
      • amount (Number). Amount of time units for the scan interval.
      • disabled (Bool). Turns off scan rule.
      • interval_unit (String). Unit for the scan interval.
      • paths (List Of String). List of paths that are scanned with rule. Child paths are included into parent node. "*" - means all artifacts in registry
  • scan_lang_packages (Bool). Flag indicating whether language packages should be scanned.
  • scan_policy_id (String). ID of the scan policy.
  • scan_policy_options [Block]. Scan policy options.
    • scan_lang_packages (Read-Only) (Bool). Flag indicating whether language packages should be scanned.
  • timeouts [Block].
    • create (String). A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    • delete (String). A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    • read (String). A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    • update (String). A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

Was the article helpful?

Previous
cloudregistry_registry_ip_permission
Next
compute_disk
© 2026 Direct Cursus Technology L.L.C.