Yandex Cloud
Документация
ПрезентацияСвязаться с намиНачать бесплатно
Создавайте контент и получайте гранты!Готовы написать своё руководство? Участвуйте в контент-программе и получайте гранты на работу с облачными сервисами!
Подробнее о программе
Проект Яндекса
© 2026 ТОО «Облачные Сервисы Казахстан»
Terraform в Yandex Cloud
  • Начало работы
  • Настройка аутентификации Terraform-провайдера Yandex Cloud
  • Вопросы и ответы
  • Библиотека решений
    • Обзор
    • История изменений (англ.)
          • cloudregistry_folder
          • cloudregistry_lifecycle_policy
          • cloudregistry_registry
          • cloudregistry_registry_ip_permission
          • cloudregistry_scan_policy
  1. Справочник Terraform
  2. Ресурсы (англ.)
  3. Cloud Registry
  4. Data Sources
  5. cloudregistry_scan_policy

yandex_cloudregistry_scan_policy (DataSource)

Статья создана
Yandex Cloud
Обновлена 23 сентября 2026 г.
Открыть в Markdown

Arguments & Attributes ReferenceArguments & Attributes Reference

  • created_at (Read-Only) (String). Output only. Creation timestamp.
  • description (Read-Only) (String). Description of the scan policy.
    The maximum string length in characters is 256.
  • disabled (Read-Only) (Bool). Turns off scan policy.
  • id (String). ID of the scan policy.
  • name (Read-Only) (String). Name of the scan policy.
  • registry_id (Read-Only) (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 (Read-Only) (Bool). Turns off scan rule.
      • paths (Read-Only) (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 (Read-Only) (Number). Amount of time units for the scan interval.
      • disabled (Read-Only) (Bool). Turns off scan rule.
      • interval_unit (Read-Only) (String). Unit for the scan interval.
      • paths (Read-Only) (List Of String). List of paths that are scanned with rule. Child paths are included into parent node. "*" - means all artifacts in registry
  • 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).

Была ли статья полезна?

Предыдущая
cloudregistry_registry_ip_permission
Следующая
cloudregistry_folder
Создавайте контент и получайте гранты!Готовы написать своё руководство? Участвуйте в контент-программе и получайте гранты на работу с облачными сервисами!
Подробнее о программе
Проект Яндекса
© 2026 ТОО «Облачные Сервисы Казахстан»