-
Notifications
You must be signed in to change notification settings - Fork 21
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
Appeal approval outside Guardian #217
Comments
my rough thought for now is, we can introduce |
Hmm. This is interesting. I can think of a couple of types.
Thoughts? |
pardon me, I just realized that we already have |
@singhvikash11 we need to define a contract for the http api, can you help with that? |
my proposal for this: # policy
id: my-policy
steps:
- name: owner-approval
strategy: manual
approvers:
- $appeal.resource.details.owner
- name: external-approval
strategy: auto
http:
url: http://example.com/approval/$appeal.account_id
headers:
X-Foo-Bar: baz
authorization:
type: basic
username: user
password: pass
approve_if: '$response.body.foo == "bar"'
|
@rahmatrhd any reason to use |
@ravisuhag because http fetch approval is essentially an automatic approval that doesn't require human approval |
@rahmatrhd One concern I have is that lot of params will become conditional. If the strategy is this then set this and this and so on. So it might get tricky for policy users to figure out for which strategy which params I should use. Same on the implementation side and combinations start to increase. So, would it make sense to actually segregate it as per strategy? thoughts? |
I think in addition to the above and detailed documentation, we should have also a command/api similar to |
@bsushmith can you create an issue for this please? |
Created issue #237 |
* fix; remove old un supported APIs * fix: remove old un supported APIs * fix: add uploadToSCheduler api for optimus * fix: remove redundant event names from jobEvent proto enum * fix: import cycles * fix: optimus reserve old used enums * fix: optimus: event type name fix * fix: reserved an old used feild
Summary
Complex appeal approval flow can't be modelled using policy config YAML file so in that case, Guardian should be able to integrate with existing complex approval flow like
bpmn
.Proposed solution
Guardian can integrate with exiting approval flow either by webhook or subscribe to events.
The text was updated successfully, but these errors were encountered: