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

API to update Postee configuration. #157

Open
amitaqua opened this issue Aug 11, 2021 · 3 comments
Open

API to update Postee configuration. #157

amitaqua opened this issue Aug 11, 2021 · 3 comments
Assignees

Comments

@amitaqua
Copy link

One of our customers is looking for a possible REST API to update the Postee configuration on-the-fly.
For example, if the JIRA user is changed (they can not use a dummy email but it must be the user's email address) leave the company, they want to be able to update the JIRA integration using an API.
Would that something can be added to POSTEE?

@jerbia
Copy link
Contributor

jerbia commented Aug 12, 2021

@afdesk can you look at this?
One option is to monitor the cfg.yaml file metadata every minute and reload the settings if change is identified.

@AndreyLevchenko
Copy link
Contributor

The UI app has REST API to load/save config:
https://github.com/aquasecurity/postee/blob/main/ui/backend/uiserver/server.go#L50-L51
payload is yaml and authentication is basic

@krol3
Copy link
Contributor

krol3 commented Oct 5, 2021

@AndreyLevchenko do we have the API documentation somewhere? or how to use it?

kairi003 pushed a commit to kairi003/postee that referenced this issue Oct 18, 2022
aquasecurity#157)

Bumps [github.com/aquasecurity/defsec](https://github.com/aquasecurity/defsec) from 0.65.0 to 0.68.2.
- [Release notes](https://github.com/aquasecurity/defsec/releases)
- [Commits](aquasecurity/defsec@v0.65.0...v0.68.2)

---
updated-dependencies:
- dependency-name: github.com/aquasecurity/defsec
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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

No branches or pull requests

5 participants