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

Vulnerability detection notification message #55

Open
Dwordcito opened this issue Jul 31, 2024 · 0 comments
Open

Vulnerability detection notification message #55

Dwordcito opened this issue Jul 31, 2024 · 0 comments
Labels
level/task Task issue module/vulnerability detector Vulnerability Detector type/enhancement Enhancement issue

Comments

@Dwordcito
Copy link
Member

Dwordcito commented Jul 31, 2024

Description

### WIP

This issue aims to implement a specific notification from the agent to vulnerability detection features running on the manager side.

Functional requirement

Packages install (type packagelist)

Vulnerability detection will run a scan based on requests to detect new elements in the agent inventory.

    {
        "type": "packagelist",
        "agent": { data },
        "package": [{ data }, { data }],
        "hotfixes": ["KB1","KB2","KB3"],
        "os": {data}
   }

Content update, Hotfix install, hotfix remove, os modify, firstscan (type fullscan)

    {
        "type": "fullscan",
        "agent": { data },
        "package": [{ data }, { data }],
        "hotfixes": ["KB1","KB2","KB3"],
        "os": {data}
   }

Packages remove

For deleted elements in the syscollector inventory, the agent module will remove all elements from the vulnerability inventory.

We will send the stateless and stateful messages without the intervention of the vd scanner.

Error handling

2xx -> With response, if any field of some elements is invalid or incomplete, we discard from the response the element result.
5xx -> Wait and retry

@vikman90 vikman90 added level/task Task issue type/enhancement Enhancement issue labels Oct 14, 2024
@vikman90 vikman90 added the module/vulnerability detector Vulnerability Detector label Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
level/task Task issue module/vulnerability detector Vulnerability Detector type/enhancement Enhancement issue
Projects
None yet
Development

No branches or pull requests

2 participants