Tech @ Sars.TW

Clair

Clair

  • Jul 24, 2019
  • POSTS
Clair 是一套針對容器 (Container) 進行弱點掃描靜態分析的開源工具,由 CoreOS 提供。 建立需要的目錄 mkdir -p clair-data/clair-config Clair 所需設定檔(參考 https://raw.githubusercontent.com/coreos/clair/master/config.yaml.sample 進行修改),放在 clair-data/clair-config 目錄內,檔名 config.yml clair: database: type: pgsql options: source: host=postgres port=5432 user=clair sslmode=disable statement_timeout=60000 cachesize: 16384 api: addr: "0.0.0.0:6060" healthaddr: "0.0.0.0:6061" timeout: 900s updater: interval: 2h enabledupdaters: - debian - ubuntu - rhel - oracle - alpine - suse docker-compose.yaml 檔案: version: '2.1' services: postgres: image: postgres:9.6 restart: unless-stopped volumes: - ./clair-data/postgres-data/:/var/lib/postgresql/data:rw environment: - POSTGRES_PASSWORD= - POSTGRES_USER=clair - POSTGRES_DB=clair clair: image: quay.
LATESTS
2022年09月筆記
  • Sep 4, 2022
  • WEEKLY
2022年08月筆記
  • Aug 31, 2022
  • WEEKLY
2021 07 17
  • Jul 17, 2021
  • WEEKLY
Jamf 200 Certified Tech
  • Jul 12, 2021
  • POSTS
2021 07 10
  • Jul 10, 2021
  • WEEKLY
2021 07 03
  • Jun 27, 2021
  • WEEKLY
2021 06 26
  • Jun 25, 2021
  • WEEKLY
2021 06 19
  • Jun 19, 2021
  • WEEKLY
2021 05 29
  • May 29, 2021
  • WEEKLY
2021 05 22
  • May 22, 2021
  • WEEKLY
TAGS
  • weekly (126)
  • blockchain (3)
  • gcp (3)
  • ci/cd (2)
  • devops (2)
  • gce (2)
  • gitlab (2)
  • jamf (2)
  • antifragile (1)
  • bcp (1)

© Tech @ Sars.TW

Powered by Hugo.

Robust designed by Daisuke Tsuji.