Skip to main content

liquid

:warning: WARNING
This SDK is in beta and will increment quickly to add in more functionality.
An (unoficial) AquaSec Python SDK for automation purposes. The goal is to make working with the AquaSec API's easier and more predictable.

How to Get Started

In AquaSec there are multiple ways to authenticate and it largely depends on the deployment model (SaaS or Local). In order to make this an all-in-one sdk we support both deployment models. Within SaaS there is two ways to authenticate, an API Key or a static (non-sso) user/password authentication.

pip install liquid-sdk

Local Deployment Model:

  • Set the following env variables:
    • AQUA_USER
    • AQUA_PASS
    • AQUA_URL
  • Then you can instantiate the client like this:
    AQUA_CLIENT = liquid.client("aqua_cwp", {"auth_options": {"ssl_verify": False}})
    

Saas Deployment Model (Static User):

  • Set the following env variables:
    • AQUA_USER
    • AQUA_PASS
  • Then you can instantiate the client like this:
    AQUA_CLIENT = liquid.client("aqua_cwp", {"auth_options": {"ssl_verify": True}})
    
    

Saas Deployment Model (API Key):

[!IMPORTANT] Please follow the AquaSec Documentation for creating an API Key and associating the correct priviledges to it.

  • Set the following env variables:
    • AQUA_API_KEY
    • AQUA_API_SECRET
    • AQUA_CSP_ROLES (comma separated list of roles created in AQUA that the sdk client will assume i.e. "Auditor")
    • AQUA_API_ACTIONS (comma separated list of api actions i.e."get,post,delete")
  • Then you can instantiate the client like this:
    AQUA_CLIENT = liquid.client(
    "aqua_cwp", {"auth_options": {"auth_type": "saas_api", "ssl_verify": True}}
    )
    

Contributing

Release files for liquid-sdk 0.0.2

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

Source distribution (sdist)

Source distribution for liquid-sdk 0.0.2
File Size Uploaded
liquid_sdk-0.0.2.tar.gz 13.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for liquid-sdk 0.0.2
File Interpreter ABI Platform
liquid_sdk-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 22.8 kB

Release files / liquid_sdk-0.0.2.tar.gz

Download URL liquid_sdk-0.0.2.tar.gz
Size 13.0 kB
Tags Source
SHA-256 checksum
How to use checksums
6b12177abe73053f6a384619426ed0a7c57b6a488f32e1186defff9c649b0aef
BLAKE2b-256 checksum
How to use checksums
491ff4dfb1c989104f24311b42eec1b27a2c77aba2f861e21cc85b47e90859cf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.2

Release files / liquid_sdk-0.0.2-py3-none-any.whl

Download URL liquid_sdk-0.0.2-py3-none-any.whl
Size 9.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b328ab6e4efe7f61069b9653077e25bde01575680cd604167a9b035d1c470762
BLAKE2b-256 checksum
How to use checksums
2017ddb09236d02ef982e3acee1c20f0300a4a636156e085b444725e88612a3b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.2

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

0.0.1

2 release files

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