Software Inventory YANG module based on Software Identifiers
draft-birkholz-yang-swid-02

Document Type Active Internet-Draft (individual)
Last updated 2018-10-23
Stream (None)
Intended RFC status (None)
Formats plain text xml pdf html bibtex
Stream Stream state (No stream defined)
Consensus Boilerplate Unknown
RFC Editor Note (None)
IESG IESG state I-D Exists
Telechat date
Responsible AD (None)
Send notices to (None)
NETCONF Working Group                                        H. Birkholz
Internet-Draft                                            Fraunhofer SIT
Intended status: Standards Track                        October 23, 2018
Expires: April 26, 2019

      Software Inventory YANG module based on Software Identifiers
                      draft-birkholz-yang-swid-02

Abstract

   This document provides a YANG module definition that enables a
   computing context to provide detailed information about installed
   software components.  The structure of the module is based on the
   Concise Software Identifier draft and therefore also strongly related
   to the ISO 19770-2:2015 Software Identifiers standard.  Both
   standards provide no interface to transport the SWID tag information
   between system entities and this document leverages the wide adoption
   of YANG based management interfaces.

Status of This Memo

   This Internet-Draft is submitted in full conformance with the
   provisions of BCP 78 and BCP 79.

   Internet-Drafts are working documents of the Internet Engineering
   Task Force (IETF).  Note that other groups may also distribute
   working documents as Internet-Drafts.  The list of current Internet-
   Drafts is at https://datatracker.ietf.org/drafts/current/.

   Internet-Drafts are draft documents valid for a maximum of six months
   and may be updated, replaced, or obsoleted by other documents at any
   time.  It is inappropriate to use Internet-Drafts as reference
   material or to cite them other than as "work in progress."

   This Internet-Draft will expire on April 26, 2019.

Copyright Notice

   Copyright (c) 2018 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

   This document is subject to BCP 78 and the IETF Trust's Legal
   Provisions Relating to IETF Documents
   (https://trustee.ietf.org/license-info) in effect on the date of
   publication of this document.  Please review these documents
   carefully, as they describe your rights and restrictions with respect
   to this document.  Code Components extracted from this document must

Birkholz                 Expires April 26, 2019                 [Page 1]
Internet-Draft                  YANG SWID                   October 2018

   include Simplified BSD License text as described in Section 4.e of
   the Trust Legal Provisions and are provided without warranty as
   described in the Simplified BSD License.

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   2
   2.  YANG SWID module  . . . . . . . . . . . . . . . . . . . . . .   2
   3.  IANA considerations . . . . . . . . . . . . . . . . . . . . .   6
   4.  Security Considerations . . . . . . . . . . . . . . . . . . .   6
   5.  Acknowledgements  . . . . . . . . . . . . . . . . . . . . . .   6
   6.  Change Log  . . . . . . . . . . . . . . . . . . . . . . . . .   6
   7.  Normative References  . . . . . . . . . . . . . . . . . . . .   6
   Appendix A.  Detailed YANG SWID module  . . . . . . . . . . . . .   6
   Author's Address  . . . . . . . . . . . . . . . . . . . . . . . .  22

1.  Introduction

   Software Identification Tags (SWID tags [SWID]) or their binary
   equivalent - the CoSWID tags [I-D.ietf-sacm-coswid] - provide a
   versatile document standard that can be installed in conjunction with
   a software component on a system entity.  There is no standard
   interface to access, export, or transfer these tag document between
   system entities.  The following YANG module enables full, fine-
   grained access to every attribute and metadata defined in the SWID
   standards via a YANG-based management interface.  In addition, access
   to all SWID documents - encoded in XML or CBOR - is enabled by
   corresponding SWID inventory statement.  Changes to the SWID
   inventory can be emitted via SWID-Updates YANG notifications.

2.  YANG SWID module

   Every node defined is read-only, as there is no installation or
   deployment capability associated with tag information.  The
   descriptions of each attribute are derived from the SWID XML schema
   definition provided by ISO:

   http://standards.iso.org/iso/19770/-2/2015-current/schema.xsd

   The definitions were adapted and modified if appropriate.

   The following summary illustrates the module in tree format.  The
   complete YANG module can be found in Appendix A.

   <CODE BEGINS>
   module: yang-software-identity
       +--ro (swid-inventory-type)
          +--:(native)

Birkholz                 Expires April 26, 2019                 [Page 2]
Internet-Draft                  YANG SWID                   October 2018

          |  +--ro (representation-type)?
          |     +--:(isoswid)
          |     |  +--ro iso-software-identities*       anydata
          |     +--:(coswid)
          |        +--ro cbor-software-identities*      anydata
          +--:(yang-modeled)
             +--ro concise-software-identities*
                +--ro concise-software-identity
Show full document text