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

feat: pass filename to parsers as sourceRef #91

Merged
merged 2 commits into from
Feb 16, 2024
Merged

Conversation

csmig
Copy link
Member

@csmig csmig commented Feb 16, 2024

This PR adds support for the sourceRef property which was recently added to the options object accepted by the parse functions in stig-manager-client-modules

  • passes the current filename to the parse functions as the option sourceRef
  • removes the post-parse assignment to parseResult.file
  • updates package.json to pull stig-manager-client-modules from the HEAD of https://github.com/NUWCDIVNPT/stig-manager-client-modules
  • updates package-lock.json with the current versions of dependencies

Copy link

Quality Gate Passed Quality Gate passed for 'NUWCDIVNPT_stigman-watcher'

Issues
0 New issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

@csmig csmig merged commit 00f497f into main Feb 16, 2024
2 checks passed
@csmig csmig deleted the sourceref-support branch February 16, 2024 15:37
csmig added a commit to csmig/stigman-watcher that referenced this pull request Mar 4, 2024
commit f08e187
Author: csmig <[email protected]>
Date:   Thu Feb 29 18:58:21 2024 +0000

    chore: remove/update dependencies (NUWCDIVNPT#97)

commit a70d38a
Author: csmig <[email protected]>
Date:   Thu Feb 22 19:41:45 2024 +0000

    feat: in scan mode, migrate addToHistory() calls to the queue handlers (NUWCDIVNPT#93)

    Co-authored-by: matte22 <[email protected]>

commit d007792
Author: Mathew <[email protected]>
Date:   Thu Feb 22 13:28:34 2024 -0500

    test: Create Workflow for unit testing.  (NUWCDIVNPT#92)

commit e398da9
Author: Mathew <[email protected]>
Date:   Mon Feb 19 17:57:22 2024 -0500

    feat: scan mode history management (NUWCDIVNPT#90)

commit 00f497f
Author: csmig <[email protected]>
Date:   Fri Feb 16 15:37:43 2024 +0000

    feat: pass filename to parsers as sourceRef  (NUWCDIVNPT#91)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant