No commit activity in last 3 years
No release in over 3 years
A client for image_inspector REST API
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.6
~> 12.0
~> 0.49.1
~> 3.0.1

Runtime

 Project Readme

image-inspector-client

a ruby client for image-inspector

installing gem

gem install image-inspector-client

usage

require 'image-inspector-client'
ImageInspectorClient::Client.new('http://localhost:8080', 'v1')
  .fetch_metadata
  .ContainerConfig
  .Cmd


Get OpenSCAP ARF as raw xml:
ImageInspectorClient::Client.new('http://localhost:8080', 'v1')
  .fetch_oscap_arf

building from source

fetch dependencies:

bundle install

tests:

rake test

tests and style check:

rake test rubocop

build and install into $GEM_HOME:

rake install