Dnac-Lifecycle-App
所属分类:生物医药技术
开发工具:Python
文件大小:13KB
下载次数:0
上传日期:2022-12-08 02:09:32
上 传 者:
sh-1993
说明: DNA中心生命周期管理(PSIRTs,报废)应用程序
(DNA Center lifecycle management (PSIRTs,end-of-life) app)
文件列表:
License.md (5030, 2018-06-11)
caa.py (2118, 2018-06-11)
dnac.py (7717, 2018-06-11)
main.py (12602, 2018-06-11)
requirements.txt (93, 2018-06-11)
xl.py (11564, 2018-06-11)
# Device Lifecycle App
The App will enable the users to view the published Security Advisories and Hardware and Software End-of-Life
information of the devices in DNA Centre. If the user has DNACaaP ServiceNow package installed in their cluster,
the app automatically generates tickets for the security advisories and hardware end-of-life with ServiceNow.
The users can use the information to secure their network against vulnerabilities and upgrade their network by
replacing the end-of-life devices.
## APIs used
DNAC Api – Get Inventory Devices & Get device count
/api/v1/network-device/
/api/v1/network-device/count
CAA Apis – Get PSIRT, Hardware and Software EoL
/asi/api/csoq/lifecycle
DNACaaP Api - Post to ITSM Service now
/api/dnacaap/v1/dnacaap/core/dna/events/{}/event
## Requirements.
The script requires the following packages/libraries to be installed.
Python 3.4+ -- https://www.python.org/downloads/
xlsxwriter 1.0.4 -- http://xlsxwriter.readthedocs.io/getting_started.html
## Getting Started
For help run:
```
main.py -h
```
usage: main.py [-h] [-i IPADDRESS] [-u UNAME] {lifecycle}
positional arguments:
{lifecycle} command = "lifecycle" for security advisories,
hardware end-of-life and software end-of-life
optional arguments:
-h, --help show this help message and exit
-i IPADDRESS, --ipaddress IPADDRESS
DNA Center cluster ip address
-u UNAME, --uname UNAME
DNA Center login username
For running the lifecycle application:
```
main.py -i -u lifecycle
```
## Documentation For Authorization
The application will require the following credentials information to retrieve lifecycle data.
DNAC Cluster credentails (Username and Password)
CCO credentials (Username and Password)
## Author
AR
近期下载者:
相关文件:
收藏者: