Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

eMASS V3.9 Specification Updates #1426

Merged
merged 10 commits into from
May 30, 2023
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
"bugs": "https://github.com/mitre/saf/issues",
"dependencies": {
"@aws-sdk/client-config-service": "^3.53.0",
"@mitre/emass_client": "^3.4.1",
"@mitre/hdf-converters": "^2.6.43",
"@mitre/heimdall-lite": "^2.6.45",
"@mitre/emass_client": "^3",
"@mitre/hdf-converters": "^2.6.49",
"@mitre/heimdall-lite": "^2.6.49",
"@mitre/inspec-objects": "^1.0.0",
"@oclif/core": "^2.0.6",
"@oclif/plugin-help": "^5",
Expand Down
2 changes: 1 addition & 1 deletion src/commands/emasser/delete/artifacts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {outputError} from '../../../utils/emasser/outputError'
import {FlagOptions, getFlagsForEndpoint} from '../../../utils/emasser/utilities'

export default class EmasserDeleteArtifacts extends Command {
static usage = '<%= command.id %> [ARGUMENTS]';
static usage = '<%= command.id %> [options]';

static description = 'Remove one or many artifacts in a system identified by system Id';

Expand Down
2 changes: 1 addition & 1 deletion src/commands/emasser/delete/milestones.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {outputError} from '../../../utils/emasser/outputError'
import {FlagOptions, getFlagsForEndpoint} from '../../../utils/emasser/utilities'

export default class EmasserDeleteMilestones extends Command {
static usage = '<%= command.id %> [ARGUMENTS]';
static usage = '<%= command.id %> [options]';

static description = 'Remove milestones in a system for one or many POA&M items identified by system, poam, and milestone Id';

Expand Down
2 changes: 1 addition & 1 deletion src/commands/emasser/delete/poams.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {outputError} from '../../../utils/emasser/outputError'
import {FlagOptions, getFlagsForEndpoint} from '../../../utils/emasser/utilities'

export default class EmasserDeletePoams extends Command {
static usage = '<%= command.id %> [ARGUMENTS]';
static usage = '<%= command.id %> [options]';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the difference between ARGUMENTS and options?

Copy link
Contributor Author

@georgedias georgedias May 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

options are actually the FLAGS, I contemplated what to put there.
Should we use [flag options] or [FLAG options] or simply [flags] or just [FLAGS] - what do you think?


static description = 'Remove one or many POA&M items in a system identified by system and poam Id';

Expand Down
2 changes: 1 addition & 1 deletion src/commands/emasser/get/artifacts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {FlagOptions,
const endpoint = 'artifacts'

export default class EmasserGetArtifacts extends Command {
static usage = '<%= command.id %> [ARGUMENTS]';
static usage = '<%= command.id %> [ARGUMENT] \n \x1B[93m NOTE: see EXAMPLES for argument case format\x1B[0m';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Which command makes this show up?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bin/run emasser get artifacts -h or --help


static description = getDescriptionForEndpoint(process.argv, endpoint);

Expand Down
2 changes: 1 addition & 1 deletion src/commands/emasser/get/cac.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {outputError} from '../../../utils/emasser/outputError'
import {FlagOptions, getFlagsForEndpoint} from '../../../utils/emasser/utilities'

export default class EmasserGetCac extends Command {
static usage = '<%= command.id %> [ARGUMENTS]'
static usage = '<%= command.id %> [options]'

static description = 'View one or many Control Approval Chain (CAC) in a system specified system ID'

Expand Down
2 changes: 1 addition & 1 deletion src/commands/emasser/get/cmmc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {outputError} from '../../../utils/emasser/outputError'
import {FlagOptions, getFlagsForEndpoint} from '../../../utils/emasser/utilities'

export default class EmasserGetCmmc extends Command {
static usage = '<%= command.id %> [ARGUMENTS]'
static usage = '<%= command.id %> [options]'

static description = 'View Cybersecurity Maturity Model Certification (CMMC) Assessments'

Expand Down
Loading