同步资产信息到Jumpserver
同步资产信息到Jumpserver Jumpserver开发文档: 创建API Key 阿里云API文档: 具体代码: 添加本地IDC机房服务器白名单,避免同步阿里云删除本地机房服务器资产 同步比较Jumpserver创建的重复资产 实时同步线上资产到Jumpserver 同步操作发送结果到钉钉消息 #!/usr/bin/env python3 #coding=utf-8 #Author:cuijianzhe import json import requests import time from httpsig.requests_auth import HTTPSignatureAuth from aliyunsdkcore.client import AcsClient from aliyunsdkecs.request.v20140526.DescribeInstancesRequest import DescribeInstancesRequest from collections import Counter #新建jumpserver KEY_ID = 'keyid....