From 3b5ceeedff14a7327586a18347de7974916576cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=B7=E6=97=B6?= Date: Mon, 21 Apr 2025 11:16:30 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=89=E5=85=A8=E7=AE=A1=E7=90=86=E7=B3=BB?= =?UTF-8?q?=E7=BB=9F=EF=BC=9A=E8=B0=83=E6=95=B4=E7=9B=AE=E5=BD=95=E7=BB=93?= =?UTF-8?q?=E6=9E=84=EF=BC=8C=E5=A2=9E=E5=8A=A0CVECenter=20OpenAPI=20?= =?UTF-8?q?=E8=B0=83=E7=94=A8=E9=89=B4=E6=9D=83=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...64\346\230\216\346\226\207\346\241\243.md" | 0 ...22\346\237\245\346\211\213\345\206\214.md" | 0 ...346\215\256API\346\226\207\346\241\243.md" | 0 ...32\347\272\247\350\257\264\346\230\216.md" | 0 ...64\346\235\203\350\257\264\346\230\216.md" | 29 +++++++++++++++++++ 5 files changed, 29 insertions(+) rename "sig/\345\237\272\347\241\200\350\256\276\346\226\275SIG/content/\345\256\211\345\205\250\347\256\241\347\220\206\347\263\273\347\273\237/ANAS\347\224\250\346\210\267API\350\257\264\346\230\216\346\226\207\346\241\243.md" => "sig/\345\237\272\347\241\200\350\256\276\346\226\275SIG/content/\345\256\211\345\205\250\347\256\241\347\220\206\347\263\273\347\273\237/\345\256\211\345\205\250\345\205\254\345\221\212\345\271\263\345\217\260ANAS/ANAS\347\224\250\346\210\267API\350\257\264\346\230\216\346\226\207\346\241\243.md" (100%) rename "sig/\345\237\272\347\241\200\350\256\276\346\226\275SIG/content/\345\256\211\345\205\250\347\256\241\347\220\206\347\263\273\347\273\237/ANAS\351\211\264\346\235\203\345\244\261\350\264\245\350\207\252\345\212\251\346\216\222\346\237\245\346\211\213\345\206\214.md" => "sig/\345\237\272\347\241\200\350\256\276\346\226\275SIG/content/\345\256\211\345\205\250\347\256\241\347\220\206\347\263\273\347\273\237/\345\256\211\345\205\250\345\205\254\345\221\212\345\271\263\345\217\260ANAS/ANAS\351\211\264\346\235\203\345\244\261\350\264\245\350\207\252\345\212\251\346\216\222\346\237\245\346\211\213\345\206\214.md" (100%) rename "sig/\345\237\272\347\241\200\350\256\276\346\226\275SIG/content/\345\256\211\345\205\250\347\256\241\347\220\206\347\263\273\347\273\237/OpenAnolis\345\256\211\345\205\250\346\225\260\346\215\256API\346\226\207\346\241\243.md" => "sig/\345\237\272\347\241\200\350\256\276\346\226\275SIG/content/\345\256\211\345\205\250\347\256\241\347\220\206\347\263\273\347\273\237/\345\256\211\345\205\250\345\205\254\345\221\212\345\271\263\345\217\260ANAS/OpenAnolis\345\256\211\345\205\250\346\225\260\346\215\256API\346\226\207\346\241\243.md" (100%) rename "sig/\345\237\272\347\241\200\350\256\276\346\226\275SIG/content/\345\256\211\345\205\250\347\256\241\347\220\206\347\263\273\347\273\237/\351\276\231\350\234\245\346\223\215\344\275\234\347\263\273\347\273\237\346\274\217\346\264\236\350\257\204\345\210\206\345\256\232\347\272\247\350\257\264\346\230\216.md" => "sig/\345\237\272\347\241\200\350\256\276\346\226\275SIG/content/\345\256\211\345\205\250\347\256\241\347\220\206\347\263\273\347\273\237/\345\256\211\345\205\250\345\205\254\345\221\212\345\271\263\345\217\260ANAS/\351\276\231\350\234\245\346\223\215\344\275\234\347\263\273\347\273\237\346\274\217\346\264\236\350\257\204\345\210\206\345\256\232\347\272\247\350\257\264\346\230\216.md" (100%) create mode 100644 "sig/\345\237\272\347\241\200\350\256\276\346\226\275SIG/content/\345\256\211\345\205\250\347\256\241\347\220\206\347\263\273\347\273\237/\346\274\217\346\264\236\347\256\241\347\220\206\347\263\273\347\273\237CVECenter/CVECenter OpenAPI\350\260\203\347\224\250\351\211\264\346\235\203\350\257\264\346\230\216.md" diff --git "a/sig/\345\237\272\347\241\200\350\256\276\346\226\275SIG/content/\345\256\211\345\205\250\347\256\241\347\220\206\347\263\273\347\273\237/ANAS\347\224\250\346\210\267API\350\257\264\346\230\216\346\226\207\346\241\243.md" "b/sig/\345\237\272\347\241\200\350\256\276\346\226\275SIG/content/\345\256\211\345\205\250\347\256\241\347\220\206\347\263\273\347\273\237/\345\256\211\345\205\250\345\205\254\345\221\212\345\271\263\345\217\260ANAS/ANAS\347\224\250\346\210\267API\350\257\264\346\230\216\346\226\207\346\241\243.md" similarity index 100% rename from "sig/\345\237\272\347\241\200\350\256\276\346\226\275SIG/content/\345\256\211\345\205\250\347\256\241\347\220\206\347\263\273\347\273\237/ANAS\347\224\250\346\210\267API\350\257\264\346\230\216\346\226\207\346\241\243.md" rename to "sig/\345\237\272\347\241\200\350\256\276\346\226\275SIG/content/\345\256\211\345\205\250\347\256\241\347\220\206\347\263\273\347\273\237/\345\256\211\345\205\250\345\205\254\345\221\212\345\271\263\345\217\260ANAS/ANAS\347\224\250\346\210\267API\350\257\264\346\230\216\346\226\207\346\241\243.md" diff --git "a/sig/\345\237\272\347\241\200\350\256\276\346\226\275SIG/content/\345\256\211\345\205\250\347\256\241\347\220\206\347\263\273\347\273\237/ANAS\351\211\264\346\235\203\345\244\261\350\264\245\350\207\252\345\212\251\346\216\222\346\237\245\346\211\213\345\206\214.md" "b/sig/\345\237\272\347\241\200\350\256\276\346\226\275SIG/content/\345\256\211\345\205\250\347\256\241\347\220\206\347\263\273\347\273\237/\345\256\211\345\205\250\345\205\254\345\221\212\345\271\263\345\217\260ANAS/ANAS\351\211\264\346\235\203\345\244\261\350\264\245\350\207\252\345\212\251\346\216\222\346\237\245\346\211\213\345\206\214.md" similarity index 100% rename from "sig/\345\237\272\347\241\200\350\256\276\346\226\275SIG/content/\345\256\211\345\205\250\347\256\241\347\220\206\347\263\273\347\273\237/ANAS\351\211\264\346\235\203\345\244\261\350\264\245\350\207\252\345\212\251\346\216\222\346\237\245\346\211\213\345\206\214.md" rename to "sig/\345\237\272\347\241\200\350\256\276\346\226\275SIG/content/\345\256\211\345\205\250\347\256\241\347\220\206\347\263\273\347\273\237/\345\256\211\345\205\250\345\205\254\345\221\212\345\271\263\345\217\260ANAS/ANAS\351\211\264\346\235\203\345\244\261\350\264\245\350\207\252\345\212\251\346\216\222\346\237\245\346\211\213\345\206\214.md" diff --git "a/sig/\345\237\272\347\241\200\350\256\276\346\226\275SIG/content/\345\256\211\345\205\250\347\256\241\347\220\206\347\263\273\347\273\237/OpenAnolis\345\256\211\345\205\250\346\225\260\346\215\256API\346\226\207\346\241\243.md" "b/sig/\345\237\272\347\241\200\350\256\276\346\226\275SIG/content/\345\256\211\345\205\250\347\256\241\347\220\206\347\263\273\347\273\237/\345\256\211\345\205\250\345\205\254\345\221\212\345\271\263\345\217\260ANAS/OpenAnolis\345\256\211\345\205\250\346\225\260\346\215\256API\346\226\207\346\241\243.md" similarity index 100% rename from "sig/\345\237\272\347\241\200\350\256\276\346\226\275SIG/content/\345\256\211\345\205\250\347\256\241\347\220\206\347\263\273\347\273\237/OpenAnolis\345\256\211\345\205\250\346\225\260\346\215\256API\346\226\207\346\241\243.md" rename to "sig/\345\237\272\347\241\200\350\256\276\346\226\275SIG/content/\345\256\211\345\205\250\347\256\241\347\220\206\347\263\273\347\273\237/\345\256\211\345\205\250\345\205\254\345\221\212\345\271\263\345\217\260ANAS/OpenAnolis\345\256\211\345\205\250\346\225\260\346\215\256API\346\226\207\346\241\243.md" diff --git "a/sig/\345\237\272\347\241\200\350\256\276\346\226\275SIG/content/\345\256\211\345\205\250\347\256\241\347\220\206\347\263\273\347\273\237/\351\276\231\350\234\245\346\223\215\344\275\234\347\263\273\347\273\237\346\274\217\346\264\236\350\257\204\345\210\206\345\256\232\347\272\247\350\257\264\346\230\216.md" "b/sig/\345\237\272\347\241\200\350\256\276\346\226\275SIG/content/\345\256\211\345\205\250\347\256\241\347\220\206\347\263\273\347\273\237/\345\256\211\345\205\250\345\205\254\345\221\212\345\271\263\345\217\260ANAS/\351\276\231\350\234\245\346\223\215\344\275\234\347\263\273\347\273\237\346\274\217\346\264\236\350\257\204\345\210\206\345\256\232\347\272\247\350\257\264\346\230\216.md" similarity index 100% rename from "sig/\345\237\272\347\241\200\350\256\276\346\226\275SIG/content/\345\256\211\345\205\250\347\256\241\347\220\206\347\263\273\347\273\237/\351\276\231\350\234\245\346\223\215\344\275\234\347\263\273\347\273\237\346\274\217\346\264\236\350\257\204\345\210\206\345\256\232\347\272\247\350\257\264\346\230\216.md" rename to "sig/\345\237\272\347\241\200\350\256\276\346\226\275SIG/content/\345\256\211\345\205\250\347\256\241\347\220\206\347\263\273\347\273\237/\345\256\211\345\205\250\345\205\254\345\221\212\345\271\263\345\217\260ANAS/\351\276\231\350\234\245\346\223\215\344\275\234\347\263\273\347\273\237\346\274\217\346\264\236\350\257\204\345\210\206\345\256\232\347\272\247\350\257\264\346\230\216.md" diff --git "a/sig/\345\237\272\347\241\200\350\256\276\346\226\275SIG/content/\345\256\211\345\205\250\347\256\241\347\220\206\347\263\273\347\273\237/\346\274\217\346\264\236\347\256\241\347\220\206\347\263\273\347\273\237CVECenter/CVECenter OpenAPI\350\260\203\347\224\250\351\211\264\346\235\203\350\257\264\346\230\216.md" "b/sig/\345\237\272\347\241\200\350\256\276\346\226\275SIG/content/\345\256\211\345\205\250\347\256\241\347\220\206\347\263\273\347\273\237/\346\274\217\346\264\236\347\256\241\347\220\206\347\263\273\347\273\237CVECenter/CVECenter OpenAPI\350\260\203\347\224\250\351\211\264\346\235\203\350\257\264\346\230\216.md" new file mode 100644 index 000000000..264cd9abc --- /dev/null +++ "b/sig/\345\237\272\347\241\200\350\256\276\346\226\275SIG/content/\345\256\211\345\205\250\347\256\241\347\220\206\347\263\273\347\273\237/\346\274\217\346\264\236\347\256\241\347\220\206\347\263\273\347\273\237CVECenter/CVECenter OpenAPI\350\260\203\347\224\250\351\211\264\346\235\203\350\257\264\346\230\216.md" @@ -0,0 +1,29 @@ +

获取Token

+用户可以在系统右上角用户头像信息处获取到自己的Token,并且可以更新自己的Token + +> ⚠️Token一旦更新,旧的Token将会失效,如果有业务在使用自己的Token,请谨慎更新 +> + +![](https://intranetproxy.alipay.com/skylark/lark/0/2023/png/66356326/1702542037788-69b23096-193d-49c5-9f62-6594472225ef.png) + +

加密方式

+在请求头中添加 `Authorization` 的方法: + +```json +{"Authorization": "Token "} 或 {"Authorization": "Bearer "} +``` +python调用示例如下: +```python +import requests + +URL = "https://cvecenter.aliyun-inc.com" +TOKEN = "" + +HEADER = {"Authorization": f"Bearer {TOKEN}"} # or "Token {TOKEN}" +PARAMS = {"cve_id": "CVE-2023-4732"} + +# Get Cve List +res = requests.get(f"{URL}/api/cve/cve_page", headers=HEADER, params=PARAMS, verify=False) +print(res.status_code, res.text) +``` + -- Gitee