-
Notifications
You must be signed in to change notification settings - Fork 99
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
Allow to add ssh elevate credential to target dialog and display elevate credential in details #2954
Allow to add ssh elevate credential to target dialog and display elevate credential in details #2954
Conversation
0588966
to
f5b198a
Compare
Codecov Report
@@ Coverage Diff @@
## gsa-21.04 #2954 +/- ##
=============================================
- Coverage 53.84% 53.80% -0.04%
=============================================
Files 1075 1075
Lines 26250 26269 +19
Branches 7506 7520 +14
=============================================
+ Hits 14133 14135 +2
- Misses 11000 11017 +17
Partials 1117 1117
Continue to review full report at Codecov.
|
3143f57
to
cb8e54c
Compare
…ential if there is no ssh_credential
5c65cb3
to
aee9400
Compare
gsa/src/web/pages/targets/dialog.js
Outdated
@@ -107,6 +118,10 @@ const NEW_SNMP = { | |||
types: SNMP_CREDENTIAL_TYPES, | |||
}; | |||
|
|||
const ElevatePrivilegeText = styled(Layout)` | |||
color: ${Theme.darkRed}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, this should not be red. I talked about this with @bjoernricks and we realized that was an error in the mockup.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will just regular black work?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes just use the standard black.
ea8ce7e
to
be2f581
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome work, thank you!
Allow to add ssh elevate credential to target dialog and display elevate credential in details (backport #2954)
What:
Why:
How:
Checklist:
Visual confirmation. Will add tests in following PR.