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(acs): add support for acs data source #251

Merged
merged 1 commit into from
Oct 17, 2023

Conversation

nicolearagao
Copy link
Member

@nicolearagao nicolearagao commented Oct 11, 2023

What's included

Support for new ACS scanner

How to test

Ensure the workflow for adding/editing and deleting (when applicable) acs credential/source and a scanner is working as expected.

Local run check

  1. update the NPM packages with $ yarn
  2. $ yarn build
  3. $ yarn run api:stage

Updates issue/story

https://issues.redhat.com/browse/DISCOVERY-350

Copy link
Member

@cdcabrera cdcabrera left a comment

Choose a reason for hiding this comment

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

@nicolearagao is there an intended update to API spec for ACS?

@nicolearagao
Copy link
Member Author

@nicolearagao is there an intended update to API spec for ACS?

@cdcabrera yes, we will add ACS as a new source.

@codecov-commenter
Copy link

codecov-commenter commented Oct 17, 2023

Codecov Report

Merging #251 (543f952) into main (ae03ebf) will decrease coverage by 0.01%.
The diff coverage is 83.33%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #251      +/-   ##
==========================================
- Coverage   84.19%   84.19%   -0.01%     
==========================================
  Files         116      116              
  Lines        3777     3783       +6     
  Branches     1341     1345       +4     
==========================================
+ Hits         3180     3185       +5     
- Misses        536      537       +1     
  Partials       61       61              
Files Coverage Δ
.../components/addCredentialType/addCredentialType.js 100.00% <100.00%> (ø)
...mponents/addSourceWizard/addSourceWizardStepOne.js 100.00% <ø> (ø)
src/components/contextIcon/contextIcon.js 89.23% <100.00%> (+0.34%) ⬆️
...s/createCredentialDialog/createCredentialDialog.js 64.03% <100.00%> (+0.31%) ⬆️
...mponents/addSourceWizard/addSourceWizardStepTwo.js 73.93% <50.00%> (-0.30%) ⬇️

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ae03ebf...543f952. Read the comment docs.

Copy link
Member

@cdcabrera cdcabrera left a comment

Choose a reason for hiding this comment

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

lgtm

  • aligns to the similar update for ansible data source
  • $ yarn start:stage (shortcut for the above steps noted) and $ yarn start appear to function as intended
    • adding credentials
    • adding sources
    • adding scans

I'll defer to others in case I overlooked anything

@nicolearagao nicolearagao dismissed mirekdlugosz’s stale review October 17, 2023 20:33

mirek's PTO, changes that he requested were addressed.

@nicolearagao nicolearagao merged commit e1faafc into main Oct 17, 2023
3 checks passed
@nicolearagao nicolearagao deleted the feature/support-acs-source branch October 17, 2023 20:38
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.

6 participants