# Generated from emass_client-1.0.3.gem by gem2rpm -*- rpm-spec -*-
%global gem_name emass_client
Name: rubygem-%{gem_name}
Version: 1.0.3
Release: 1%{?dist}
Summary: Enterprise Mission Assurance Support Service (eMASS) Ruby Gem
License: Unlicense
URL: https://github.com/swagger-api/swagger-codegen
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
BuildRequires: ruby(release)
BuildRequires: rubygems-devel
BuildRequires: ruby >= 1.9
# BuildRequires: rubygem(rspec) >= 3.6
# BuildRequires: rubygem(rspec) < 4
# BuildRequires: rubygem(rspec) >= 3.6.0
BuildArch: noarch
%description
The Enterprise Mission Assurance Support Service (eMASS) Representational
State Transfer (REST) Application Programming Interface (API) enables users to
perform assessments and complete actions associated with system records. The
`emasser` is a command-line interface (CLI) tool that implements all of the
eMASS endpoints defined in the eMASS REST API v3.2, dated October 21,
2021.
Register CLI New users will need to
register an API key with the eMASS development team prior to accessing the
site for the first time. The eMASS REST API requires a client certificate
(SSL/TLS, DoD PKI only) where {url}/api/register (POST) is used to register
the client certificate. Every call to the eMASS REST API will
require the use of the agreed upon public key certificate and API key. The API
key must be provided in the request header for all endpoint calls (api-key).
If the service receives an untrusted certificate or API key, a 401 error
response code will be returned along with an error message.
Available Request Headers:
key | Example Value | Description |
---|---|---|
`api-key` | api-key-provided-by-emass | This API key must be provided in the request header for all endpoint calls |
`user-uid` | USER.UID.KEY | This User unique identifier key must be provided in the request header for all PUT, POST, and DELETE endpoint calls |
Note: For DoD users this is the DoD ID Number (EIDIPI) on their DoD CAC |