rapid7 / nexpose-client-python

DEPRECATED : Rapid7 Nexpose API client library written in Python
https://www.rapid7.com/
BSD 3-Clause "New" or "Revised" License
25 stars 20 forks source link

Tags saved during site save #26

Open derpadoo opened 7 years ago

derpadoo commented 7 years ago

Tags were not saved during a site save.

Description

The API returns a custom date/time format for tag's creation date that is converted into epoch and sent back. Discovered that "Built-In" tags do not return the default tag color so that is added. The "Built-In" tags also have a CREATOR_USER_ID of "0" which was throwing an exception. This block of code fixes these issues so the site info can be submitted successfully.

Motivation and Context

Fixes #22

How Has This Been Tested?

Can't...dev environment is still broken.

Types of changes