MyGit

v1.47.0

rackerlabs/scantron

版本发布时间: 2021-08-10 11:06:50

rackerlabs/scantron最新发布版本:v1.47.0(2021-08-10 11:06:50)

Console

For https://github.com/rackerlabs/scantron/issues/281, Added created and last_updated fields for the models:

The created and last_updated fields are also exposed in the API

import scantron_api_client

sc = scantron_api_client.ScantronClient()

response = sc.retrieve_site(1)

print(response.json())

{
        "id": 1,
        "site_name": "Test",
        "description": "",
        "targets": "192.168.1.10 192.168.1.11 192.168.1.12",
        "excluded_targets": "",
        "scan_command": 1,
        "scan_engine": 1,
        "scan_engine_pool": null,
        "email_scan_alerts": false,
        "email_alert_addresses": "",
        "email_scan_diff": true,
        "email_scan_diff_addresses": "test@localhost",
        "created": "2021-08-09T16:02:39.892926-05:00",
        "last_updated": "2021-08-09T16:03:56.611772-05:00"
    }

相关地址:原始地址 下载(tar) 下载(zip)

查看:2021-08-10发行的版本