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.) add notification apis phase I #2184

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

ibreakthecloud
Copy link
Member

@ibreakthecloud ibreakthecloud commented Jun 5, 2024

Changes proposed in this pull request:

  • adds API for notification system
  • api for listing scan with status(running, failed, etc.)
  • api for listing registry sync in progress
  • api for listing failed integrations

Requires UI changes

var err error
for _, scanType := range scanTypes {
switch scanType {
case "vulnerability":
Copy link
Collaborator

Choose a reason for hiding this comment

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

Copy link
Collaborator

Choose a reason for hiding this comment

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

@ibreakthecloud Can you also check the lint errors?

Copy link
Member Author

Choose a reason for hiding this comment

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

only possible changes where using constants, we cannot simplify this since each scan result has to go in different fields of struct.
I did the changes, please check again

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.

3 participants