Skip to content

Releases: bryanlatten/docker-image-policy

Minor cleanup: Node v12, Airbnb-base eslint

01 Jun 21:36
a3899e6
Compare
Choose a tag to compare

Changed:

  • No new features

Under the hood:

  • Now runs on Node v12 (LTS)
  • Using airbnb-base eslint configuration
  • Refreshed packages

Version: removed defunct console message

23 Oct 19:13
Compare
Choose a tag to compare
0.5.6

Index: removed defunct hardcoded version

Dockerfile: layer compression

23 Oct 15:16
650b8e1
Compare
Choose a tag to compare

Changes:

  • Dockerfile: compressed layers into 1 for speed
  • Freshened NPM packages from security audit

Security: updated vulnerable libraries

12 Apr 14:43
b874a5f
Compare
Choose a tag to compare
Merge pull request #26 from bryanlatten/npm-audit

Package: npm security audit

Index: safety loading passed policy file

13 Mar 21:01
21ab156
Compare
Choose a tag to compare

Has been manually tested for:

  • bad files
  • unreadable files
  • directories.

Further improvement: add dgoss testing to travis for automated validation

Dockerfile: using node 9, npm shrinkwrap

31 Jan 19:59
f47ca06
Compare
Choose a tag to compare

Changed:

Updated node version
Using new npm shrinkwrap instead of package lock

Default Policy: disallowing MSI explicit identity and agent fill

25 Jan 22:21
addc2e5
Compare
Choose a tag to compare

Changed:

  • com.swipely.iam-docker.msi-explicit-identity is disallowed as a label in default policy
  • AGENT_FILL is disallowed as an environment variable and label in default policy

Node: upgraded to 8.X engine

22 Jul 23:09
Compare
Choose a tag to compare

Changes:

  • Node engine updated to 8.X, unlocked minor and patch versions

Layer Count: gate the number of FS layers

01 May 15:56
Compare
Choose a tag to compare

New:

  • Use layers max, layers warning to enforce the number of filesystem layers a container may have

Updated:

  • Port range default policy updated to max out at actual max port number

Flags: allow max, warning, port range, labels, and envs specified from CLI

23 Mar 21:34
Compare
Choose a tag to compare

 Checks a Docker image's properties against a policy

 Options:

   -h, --help             output usage information
   -V, --version          output the version number
   -p, --policy <file>    image policy, defaults to ./default_policy.conf
   -i, --inspect          docker inspect output (may also be specified as stdin)
   -m, --max <size>       image size max, in MB
   -w, --warning <size>   image size warning, in MB
   -l, --labels <labels>  add disallowed labels, comma-separated
   -e, --envs <keys>      add disallowed env keys, comma-separated
   -r, --range <ports>    low-high ports that are allowed```