Closed root360-AndreasUlm closed 3 years ago
I checked the latest version of branch gsa-9.0 and this issue still exists.
@swaterkamp could you take a look at this?
@swaterkamp did you take a look at this?
Yes, I looked at this and just didn't come back to you, yet, sorry.
So, from the issue description it's hard to tell "how" wrong the day count is, just from getting a duration (28 days) and an end date (Jun 8), without having a reference day/start day.
Either, the discrepancy is 1 day. If that is the case, it is expected behavior. If I create an override that is active for the next 2 days, it will be listed in the chart being active for 1 day. This is because there are no 2 full days left, but just 1 day plus some hours. This makes sense, because having an override going to deactivate in 5 minutes, but being listed as active for another day, may lead to some obvious issues.
Or, if the discrepancy is something else than one day, please update to a newer version like 21.04 and try again. I tested starting against 20.08 and can't find an issue with this, despite the 1 day described above.
I'm closing this, as I'm not able to reproduce and GSA-9.0 is no longer supported. If you still encounter the problem in 21.04, please open a new issue and provide information about the start date, end date, and duration for which the override should have been active.
Hi,
in our fresh installed GVM-11 the wrong active day count for overrides is shown in the diagram.
Expected behavior
The diagram about active overrides should show correct number of active days.
Actual behavior
Although override as active until 'Mon, Jun 8, 2020 4:14 PM UTC' the diagram shows that the overrides are active for the next 28 days
Steps to reproduce
gvmd --osp-vt-update=/var/run/ospd/ospd.sock --unix-socket /var/run/gvm/gvmd.sock
/usr/bin/ospd-scanner/bin/python /usr/bin/ospd-scanner/bin/ospd-openvas --pid-file /var/run/ospd/ospd-openvas.pid --unix-socket=/var/run/ospd/ospd.sock --log-file /var/log/gvm/ospd-scanner.log
gsad --drop-privileges=gvm --listen=127.0.0.1 --port=8443 --no-redirect --gnutls-priorities=SECURE128:-AES-128-CBC:-CAMELLIA-128-CBC:-VERS-SSL3.0:-VERS-TLS1.0:-VERS-TLS1.1 --munix-socket=/var/run/gvm/gvmd.sock --secure-cookie
Missing
httpOnlyCookie Attribute OID: 1.3.6.1.4.1.25623.1.0.105925
to be active for e.g. 90 daysGVM versions
gsa: (gsad --version)
gvm: (gvmd --version)
openvas-scanner: (openvassd --version)
gvm-libs:
Environment
Operating system:
Installation method / source: (packages, source installation) Build from sources based on GVM-11 using:
cmake -DCMAKE_INSTALL_PREFIX=/usr -DLOCALSTATEDIR=/var -DSYSCONFDIR=/etc .
Logfiles
I could not find any logs explaining the behaviour. For completeness of this report, here are the last 10 lines of all gvm-logfiles:
I hope you can reproduce this issue with these information.
Regards, Andreas