Jake McDermott
84b21620b2
raise url string parsing error as validation error
2019-05-01 09:17:52 -04:00
Jake McDermott
9737ab620c
require url scheme for credential type url inputs
...
This adds a url formatting type for credential input string fields
The validator for this formatting type will throw an error if the
provided url string doesn't have a url schema.
2019-04-30 13:41:07 -04:00
Jake McDermott
d1dc6007fd
use test callback from test form save hooks
...
Enter key and other form submits are handled generically from the built-in
save hooks on the form controller. This adds implementations for those hooks
on the plugin test forms to make sure the expected handlers are always called.
2019-04-30 12:31:30 -04:00
Jake McDermott
36e384e8ab
hide dashboard tips on graph teardown event
2019-04-26 11:18:39 -04:00
Jake McDermott
14045c1017
fix undefined prop in template credential prompt initialization
...
The prompt initialization code had a reference to an undefined
prop. This updates the code to use the expected prop.
2019-04-26 10:34:00 -04:00
Jake McDermott
311daf10b8
handle insights credential lookups for projects
...
Although most scm types correspond to an scm credential lookup, insights uses its own
credential type.
2019-04-23 11:44:03 -04:00
Jake McDermott
d987c6e3f7
mention usage with custom credential types in credential plugins doc
2019-04-02 11:24:59 -04:00
Jake McDermott
5d11400f6c
replace unlinked fields before updating input sources
...
With credential type changes for linked credentials disabled, we can
update the unlinked credential fields first. If an error occurs when
updating the unlinked fields, no input sources will be changed.
2019-04-02 11:24:55 -04:00
Jake McDermott
6f43f223b2
update e2e credential checks
2019-04-02 11:24:52 -04:00
Jake McDermott
6b87241099
render non-editable linked credentials
...
We still want to show linked credentials even when a field is
non-editable.
2019-04-02 11:24:48 -04:00
Jake McDermott
0f6615d9cd
make linked fields look disabled when disabled
2019-04-02 11:24:44 -04:00
Jake McDermott
9b55fa61de
fix required field entry for object_query
2019-04-02 11:24:41 -04:00
Jake McDermott
165405ad3f
include externally sourced input fields for injection
2019-04-02 11:24:36 -04:00
Jake McDermott
7ca92e4c1e
prevent input source changes without use role on source cred
...
To update an input source, the user must have admin access
to the target credential and at least use role on the source
credential.
2019-04-02 11:24:32 -04:00
Jake McDermott
8c107a5fa8
prevent overflow in plugin test notifications
2019-04-02 11:24:14 -04:00
Jake McDermott
8b35ac89fc
add timeouts to plugin backends
2019-04-02 11:24:11 -04:00
Jake McDermott
b90f9ac401
remove linked fields from validation loop
...
All linked fields are initially valid. All unlinked fields
are initially valid.
2019-04-02 11:24:07 -04:00
Jake McDermott
7a093de9fd
add workaround for null cloud credential kind summary fields
...
job details summary field credentials have `null` for the
`kind` field so we can't map it to icon names. To work around
this, we now check the value of the `cloud` field when generating
the icon to use.
2019-04-02 11:24:04 -04:00
Jake McDermott
259fcdc5df
don't initialize linked textarea fields as invalid
2019-04-02 11:24:00 -04:00
Jake McDermott
aa4575c92e
update validation when input source is set
2019-04-02 11:23:57 -04:00
Jake McDermott
f0f4f487fb
disable input source lookups when they can't be changed
...
If a user doesn't have permission to change an input field, we disable
the input field.
2019-04-02 11:23:53 -04:00
Jake McDermott
c4a79a778f
add delete to input source user_capabilities
2019-04-02 11:23:50 -04:00
Jake McDermott
f611d4275f
add use to credential user_capabilities
2019-04-02 11:23:46 -04:00
Jake McDermott
8c3dfe8655
remove input value arg from plugin example
...
The plugin backends no longer expect an input value as an argument
so we're removing it from the documented examples.
2019-04-02 11:23:42 -04:00
Jake McDermott
f9e081046c
add object query fields
2019-04-02 11:23:39 -04:00
Jake McDermott
da9abc087e
don't ignore choices param in input config
...
We always want to use choices if they're available in the input config
from the api. An input can sometimes have no type. Usually we'd throw an
error but we can still load a component if it defines a set of choices
to use instead of a type.
2019-04-02 11:23:35 -04:00
Jake McDermott
956f588fd8
generalize secret textarea hint
2019-04-02 11:23:28 -04:00
Jake McDermott
cb238c1f24
read cert from memory
...
Certificate data lives in the db. We're using a fifo here so we can avoid writing
it to disk when making the http request.
2019-04-02 11:23:24 -04:00
Jake McDermott
3dee9f0512
add plugin for cyberark aim
2019-04-02 11:23:20 -04:00
Jake McDermott
261a635005
remove non-matches from input source arrays
2019-04-02 11:23:17 -04:00
Jake McDermott
4f13592430
hide drag-and-drop textarea hints when showing input value as tag
...
You can't drag and drop or enter text when a text area is displaying its value
as a tag, so we hide the hint to avoid incorrectly suggesting that you can.
2019-04-02 11:23:13 -04:00
Jake McDermott
73c9d1b7a9
remove bootstrap fade from dialog component
...
This was breaking the fixed positioning of help popovers for form inputs
nested within the dialog so I'm replacing it.
2019-04-02 11:23:10 -04:00
Jake McDermott
8180a2060a
rename at-easy-modal to at-dialog
2019-04-02 11:23:06 -04:00
Jake McDermott
dfaf19cdf3
use default action button class when fill and color props aren't given
2019-04-02 11:23:02 -04:00
Jake McDermott
ea9ed31f9d
refactor metadata conversion function to use reduce
2019-04-02 11:22:59 -04:00
Jake McDermott
05226333ff
move tag max height declaration to input tag wrapper
...
We don't want to apply max height to all tags, just the ones we embed
within text/textarea input fields.
2019-04-02 11:22:55 -04:00
Jake McDermott
5b79843390
use a shared variable for layout declarations
2019-04-02 11:22:51 -04:00
Jake McDermott
1eda939ce2
add tips for secret controls
2019-04-02 11:22:48 -04:00
Jake McDermott
43456d13c4
don't replace input source unless changed
2019-04-02 11:22:44 -04:00
Jake McDermott
215c3c87e5
enable input source linking for secret textarea fields
2019-04-02 11:22:41 -04:00
Jake McDermott
957804e22a
enable input source linking for textarea fields
2019-04-02 11:22:37 -04:00
Jake McDermott
e14f17687c
disable prompt-on-launch when input source is set
2019-04-02 11:22:34 -04:00
Jake McDermott
e0d61cfb8e
enable input source linking for password fields
2019-04-02 11:22:30 -04:00
Jake McDermott
1344706095
add wrapper for text input tags
2019-04-02 11:22:27 -04:00
Jake McDermott
5c855b5bd1
add selected credential tray to input source lookup
2019-04-02 11:22:23 -04:00
Jake McDermott
6d0f2948aa
don't show lookup until data is fetched
2019-04-02 11:22:20 -04:00
Jake McDermott
736bd2ed67
add validation for required values and metadata fields
2019-04-02 11:22:16 -04:00
Jake McDermott
47f31b41fb
combine add and edit controllers
2019-04-02 11:22:12 -04:00
Jake McDermott
61eeb630f8
move org edit permission check to route resolve
2019-04-02 11:22:08 -04:00
Jake McDermott
7f55a1da0d
move input value initialization to models
2019-04-02 11:22:05 -04:00
Jake McDermott
ceef7f57af
add input source creation ui
2019-04-02 11:21:59 -04:00
Jake McDermott
393ad6b2f4
add cyberark conjur to tested credential types
2019-04-02 11:21:51 -04:00
Jake McDermott
c436dcf875
add input source prompting and plugin testing
2019-04-02 11:21:40 -04:00
Jake McDermott
0de8a89293
support input source metadata in plugin test apis
2019-04-02 11:21:36 -04:00
Jake McDermott
e2d474ddd2
document restriction of external-external credential source linking
2019-04-02 11:21:25 -04:00
Jake McDermott
e9532dea8e
cache dynamic input fields
...
Query dynamic input fields once on attribute access and then cache it for future use.
2019-04-02 11:21:10 -04:00
Jake McDermott
0ee223f799
add api for testing credential plugins
2019-04-02 11:20:33 -04:00
Jake McDermott
d87144c4a7
add api for managing credential input sources
2019-04-02 11:19:56 -04:00
Jake McDermott
c209955400
add credential plugin system and minimal working hashivault
2019-04-02 11:19:26 -04:00
Jake McDermott
bca9735534
update docs for development environment
2019-03-07 10:30:31 -05:00
Jake McDermott
2765367308
load migrations page in dev environment
2019-02-13 09:14:11 -05:00
Jake McDermott
1b50b26901
support up to 200 credential types in launch prompts
2019-01-29 20:10:13 -05:00
Jake McDermott
ca64630740
sanitize reflected user input on job details page
...
This makes sure we're applying the 'sanitize' filter to reflected user input for some of the new information we're displaying on the job details page.
2019-01-29 09:35:57 -05:00
Jake McDermott
73f617d811
Install dependencies for Chromium in unit test image
2019-01-28 15:57:17 -05:00
Jake McDermott
477c5df022
add linked status indicator for scm inventory project updates
...
Signed-off-by: Jake McDermott <yo@jakemcdermott.me >
2019-01-24 16:24:42 -05:00
Jake McDermott
a8728670e1
handle credential.inputs in decryption utils
2019-01-22 22:56:24 -05:00
Jake McDermott
5afabc7a19
use npm ci to install ui dependencies
2019-01-22 11:04:58 -05:00
Jake McDermott
a1c03cd6a1
update license files
2019-01-22 09:33:13 -05:00
Jake McDermott
0bde309d23
updating package-lock.json
2019-01-22 09:04:27 -05:00
Jake McDermott
2dadfbcc14
use credential input access methods in injectors.py
2019-01-20 14:02:01 -05:00
Jake McDermott
3a58a5b772
use credential input access methods in views/__init__.py
2019-01-20 13:08:41 -05:00
Jake McDermott
5010e98b8f
use credential input access methods in projects.py
2019-01-20 13:08:38 -05:00
Jake McDermott
3ef4cc9bfa
use credential input access methods in serializers.py
2019-01-20 13:08:34 -05:00
Jake McDermott
c01c671642
use credential input access methods in tasks.py
2019-01-20 13:08:30 -05:00
Jake McDermott
a86e270905
add credential input access methods
2019-01-20 13:08:23 -05:00
Jake McDermott
6c7f11395b
skip chromium download when building release
2019-01-16 20:48:12 -05:00
Jake McDermott
c8b15005b4
link to workflow playbook node route from workflow viewer
2018-12-14 19:22:23 -05:00
Jake McDermott
a5c4350695
add redirect route for workflow viewer
2018-12-14 19:20:01 -05:00
Jake McDermott
47264b0809
point output search doc link to latest
2018-12-03 17:09:00 -05:00
Jake McDermott
2e3949d612
update expected color vals of active tab in smoke test
2018-11-27 22:46:16 -05:00
Jake McDermott
bfa361c87f
hide prompt button when not on jobs tab
2018-11-27 16:12:42 -05:00
Jake McDermott
d5f07a9652
hide inventory help message when not on jobs tab
2018-11-27 16:12:42 -05:00
Jake McDermott
65ec1d18ad
skip missing inventory prompt value check when selecting workflow node
2018-11-27 16:12:42 -05:00
Jake McDermott
7b4521f980
workflow node prompt fixup
...
* use workflow model and endpoint when node is workflow
* always include template type in prompt data
* skip missing inventory checks when node is workflow
* skip checks for required credential fields when node is workflow
2018-11-27 16:12:42 -05:00
Jake McDermott
4f731017ea
don't conditionally hide workflow viz templates list button
2018-11-26 16:21:44 -05:00
Jake McDermott
1b09a0230d
Update README.md
2018-11-20 21:26:11 -05:00
Jake McDermott
45728dc1bb
update workflow docs
2018-11-19 17:35:52 -05:00
Jake McDermott
b74597f4dd
fix bug when reverting non-default inventory prompts
2018-11-19 17:35:26 -05:00
Jake McDermott
951515da2f
disable next and show warning when default workflow inventory is removed
2018-11-19 15:16:46 -05:00
Jake McDermott
13e715aeb9
handle null inventory value on workflow launch
2018-11-19 12:53:21 -05:00
Jake McDermott
2bc75270e7
dry up org permissions test
2018-11-19 12:53:18 -05:00
Jake McDermott
fabe56088d
fix workflow e2e tests again
2018-11-19 12:53:14 -05:00
Jake McDermott
0e3bf6db09
open workflow visualizer from form
2018-11-19 12:53:10 -05:00
Jake McDermott
c6a7d0859d
add workflow jobs to inventory list status popup
2018-11-19 12:53:05 -05:00
Jake McDermott
fed00a18ad
show workflow jobs on inventory completed jobs view
2018-11-19 12:53:02 -05:00
Jake McDermott
ecbdc55955
show related workflow counts on inventory deletion warning prompt
2018-11-19 12:52:57 -05:00
Jake McDermott
018a8e12de
fix lookup message
2018-11-19 12:52:50 -05:00
Jake McDermott
89a0be64af
fix bug with opening visualizer from list page
2018-11-19 12:52:38 -05:00
Jake McDermott
75566bad39
fix workflow e2e tests
2018-11-19 12:52:32 -05:00
Jake McDermott
75c2d1eda1
add inventory help messages for workflow node edit
2018-11-19 12:52:29 -05:00