Skip to main content

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 __

Metadata

Release files for mcafee-mwgapi 0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mcafee-mwgapi 0.3
File Size Uploaded Provenance
mcafee-mwgapi-0.3.tar.gz 7.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for mcafee-mwgapi 0.3
File Interpreter ABI Platform
mcafee_mwgapi-0.3-py3-none-any.whl Python 3 none any Details

Total release size: 19.9 kB

Release files / mcafee-mwgapi-0.3.tar.gz

Download URL mcafee-mwgapi-0.3.tar.gz
Size 7.5 kB
Tags Source
SHA-256 checksum
How to use checksums
892319166d6b18f621b02b41e497b28ab6ed83c7c7e715c6838bb19c42efc96c
BLAKE2b-256 checksum
How to use checksums
8436e9a9598897da8a0bc1dc26fdbc4b386a5ad1a73b06aee824006496e2efb2
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / mcafee_mwgapi-0.3-py3-none-any.whl

Download URL mcafee_mwgapi-0.3-py3-none-any.whl
Size 12.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
11d9d027958f3c72e69ac4f67c26f2238a0b0552d306cd341b64799fd031bf54
BLAKE2b-256 checksum
How to use checksums
c77e6c4294d7e46254f454fc871c8d92fa56b981a3757451afef817d6fcbf435
Upload date
Uploaded using Trusted Publishing?
What is 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

Security for mcafee-mwgapi 0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.3 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page