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

Handle get_license and modify_license permission #1696

Merged
merged 4 commits into from
Oct 13, 2021
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
### Added
- Add a new modification_time column to reports [#1513](https://github.com/greenbone/gvmd/pull/1513), [#1519](https://github.com/greenbone/gvmd/pull/1519), [#1590](https://github.com/greenbone/gvmd/pull/1590)
- Add basic Sentry integration and logging [#1550](https://github.com/greenbone/gvmd/pull/1550)
- Add GMP get_license and modify_license [#1642](https://github.com/greenbone/gvmd/pull/1642)
- Add GMP get_license and modify_license [#1642](https://github.com/greenbone/gvmd/pull/1642), [#1696](https://github.com/greenbone/gvmd/pull/1696)

### Changed
- Use pg-gvm extension for C PostgreSQL functions [#1400](https://github.com/greenbone/gvmd/pull/1400), [#1453](https://github.com/greenbone/gvmd/pull/1453)
Expand Down
2 changes: 2 additions & 0 deletions src/manage_sql.c
Original file line number Diff line number Diff line change
Expand Up @@ -490,6 +490,7 @@ command_t gmp_commands[]
{"GET_FILTERS", "Get all filters."},
{"GET_GROUPS", "Get all groups."},
{"GET_INFO", "Get raw information for a given item."},
{"GET_LICENSE", "Get license information." },
{"GET_NOTES", "Get all notes."},
{"GET_NVTS", "Get one or all available NVTs."},
{"GET_NVT_FAMILIES", "Get a list of all NVT families."},
Expand Down Expand Up @@ -521,6 +522,7 @@ command_t gmp_commands[]
{"MODIFY_CREDENTIAL", "Modify an existing credential."},
{"MODIFY_FILTER", "Modify an existing filter."},
{"MODIFY_GROUP", "Modify an existing group."},
{"MODIFY_LICENSE", "Modify the existing license."},
{"MODIFY_NOTE", "Modify an existing note."},
{"MODIFY_OVERRIDE", "Modify an existing override."},
{"MODIFY_PERMISSION", "Modify an existing permission."},
Expand Down