Mcafee Web Gateway API functionality
Project description
Overview:
This is an open source project to help developers working on the McAfee Web Gateway product, Since McAFee lacks a pre-developed code package. Package is written in reference of MWG Version 8.2.
Usage:
from webgatewayapi.authenticate import authenticate
MWG_SERVER = input("Enter MWG Server")
PORT = input("Enter API Port")
authServer = authenticate(hostname=MWG_SERVER, port=PORT)
auth = authServer.createSession(username="something", password="something")
print(auth.session)
from webgatewayapi.appliances import appliances
appliance = appliances(auth=auth.session, hostname=MWG_SERVER, port=PORT)
listappliance = appliance.listAppliances()
print(listappliance)
from webgatewayapi.listdata import listdata
list = listdata(auth.auth.session, hostname=MWG_SERVER, port=PORT)
getalllists = listdata.listdata()
print(getalllists)
trustedsoruce:
publichostvalidation = trustedsource()
print(publichostvalidation.lookup(data=test.setup()))
Contribution:
This is an Open Source Project, Contributions are welcome.
#License: MIT License __
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mcafee-mwgapi-0.3.tar.gz.
File metadata
- Download URL: mcafee-mwgapi-0.3.tar.gz
- Upload date:
- Size: 7.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
892319166d6b18f621b02b41e497b28ab6ed83c7c7e715c6838bb19c42efc96c
|
|
| MD5 |
1854e3667a593ab03d6ed50f26c0fbdd
|
|
| BLAKE2b-256 |
8436e9a9598897da8a0bc1dc26fdbc4b386a5ad1a73b06aee824006496e2efb2
|
File details
Details for the file mcafee_mwgapi-0.3-py3-none-any.whl.
File metadata
- Download URL: mcafee_mwgapi-0.3-py3-none-any.whl
- Upload date:
- Size: 12.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
11d9d027958f3c72e69ac4f67c26f2238a0b0552d306cd341b64799fd031bf54
|
|
| MD5 |
b13c1da7013ce9723c8363924dff62a0
|
|
| BLAKE2b-256 |
c77e6c4294d7e46254f454fc871c8d92fa56b981a3757451afef817d6fcbf435
|