McAfee安全API的接口包

mcafeesecure-api的Python项目详细描述


python api

McAfee安全API-Python模块

此python模块与mcafee secure api接口以发出 API请求。

您的api密钥可以在https://www.mcafeesecure.com/user/account/api或通过联系support@mcafeesecure.com找到。

此模块需要一个非标准软件包: 请求-一个python http库

示例用法:

import mcafeesecure_api as ms
ms.scan_targets()
ms.scan_target(args.target_id)
ms.scan_result(args.target_id, args.scan_id)
ms.scan_vuln(args.vuln_id)

一般API注释:

Full Documentation may be found at https://www.mcafeesecure.com/user/support/api/

    The McAfee Secure API enables customers and partners to integrate certain components
    of the McAfee Secure service into their application.

    All requests should be made to a URL similar to the following:

        https://api.mcafeesecure.com/api/v1/[METHOD].json


    To authenticate include an "x-apikey" header in your request. API keys are provisioned
    and configured by our support team. You can view your API keys here.

        curl --header "x-apikey: APIKEY" https://api.mcafeesecure.com/api/v1/[METHOD].json

    By default API calls are executed in the company that owns the API key. If the company is
    a reseller or otherwise has companies that it manages, those companies can be modified by
    including a "companyId" parameter in any request.

更改:

* 0.0.1 - [1/14/19]
    - Support added for: scan_targets, scan_target, scan_result, scan_vuln
* 0.0.2 - [1/17/19]
    - Support added for: account_create, account_create_lite, site_add, site_update,
        site_get, site_delete, site_lookup, subscription_list, subscription_add,
        user_add, company_get, sso
* 0.0.3 - [1/18/19]
    - Test candidate for PyPI-Test package submission
* 0.0.4 - [1/18/19]
    - Bug fix to __init__.py
* 0.0.5 - [1/28/19]
    - Working fix for __init__ importing, Pushed to PyPI

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
ArrayList中实体对象上的JAVA泛型   带Redis的爪哇芹菜vs单用Redis   java在设备面向横向时隐藏标题栏/通知栏   java JXTreeTable:如何使用ComponentProvider为一列设置渲染器   java创建异常的成本与记录异常的成本相比   java在方法参数中使用setter传递新对象   java在一个类中的方法与另一个类中的方法交互时遇到问题   java如何迭代2个大小相等的ArrayList   Java getDesktop()。open在Windows中工作,但在Mac中不工作   从tomcat切换到jetty后的java“无法启动嵌入式容器”,Spring引导   java如何使用void方法   java如何在解组时在JAXB的ValidationEventHandler中获取节点值?   如何使用Akka Java API创建不响应的TCP接收器   JavaScriptjQuery在java中将记录上传到数据库时的进度条   如何在重新绘制时在java小程序中显示上一个图像