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

Supplement tags #1381

Draft
wants to merge 14 commits into
base: main
Choose a base branch
from
Draft

Supplement tags #1381

wants to merge 14 commits into from

Conversation

GavMason
Copy link

@GavMason GavMason commented May 8, 2023

In order to allow for functionality to extract and overwrite tags in HDF or Inspec Profile JSON files, supplement tags read and write commands were added.

Resolves #1293

  • Add read command functionality
  • Add write command functionality
  • Add -c flag to target specific control id's
  • Add extend command functionality

Amndeep7 and others added 7 commits May 1, 2023 14:41
…dited

Signed-off-by: Amndeep Singh Mann <amann@mitre.org>
Signed-off-by: Gavin Mason <75515923+GavMason@users.noreply.github.com>
Signed-off-by: Amndeep Singh Mann <amann@mitre.org>
Signed-off-by: Gavin Mason <75515923+GavMason@users.noreply.github.com>
…d fixed descriptions

Signed-off-by: Gavin Mason <75515923+GavMason@users.noreply.github.com>
Signed-off-by: Gavin Mason <75515923+GavMason@users.noreply.github.com>
Signed-off-by: Gavin Mason <75515923+GavMason@users.noreply.github.com>
@GavMason GavMason requested a review from Amndeep7 May 8, 2023 20:22
@GavMason GavMason added the enhancement New feature or request label May 8, 2023
@Amndeep7 Amndeep7 marked this pull request as draft May 9, 2023 16:11
src/commands/supplement/tags/write.ts Outdated Show resolved Hide resolved
src/commands/supplement/tags/write.ts Outdated Show resolved Hide resolved
src/commands/supplement/tags/write.ts Outdated Show resolved Hide resolved
src/commands/supplement/tags/write.ts Outdated Show resolved Hide resolved
src/commands/supplement/tags/write.ts Outdated Show resolved Hide resolved
Signed-off-by: Gavin Mason <75515923+GavMason@users.noreply.github.com>
Signed-off-by: Gavin Mason <75515923+GavMason@users.noreply.github.com>
Signed-off-by: Gavin Mason <75515923+GavMason@users.noreply.github.com>
@GavMason GavMason requested a review from Amndeep7 May 10, 2023 13:43
Signed-off-by: Gavin Mason <75515923+GavMason@users.noreply.github.com>
Signed-off-by: Gavin Mason <75515923+GavMason@users.noreply.github.com>
Signed-off-by: Gavin Mason <75515923+GavMason@users.noreply.github.com>
Signed-off-by: Gavin Mason <75515923+GavMason@users.noreply.github.com>
@sonarcloud
Copy link

sonarcloud bot commented May 12, 2023

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 6 Code Smells

No Coverage information No Coverage information
26.5% 26.5% Duplication

@GavMason GavMason changed the title Supplement tags. Supplement tags May 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

add "saf supplement tag" command
2 participants