Skip to content

Commit

Permalink
Add: Add new Report Config data type
Browse files Browse the repository at this point in the history
This adds the new data type Report Config and the corresponding GMP
commands create_report_config, delete_report_config, get_report_configs
and modify_report_config.

This will later allow configuring the parameters of predefined report
formats when exporting reports or setting up alerts.
  • Loading branch information
timopollmeier committed Feb 14, 2024
1 parent f2b9344 commit 7b01edb
Show file tree
Hide file tree
Showing 16 changed files with 3,749 additions and 134 deletions.
37 changes: 31 additions & 6 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,12 @@ add_executable (manage-utils-test
manage_acl.c manage_configs.c manage_get.c
manage_license.c
manage_port_lists.c manage_preferences.c
manage_report_configs.c
manage_report_formats.c
manage_authentication.c
manage_sql.c manage_sql_nvts.c manage_sql_secinfo.c
manage_sql_port_lists.c manage_sql_configs.c
manage_sql_report_configs.c
manage_sql_report_formats.c
manage_sql_tickets.c manage_sql_tls_certificates.c
manage_tls_certificates.c
Expand All @@ -132,7 +134,9 @@ add_executable (manage-utils-test
lsc_user.c lsc_crypt.c utils.c
gmp.c gmp_base.c gmp_configs.c gmp_delete.c gmp_get.c
gmp_license.c gmp_logout.c
gmp_port_lists.c gmp_report_formats.c gmp_tickets.c
gmp_port_lists.c
gmp_report_configs.c
gmp_report_formats.c gmp_tickets.c
gmp_tls_certificates.c)

add_test (manage-utils-test manage-utils-test)
Expand All @@ -147,10 +151,12 @@ add_executable (manage-test
manage_acl.c manage_configs.c manage_get.c
manage_license.c
manage_port_lists.c manage_preferences.c
manage_report_configs.c
manage_report_formats.c
manage_authentication.c
manage_sql.c manage_sql_nvts.c manage_sql_secinfo.c
manage_sql_port_lists.c manage_sql_configs.c
manage_sql_report_configs.c
manage_sql_report_formats.c
manage_sql_tickets.c manage_sql_tls_certificates.c
manage_tls_certificates.c
Expand All @@ -159,7 +165,9 @@ add_executable (manage-test
lsc_user.c lsc_crypt.c utils.c
gmp.c gmp_base.c gmp_configs.c gmp_delete.c gmp_get.c
gmp_license.c gmp_logout.c
gmp_port_lists.c gmp_report_formats.c gmp_tickets.c
gmp_port_lists.c
gmp_report_configs.c
gmp_report_formats.c gmp_tickets.c
gmp_tls_certificates.c)

add_test (manage-test manage-test)
Expand All @@ -174,10 +182,12 @@ add_executable (manage-sql-test
manage_acl.c manage_configs.c manage_get.c
manage_license.c
manage_port_lists.c manage_preferences.c
manage_report_configs.c
manage_report_formats.c
manage_authentication.c
manage_sql_nvts.c manage_sql_secinfo.c
manage_sql_port_lists.c manage_sql_configs.c
manage_sql_report_configs.c
manage_sql_report_formats.c
manage_sql_tickets.c manage_sql_tls_certificates.c
manage_tls_certificates.c
Expand All @@ -186,7 +196,9 @@ add_executable (manage-sql-test
lsc_user.c lsc_crypt.c utils.c
gmp.c gmp_base.c gmp_configs.c gmp_delete.c gmp_get.c
gmp_license.c gmp_logout.c
gmp_port_lists.c gmp_report_formats.c gmp_tickets.c
gmp_port_lists.c
gmp_report_configs.c
gmp_report_formats.c gmp_tickets.c
gmp_tls_certificates.c)

add_test (manage-sql-test manage-sql-test)
Expand All @@ -201,10 +213,12 @@ add_executable (gmp-tickets-test
manage_acl.c manage_configs.c manage_get.c
manage_license.c
manage_port_lists.c manage_preferences.c
manage_report_configs.c
manage_report_formats.c
manage_authentication.c
manage_sql.c manage_sql_nvts.c manage_sql_secinfo.c
manage_sql_port_lists.c manage_sql_configs.c
manage_sql_report_configs.c
manage_sql_report_formats.c
manage_sql_tickets.c manage_sql_tls_certificates.c
manage_tls_certificates.c
Expand All @@ -213,7 +227,10 @@ add_executable (gmp-tickets-test
lsc_user.c lsc_crypt.c utils.c
gmp.c gmp_base.c gmp_configs.c gmp_delete.c gmp_get.c
gmp_license.c gmp_logout.c
gmp_port_lists.c gmp_report_formats.c gmp_tls_certificates.c)
gmp_port_lists.c
gmp_report_configs.c
gmp_report_formats.c gmp_tickets.c
gmp_tls_certificates.c)

add_test (gmp-tickets-test gmp-tickets-test)

Expand All @@ -227,10 +244,12 @@ add_executable (utils-test
manage_acl.c manage_configs.c manage_get.c
manage_license.c
manage_port_lists.c manage_preferences.c
manage_report_configs.c
manage_report_formats.c
manage_authentication.c
manage_sql.c manage_sql_nvts.c manage_sql_secinfo.c
manage_sql_port_lists.c manage_sql_configs.c
manage_sql_report_configs.c
manage_sql_report_formats.c
manage_sql_tickets.c manage_sql_tls_certificates.c
manage_tls_certificates.c
Expand All @@ -239,7 +258,9 @@ add_executable (utils-test
lsc_user.c lsc_crypt.c
gmp.c gmp_base.c gmp_configs.c gmp_delete.c gmp_get.c
gmp_license.c gmp_logout.c
gmp_port_lists.c gmp_report_formats.c gmp_tickets.c
gmp_port_lists.c
gmp_report_configs.c
gmp_report_formats.c gmp_tickets.c
gmp_tls_certificates.c)

add_test (utils-test utils-test)
Expand All @@ -256,10 +277,12 @@ add_executable (gvmd
manage_acl.c manage_configs.c manage_get.c
manage_license.c
manage_port_lists.c manage_preferences.c
manage_report_configs.c
manage_report_formats.c
manage_authentication.c
manage_sql.c manage_sql_nvts.c manage_sql_secinfo.c
manage_sql_port_lists.c manage_sql_configs.c
manage_sql_report_configs.c
manage_sql_report_formats.c
manage_sql_tickets.c manage_sql_tls_certificates.c
manage_tls_certificates.c
Expand All @@ -268,7 +291,9 @@ add_executable (gvmd
lsc_user.c lsc_crypt.c utils.c
gmp.c gmp_base.c gmp_configs.c gmp_delete.c gmp_get.c
gmp_license.c gmp_logout.c
gmp_port_lists.c gmp_report_formats.c gmp_tickets.c
gmp_port_lists.c
gmp_report_configs.c
gmp_report_formats.c gmp_tickets.c
gmp_tls_certificates.c)

target_link_libraries (gvmd m
Expand Down
Loading

0 comments on commit 7b01edb

Please sign in to comment.