Skip to content
This repository has been archived by the owner on Nov 29, 2021. It is now read-only.

Improve vt element regarding dates #72

Merged
merged 7 commits into from
Nov 13, 2018
Merged

Conversation

jjnicola
Copy link
Member

Add two new parameters to add_vt. creation_time and modification_time are now explicit vt's members
in vts dictionary.
Get creation and modification times from vts dict and add them to xml vt element.
Update documentation.

Set default value of name to None.
creation_time and modification time are now explicit vt's members
in vts dictionary.
Add get_creation_time_vt_as_xml_str()
Add get_modification_time_vt_as_xml_str().
Change attribute id to vt_id.
Add creation and modification time elements for get_vts response.
Also, add them in a example.
@jjnicola jjnicola requested review from janowagner and a team November 13, 2018 14:38
Copy link
Member

@janowagner janowagner left a comment

Choose a reason for hiding this comment

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

I successfully tested this PR in conjunction with PR#31 of ospd-openvas.

@jjnicola jjnicola merged commit 25336d0 into greenbone:master Nov 13, 2018
@jjnicola jjnicola deleted the vts-improve branch November 15, 2018 14:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants