Launch Week Day 2: Introducing Reports: An Extensible Reporting Framework for Socket Data.Learn More
Socket
Book a DemoSign in
Socket

classification-manager

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

classification-manager

Library for working with document classifications, based on DoD Guidelines

latest
npmnpm
Version
1.0.10
Version published
Weekly downloads
12
20%
Maintainers
1
Weekly downloads
 
Created
Source

Steve the Dev's Classification Manager

Build Status Build status Codacy Badge Known Vulnerabilities Coverage Status

JavaScript library for managing DoD Classifications. This library uses the Department of Defense Manual 5200.01 Volume 1 and Executive Order 12958 Section 1.5 to manage and aggregate classifications.

npm install classification-manager

Trello Board

https://trello.com/b/vlPEyG99

Test

Run the Ava test suite to verify that the classification manager passes the test suites.

npm run test

Serialized Classification Schema

{
  "codewords": [ /* codewords as strings */ ],
  /* Declassification information */
  "declassification": {
    /* the date the classification was created. Default: new Date() */
    "created": "2018-01-01",
    /* A minimum declassification date, or "null" if none is declared */
    "date": null,
    /* The list of declassification exemptions */
    "exemptions": [ /* Declassification exemptions, such as "25X1" */ ]
  },
  /* Disseminiation controls */
  "dissemination": {
    /* Whether to apply DSEN to the classification. Default: false */
    "dsen": false,
    /* Whether to apply FOUO to the classification. Default: false */
    "fouo": false,
    /* Whether to apply IMCON to the classification. Default: false */
    "imcon": false,
    /* Whether to apply NOFORN to the classification. Default: false */
    "noforn": false,
    /* Whether to apply ORCON to the classification. Default: false */
    "orcon": false,
    /* Whether to apply PROPIN to the classification. Default: false */
    "propin": false,
    /* Whether to apply RELIDO to the classification. Default: false */
    "relido": false,
    /* Whether to apply RSEN to the classification. Default: false */
    "rsen": false,
    /* The list of EYES ONLY nations and organizations */
    "eyes": [ /* trigraphs and tetragraphs */ ],
    /* The list of REL TO nations and organizations */
    "rel": [ /* trigraphs and tetragraphs */ ]
  },
  /* Foreign government intelligence */
  "fgi": [
    /* The classification level (number) and owner (trigraph or tetragraph) */
    { "level": 1, "owner": "CAN" }
  ],
  /* The basic classification level. Default: 0 (UNCLASSIFIED) */
  "level": 0,
  /* Non-Intelligence Community Markings */
  "nonic": [ /* Array of strings */ ],
  /* The reasons for classification, according to the most recent EO guidance */
  "reasons": [ /* Array of strings */ ],
  /* The classification sources and authors */
  "sources": [
    /* Source name (string) and authors (string[]) */
    { "name": "Source", "authors": [ "Person A", "Person B" ] }
  ]
}

FAQs

Package last updated on 16 Oct 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts