Skip to main content

Interface Package for the McAfee SECURE API

Project description

python-api

McAfee SECURE API - Python Module

This Python module interfaces with the McAfee SECURE API to issue API requests.

Your API Key may be found at https://www.mcafeesecure.com/user/account/api or by contacting support@mcafeesecure.com.

This module requires one non-standard package: requests - a Python HTTP library

Example Uses:

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)

General API Notes:

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.

Changes:

* 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcafeesecure_api-0.0.5.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcafeesecure_api-0.0.5-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file mcafeesecure_api-0.0.5.tar.gz.

File metadata

  • Download URL: mcafeesecure_api-0.0.5.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.2

File hashes

Hashes for mcafeesecure_api-0.0.5.tar.gz
Algorithm Hash digest
SHA256 fb3d54a88b1bc36e46f7335b23b8f5bef05da4c9409192f8c09a9347a2bdf0b7
MD5 42ff60e969018eb30875536cdbdbb096
BLAKE2b-256 93485f0e314f45db5e848a58561b53e21bff504c67bc139b99daa468bdaa6d57

See more details on using hashes here.

File details

Details for the file mcafeesecure_api-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: mcafeesecure_api-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.2

File hashes

Hashes for mcafeesecure_api-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 7bd6c15f97086c1c5328511cc05dce6bdbb937aafec4f3e8af91a5d20d55ba79
MD5 3505155d6a0d6a38decd375cc5ba4762
BLAKE2b-256 ed875d3f010f1df08b5c334d4b414489f13b08fc7e2c3719a53fa624eab48be4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page