cribl-control-plane 0.1.0b1__tar.gz → 0.1.1rc1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of cribl-control-plane might be problematic. Click here for more details.
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/PKG-INFO +47 -13
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/README-PYPI.md +46 -12
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/pyproject.toml +1 -1
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/_hooks/clientcredentials.py +91 -41
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/_version.py +4 -4
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/errors/apierror.py +1 -1
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/errors/criblcontrolplaneerror.py +1 -1
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/errors/error.py +1 -1
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/errors/healthstatus_error.py +1 -1
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/errors/no_response_error.py +1 -1
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/errors/responsevalidationerror.py +1 -1
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/groups_sdk.py +4 -4
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/httpclient.py +0 -1
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/lakedatasets.py +12 -12
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/__init__.py +92 -25
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/configgroup.py +17 -2
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/createversionundoop.py +3 -3
- cribl_control_plane-0.1.1rc1/src/cribl_control_plane/models/cribllakedatasetupdate.py +81 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/distributedsummary.py +6 -0
- cribl_control_plane-0.1.1rc1/src/cribl_control_plane/models/gitinfo.py +34 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/input.py +65 -63
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputappscope.py +4 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputazureblob.py +4 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputcollection.py +4 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputconfluentcloud.py +8 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputcribl.py +4 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputcriblhttp.py +4 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputcribllakehttp.py +4 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputcriblmetrics.py +4 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputcribltcp.py +4 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputcrowdstrike.py +7 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputdatadogagent.py +4 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputdatagen.py +4 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputedgeprometheus.py +12 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputelastic.py +11 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputeventhub.py +6 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputexec.py +4 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputfile.py +6 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputfirehose.py +4 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputgooglepubsub.py +7 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputgrafana.py +8 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputhttp.py +4 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputhttpraw.py +4 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputjournalfiles.py +4 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputkafka.py +8 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputkinesis.py +15 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputkubeevents.py +4 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputkubelogs.py +4 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputkubemetrics.py +4 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputloki.py +4 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputmetrics.py +4 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputmodeldriventelemetry.py +4 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputmsk.py +7 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputnetflow.py +4 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputoffice365mgmt.py +11 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputoffice365msgtrace.py +11 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputoffice365service.py +11 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputopentelemetry.py +8 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputprometheus.py +10 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputprometheusrw.py +4 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputrawudp.py +4 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputs3.py +7 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputs3inventory.py +7 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputsecuritylake.py +7 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputsnmp.py +11 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputsplunk.py +9 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputsplunkhec.py +4 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputsplunksearch.py +7 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputsqs.py +17 -10
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputsyslog.py +8 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputsystemmetrics.py +32 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputsystemstate.py +4 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputtcp.py +4 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputtcpjson.py +4 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputwef.py +6 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputwindowsmetrics.py +28 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputwineventlogs.py +8 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputwiz.py +7 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputwizwebhook.py +4 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputzscalerhec.py +4 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/jobinfo.py +4 -1
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/nodeprovidedinfo.py +4 -1
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/output.py +86 -81
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputazureblob.py +20 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputazuredataexplorer.py +28 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputazureeventhub.py +17 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputazurelogs.py +13 -0
- cribl_control_plane-0.1.1rc1/src/cribl_control_plane/models/outputchronicle.py +444 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputclickhouse.py +17 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputcloudwatch.py +13 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputconfluentcloud.py +24 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputcriblhttp.py +15 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputcribllake.py +21 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputcribltcp.py +12 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputcrowdstrikenextgensiem.py +15 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputdatabricks.py +28 -176
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputdatadog.py +30 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputdataset.py +23 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputdls3.py +35 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputdynatracehttp.py +22 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputdynatraceotlp.py +22 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputelastic.py +18 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputelasticcloud.py +13 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputexabeam.py +14 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputfilesystem.py +15 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputgooglechronicle.py +26 -4
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputgooglecloudlogging.py +28 -4
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputgooglecloudstorage.py +28 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputgooglepubsub.py +13 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputgrafanacloud.py +50 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputgraphite.py +12 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputhoneycomb.py +13 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputhumiohec.py +15 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputinfluxdb.py +19 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputkafka.py +24 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputkinesis.py +15 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputloki.py +20 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputminio.py +28 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputmsk.py +23 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputnewrelic.py +16 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputnewrelicevents.py +16 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputopentelemetry.py +22 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputprometheus.py +13 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputring.py +2 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputs3.py +35 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputsecuritylake.py +29 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputsentinel.py +15 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputsentineloneaisiem.py +13 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputservicenow.py +21 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputsignalfx.py +13 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputsns.py +13 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputsplunk.py +15 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputsplunkhec.py +13 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputsplunklb.py +15 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputsqs.py +23 -10
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputstatsd.py +12 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputstatsdext.py +12 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputsumologic.py +15 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputsyslog.py +24 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputtcpjson.py +12 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputwavefront.py +13 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputwebhook.py +23 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputxsiam.py +13 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/packinfo.py +3 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/packinstallinfo.py +3 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/runnablejobcollection.py +4 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/updatecribllakedatasetbylakeidandidop.py +9 -5
- cribl_control_plane-0.1.1rc1/src/cribl_control_plane/models/updatepacksop.py +27 -0
- cribl_control_plane-0.1.1rc1/src/cribl_control_plane/models/uploadpackresponse.py +13 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/packs.py +196 -1
- cribl_control_plane-0.1.0b1/src/cribl_control_plane/models/gitinfo.py +0 -23
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/py.typed +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/__init__.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/_hooks/__init__.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/_hooks/registration.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/_hooks/sdkhooks.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/_hooks/types.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/acl.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/auth_sdk.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/basesdk.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/branches.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/commits.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/commits_files.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/configs_versions.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/destinations.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/destinations_pq.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/errors/__init__.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/groups_configs.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/health.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/hectokens.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/addhectokenrequest.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/authtoken.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/branchinfo.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/cacheconnection.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/cacheconnectionbackfillstatus.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/cloudprovider.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/commit.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/configgroupcloud.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/configgrouplookups.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/createconfiggroupbyproductop.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/createcribllakedatasetbylakeidop.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/createinputhectokenbyidop.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/createinputop.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/createoutputop.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/createoutputtestbyidop.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/createpacksop.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/createpipelineop.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/createroutesappendbyidop.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/createversioncommitop.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/createversionpushop.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/createversionrevertop.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/criblevent.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/cribllakedataset.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/currentbranchresult.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/datasetmetadata.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/datasetmetadataruninfo.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/deleteconfiggroupbyproductandidop.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/deletecribllakedatasetbylakeidandidop.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/deleteinputbyidop.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/deleteoutputbyidop.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/deleteoutputpqbyidop.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/deletepacksbyidop.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/deletepipelinebyidop.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/deployrequest.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/deployrequestlookups.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/difffiles.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/error.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/getconfiggroupaclbyproductandidop.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/getconfiggroupaclteamsbyproductandidop.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/getconfiggroupbyproductandidop.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/getconfiggroupconfigversionbyproductandidop.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/getcribllakedatasetbylakeidandidop.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/getcribllakedatasetbylakeidop.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/gethealthinfoop.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/getinputbyidop.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/getmasterworkerentryop.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/getoutputbyidop.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/getoutputpqbyidop.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/getoutputsamplesbyidop.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/getpacksbyidop.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/getpacksop.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/getpipelinebyidop.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/getroutesbyidop.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/getsummaryop.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/getversionbranchop.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/getversioncountop.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/getversiondiffop.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/getversionfilesop.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/getversioninfoop.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/getversionop.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/getversionshowop.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/getversionstatusop.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/gitcommitparams.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/gitcommitsummary.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/gitcountresult.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/gitdiffresult.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/gitfile.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/gitfilesresponse.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/gitlogresult.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/gitrevertparams.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/gitrevertresult.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/gitshowresult.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/gitstatusresult.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/hbcriblinfo.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/hbleaderinfo.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/healthstatus.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/heartbeatmetadata.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/jobstatus.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/lakedatasetsearchconfig.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/lakehouseconnectiontype.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/listconfiggroupbyproductop.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/listinputop.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/listmasterworkerentryop.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/listoutputop.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/listpipelineop.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/listroutesop.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/logininfo.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/lookupversions.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/masterworkerentry.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/nodeactiveupgradestatus.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/nodefailedupgradestatus.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/nodeskippedupgradestatus.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/nodeupgradestate.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/nodeupgradestatus.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputdefault.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputdevnull.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputdiskspool.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputnetflow.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputrouter.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputsamplesresponse.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputsnmp.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputtestrequest.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputtestresponse.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/packrequestbody_union.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/packupgraderequest.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/pipeline.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/pipelinefunctionconf.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/productscore.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/rbacresource.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/resourcepolicy.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/routeconf.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/routes.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/routesroute.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/runnablejob.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/runnablejobexecutor.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/runnablejobscheduledsearch.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/schemeclientoauth.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/security.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/teamaccesscontrollist.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/updateconfiggroupbyproductandidop.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/updateconfiggroupdeploybyproductandidop.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/updatehectokenrequest.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/updateinputbyidop.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/updateinputhectokenbyidandtokenop.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/updateoutputbyidop.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/updatepacksbyidop.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/updatepipelinebyidop.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/updateroutesbyidop.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/useraccesscontrollist.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/workertypes.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/nodes.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/pipelines.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/py.typed +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/routes_sdk.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/samples.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/sdk.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/sdkconfiguration.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/sources.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/statuses.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/summaries.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/teams.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/tokens.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/types/__init__.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/types/basemodel.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/utils/__init__.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/utils/annotations.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/utils/datetimes.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/utils/enums.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/utils/eventstreaming.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/utils/forms.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/utils/headers.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/utils/logger.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/utils/metadata.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/utils/queryparams.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/utils/requestbodies.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/utils/retries.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/utils/security.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/utils/serializers.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/utils/unmarshal_json_response.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/utils/url.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/utils/values.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/versions.py +0 -0
- {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/versions_configs.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cribl-control-plane
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.1rc1
|
|
4
4
|
Summary: Python Client SDK Generated by Speakeasy.
|
|
5
5
|
Author: Speakeasy
|
|
6
6
|
Requires-Python: >=3.9.2
|
|
@@ -17,11 +17,20 @@ Project-URL: Repository, https://github.com/criblio/cribl_control_plane_sdk_pyth
|
|
|
17
17
|
Description-Content-Type: text/markdown
|
|
18
18
|
|
|
19
19
|
# cribl_control_plane_sdk_python
|
|
20
|
-
<!-- Start Summary [summary] -->
|
|
21
|
-
## Summary
|
|
22
20
|
|
|
23
|
-
Cribl
|
|
24
|
-
|
|
21
|
+
The Cribl Python SDK for the control plane provides operational control over Cribl resources and helps streamline the process of integrating with Cribl.
|
|
22
|
+
|
|
23
|
+
In addition to the usage examples in this repository, the Cribl documentation includes [code examples for common use cases](https://docs.cribl.io/cribl-as-code/code-examples).
|
|
24
|
+
|
|
25
|
+
Complementary API reference documentation is available at https://docs.cribl.io/cribl-as-code/api-reference. Product documentation is available at https://docs.cribl.io.
|
|
26
|
+
|
|
27
|
+
> [!IMPORTANT]
|
|
28
|
+
> **Preview Feature**
|
|
29
|
+
> The Cribl SDKs are Preview features that are still being developed. We do not recommend using them in a production environment, because the features might not be fully tested or optimized for performance, and related documentation could be incomplete.
|
|
30
|
+
>
|
|
31
|
+
> Please continue to submit feedback through normal Cribl support channels, but assistance might be limited while the features remain in Preview.
|
|
32
|
+
|
|
33
|
+
<!-- No Summary [summary] -->
|
|
25
34
|
|
|
26
35
|
<!-- Start Table of Contents [toc] -->
|
|
27
36
|
## Table of Contents
|
|
@@ -32,6 +41,7 @@ Cribl API Reference: This API Reference lists available REST endpoints, along wi
|
|
|
32
41
|
* [SDK Example Usage](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/#sdk-example-usage)
|
|
33
42
|
* [Authentication](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/#authentication)
|
|
34
43
|
* [Available Resources and Operations](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/#available-resources-and-operations)
|
|
44
|
+
* [File uploads](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/#file-uploads)
|
|
35
45
|
* [Retries](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/#retries)
|
|
36
46
|
* [Error Handling](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/#error-handling)
|
|
37
47
|
* [Custom HTTP Client](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/#custom-http-client)
|
|
@@ -306,14 +316,10 @@ with CriblControlPlane(
|
|
|
306
316
|
<details open>
|
|
307
317
|
<summary>Available methods</summary>
|
|
308
318
|
|
|
309
|
-
### [auth](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/authsdk/README.md)
|
|
310
|
-
|
|
311
|
-
|
|
312
319
|
#### [auth.tokens](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/tokens/README.md)
|
|
313
320
|
|
|
314
321
|
* [get](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/tokens/README.md#get) - Log in and fetch an authentication token
|
|
315
322
|
|
|
316
|
-
|
|
317
323
|
### [destinations](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/destinations/README.md)
|
|
318
324
|
|
|
319
325
|
* [list](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/destinations/README.md#list) - List all Destinations
|
|
@@ -378,6 +384,7 @@ with CriblControlPlane(
|
|
|
378
384
|
|
|
379
385
|
* [install](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/packs/README.md#install) - Create or install a Pack
|
|
380
386
|
* [list](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/packs/README.md#list) - List all Packs
|
|
387
|
+
* [upload](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/packs/README.md#upload) - Upload a Pack file
|
|
381
388
|
* [delete](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/packs/README.md#delete) - Uninstall a Pack
|
|
382
389
|
* [get](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/packs/README.md#get) - Get a Pack
|
|
383
390
|
* [update](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/packs/README.md#update) - Upgrade a Pack
|
|
@@ -410,9 +417,6 @@ with CriblControlPlane(
|
|
|
410
417
|
* [create](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/hectokens/README.md#create) - Add an HEC token and optional metadata to a Splunk HEC Source
|
|
411
418
|
* [update](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/hectokens/README.md#update) - Update metadata for an HEC token for a Splunk HEC Source
|
|
412
419
|
|
|
413
|
-
### [versions](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/versions/README.md)
|
|
414
|
-
|
|
415
|
-
|
|
416
420
|
#### [versions.branches](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/branches/README.md)
|
|
417
421
|
|
|
418
422
|
* [list](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/branches/README.md#list) - List all branches in the Git repository used for Cribl configuration
|
|
@@ -444,6 +448,36 @@ with CriblControlPlane(
|
|
|
444
448
|
</details>
|
|
445
449
|
<!-- End Available Resources and Operations [operations] -->
|
|
446
450
|
|
|
451
|
+
<!-- Start File uploads [file-upload] -->
|
|
452
|
+
## File uploads
|
|
453
|
+
|
|
454
|
+
Certain SDK methods accept file objects as part of a request body or multi-part request. It is possible and typically recommended to upload files as a stream rather than reading the entire contents into memory. This avoids excessive memory consumption and potentially crashing with out-of-memory errors when working with very large files. The following example demonstrates how to attach a file stream to a request.
|
|
455
|
+
|
|
456
|
+
> [!TIP]
|
|
457
|
+
>
|
|
458
|
+
> For endpoints that handle file uploads bytes arrays can also be used. However, using streams is recommended for large files.
|
|
459
|
+
>
|
|
460
|
+
|
|
461
|
+
```python
|
|
462
|
+
from cribl_control_plane import CriblControlPlane, models
|
|
463
|
+
import os
|
|
464
|
+
|
|
465
|
+
|
|
466
|
+
with CriblControlPlane(
|
|
467
|
+
server_url="https://api.example.com",
|
|
468
|
+
security=models.Security(
|
|
469
|
+
bearer_auth=os.getenv("CRIBLCONTROLPLANE_BEARER_AUTH", ""),
|
|
470
|
+
),
|
|
471
|
+
) as ccp_client:
|
|
472
|
+
|
|
473
|
+
res = ccp_client.packs.upload(filename="example.file", request_body=open("example.file", "rb"))
|
|
474
|
+
|
|
475
|
+
# Handle response
|
|
476
|
+
print(res)
|
|
477
|
+
|
|
478
|
+
```
|
|
479
|
+
<!-- End File uploads [file-upload] -->
|
|
480
|
+
|
|
447
481
|
<!-- Start Retries [retries] -->
|
|
448
482
|
## Retries
|
|
449
483
|
|
|
@@ -657,7 +691,7 @@ with CriblControlPlane(
|
|
|
657
691
|
|
|
658
692
|
|
|
659
693
|
**Inherit from [`CriblControlPlaneError`](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/./src/cribl_control_plane/errors/criblcontrolplaneerror.py)**:
|
|
660
|
-
* [`HealthStatusError`](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/./src/cribl_control_plane/errors/healthstatuserror.py): Healthy status. Status code `420`. Applicable to 1 of
|
|
694
|
+
* [`HealthStatusError`](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/./src/cribl_control_plane/errors/healthstatuserror.py): Healthy status. Status code `420`. Applicable to 1 of 63 methods.*
|
|
661
695
|
* [`ResponseValidationError`](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/./src/cribl_control_plane/errors/responsevalidationerror.py): Type mismatch between the response data and the expected Pydantic model. Provides access to the Pydantic validation error via the `cause` attribute.
|
|
662
696
|
|
|
663
697
|
</details>
|
|
@@ -1,9 +1,18 @@
|
|
|
1
1
|
# cribl_control_plane_sdk_python
|
|
2
|
-
<!-- Start Summary [summary] -->
|
|
3
|
-
## Summary
|
|
4
2
|
|
|
5
|
-
Cribl
|
|
6
|
-
|
|
3
|
+
The Cribl Python SDK for the control plane provides operational control over Cribl resources and helps streamline the process of integrating with Cribl.
|
|
4
|
+
|
|
5
|
+
In addition to the usage examples in this repository, the Cribl documentation includes [code examples for common use cases](https://docs.cribl.io/cribl-as-code/code-examples).
|
|
6
|
+
|
|
7
|
+
Complementary API reference documentation is available at https://docs.cribl.io/cribl-as-code/api-reference. Product documentation is available at https://docs.cribl.io.
|
|
8
|
+
|
|
9
|
+
> [!IMPORTANT]
|
|
10
|
+
> **Preview Feature**
|
|
11
|
+
> The Cribl SDKs are Preview features that are still being developed. We do not recommend using them in a production environment, because the features might not be fully tested or optimized for performance, and related documentation could be incomplete.
|
|
12
|
+
>
|
|
13
|
+
> Please continue to submit feedback through normal Cribl support channels, but assistance might be limited while the features remain in Preview.
|
|
14
|
+
|
|
15
|
+
<!-- No Summary [summary] -->
|
|
7
16
|
|
|
8
17
|
<!-- Start Table of Contents [toc] -->
|
|
9
18
|
## Table of Contents
|
|
@@ -14,6 +23,7 @@ Cribl API Reference: This API Reference lists available REST endpoints, along wi
|
|
|
14
23
|
* [SDK Example Usage](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/#sdk-example-usage)
|
|
15
24
|
* [Authentication](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/#authentication)
|
|
16
25
|
* [Available Resources and Operations](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/#available-resources-and-operations)
|
|
26
|
+
* [File uploads](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/#file-uploads)
|
|
17
27
|
* [Retries](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/#retries)
|
|
18
28
|
* [Error Handling](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/#error-handling)
|
|
19
29
|
* [Custom HTTP Client](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/#custom-http-client)
|
|
@@ -288,14 +298,10 @@ with CriblControlPlane(
|
|
|
288
298
|
<details open>
|
|
289
299
|
<summary>Available methods</summary>
|
|
290
300
|
|
|
291
|
-
### [auth](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/authsdk/README.md)
|
|
292
|
-
|
|
293
|
-
|
|
294
301
|
#### [auth.tokens](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/tokens/README.md)
|
|
295
302
|
|
|
296
303
|
* [get](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/tokens/README.md#get) - Log in and fetch an authentication token
|
|
297
304
|
|
|
298
|
-
|
|
299
305
|
### [destinations](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/destinations/README.md)
|
|
300
306
|
|
|
301
307
|
* [list](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/destinations/README.md#list) - List all Destinations
|
|
@@ -360,6 +366,7 @@ with CriblControlPlane(
|
|
|
360
366
|
|
|
361
367
|
* [install](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/packs/README.md#install) - Create or install a Pack
|
|
362
368
|
* [list](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/packs/README.md#list) - List all Packs
|
|
369
|
+
* [upload](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/packs/README.md#upload) - Upload a Pack file
|
|
363
370
|
* [delete](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/packs/README.md#delete) - Uninstall a Pack
|
|
364
371
|
* [get](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/packs/README.md#get) - Get a Pack
|
|
365
372
|
* [update](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/packs/README.md#update) - Upgrade a Pack
|
|
@@ -392,9 +399,6 @@ with CriblControlPlane(
|
|
|
392
399
|
* [create](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/hectokens/README.md#create) - Add an HEC token and optional metadata to a Splunk HEC Source
|
|
393
400
|
* [update](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/hectokens/README.md#update) - Update metadata for an HEC token for a Splunk HEC Source
|
|
394
401
|
|
|
395
|
-
### [versions](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/versions/README.md)
|
|
396
|
-
|
|
397
|
-
|
|
398
402
|
#### [versions.branches](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/branches/README.md)
|
|
399
403
|
|
|
400
404
|
* [list](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/branches/README.md#list) - List all branches in the Git repository used for Cribl configuration
|
|
@@ -426,6 +430,36 @@ with CriblControlPlane(
|
|
|
426
430
|
</details>
|
|
427
431
|
<!-- End Available Resources and Operations [operations] -->
|
|
428
432
|
|
|
433
|
+
<!-- Start File uploads [file-upload] -->
|
|
434
|
+
## File uploads
|
|
435
|
+
|
|
436
|
+
Certain SDK methods accept file objects as part of a request body or multi-part request. It is possible and typically recommended to upload files as a stream rather than reading the entire contents into memory. This avoids excessive memory consumption and potentially crashing with out-of-memory errors when working with very large files. The following example demonstrates how to attach a file stream to a request.
|
|
437
|
+
|
|
438
|
+
> [!TIP]
|
|
439
|
+
>
|
|
440
|
+
> For endpoints that handle file uploads bytes arrays can also be used. However, using streams is recommended for large files.
|
|
441
|
+
>
|
|
442
|
+
|
|
443
|
+
```python
|
|
444
|
+
from cribl_control_plane import CriblControlPlane, models
|
|
445
|
+
import os
|
|
446
|
+
|
|
447
|
+
|
|
448
|
+
with CriblControlPlane(
|
|
449
|
+
server_url="https://api.example.com",
|
|
450
|
+
security=models.Security(
|
|
451
|
+
bearer_auth=os.getenv("CRIBLCONTROLPLANE_BEARER_AUTH", ""),
|
|
452
|
+
),
|
|
453
|
+
) as ccp_client:
|
|
454
|
+
|
|
455
|
+
res = ccp_client.packs.upload(filename="example.file", request_body=open("example.file", "rb"))
|
|
456
|
+
|
|
457
|
+
# Handle response
|
|
458
|
+
print(res)
|
|
459
|
+
|
|
460
|
+
```
|
|
461
|
+
<!-- End File uploads [file-upload] -->
|
|
462
|
+
|
|
429
463
|
<!-- Start Retries [retries] -->
|
|
430
464
|
## Retries
|
|
431
465
|
|
|
@@ -639,7 +673,7 @@ with CriblControlPlane(
|
|
|
639
673
|
|
|
640
674
|
|
|
641
675
|
**Inherit from [`CriblControlPlaneError`](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/./src/cribl_control_plane/errors/criblcontrolplaneerror.py)**:
|
|
642
|
-
* [`HealthStatusError`](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/./src/cribl_control_plane/errors/healthstatuserror.py): Healthy status. Status code `420`. Applicable to 1 of
|
|
676
|
+
* [`HealthStatusError`](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/./src/cribl_control_plane/errors/healthstatuserror.py): Healthy status. Status code `420`. Applicable to 1 of 63 methods.*
|
|
643
677
|
* [`ResponseValidationError`](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/./src/cribl_control_plane/errors/responsevalidationerror.py): Type mismatch between the response data and the expected Pydantic model. Provides access to the Pydantic validation error via the `cause` attribute.
|
|
644
678
|
|
|
645
679
|
</details>
|
|
@@ -21,6 +21,7 @@ class Credentials:
|
|
|
21
21
|
client_id: str
|
|
22
22
|
client_secret: str
|
|
23
23
|
token_url: str
|
|
24
|
+
scopes: Optional[List[str]]
|
|
24
25
|
additional_properties: Dict[str, str]
|
|
25
26
|
|
|
26
27
|
def __init__(
|
|
@@ -28,25 +29,27 @@ class Credentials:
|
|
|
28
29
|
client_id: str,
|
|
29
30
|
client_secret: str,
|
|
30
31
|
token_url: str,
|
|
32
|
+
scopes: Optional[List[str]],
|
|
31
33
|
additional_properties: Optional[Dict[str, str]] = None,
|
|
32
34
|
):
|
|
33
35
|
self.client_id = client_id
|
|
34
36
|
self.client_secret = client_secret
|
|
35
37
|
self.token_url = token_url
|
|
38
|
+
self.scopes = scopes
|
|
36
39
|
self.additional_properties = additional_properties or {}
|
|
37
40
|
|
|
38
41
|
|
|
39
42
|
class Session:
|
|
40
43
|
credentials: Credentials
|
|
41
44
|
token: str
|
|
42
|
-
scopes:
|
|
45
|
+
scopes: List[str]
|
|
43
46
|
expires_at: Optional[int] = None
|
|
44
47
|
|
|
45
48
|
def __init__(
|
|
46
49
|
self,
|
|
47
50
|
credentials: Credentials,
|
|
48
51
|
token: str,
|
|
49
|
-
scopes:
|
|
52
|
+
scopes: List[str],
|
|
50
53
|
expires_at: Optional[int] = None,
|
|
51
54
|
):
|
|
52
55
|
self.credentials = credentials
|
|
@@ -57,7 +60,7 @@ class Session:
|
|
|
57
60
|
|
|
58
61
|
class ClientCredentialsHook(SDKInitHook, BeforeRequestHook, AfterErrorHook):
|
|
59
62
|
client: HttpClient
|
|
60
|
-
sessions: Dict[str, Session] = {}
|
|
63
|
+
sessions: Dict[str, Dict[str, Session]] = {}
|
|
61
64
|
|
|
62
65
|
def sdk_init(self, config: SDKConfiguration) -> SDKConfiguration:
|
|
63
66
|
if config.client is None:
|
|
@@ -69,8 +72,7 @@ class ClientCredentialsHook(SDKInitHook, BeforeRequestHook, AfterErrorHook):
|
|
|
69
72
|
def before_request(
|
|
70
73
|
self, hook_ctx: BeforeRequestContext, request: httpx.Request
|
|
71
74
|
) -> httpx.Request:
|
|
72
|
-
if hook_ctx
|
|
73
|
-
# OAuth2 not in use
|
|
75
|
+
if self.is_hook_disabled(hook_ctx):
|
|
74
76
|
return request
|
|
75
77
|
|
|
76
78
|
credentials = self.get_credentials(hook_ctx)
|
|
@@ -81,22 +83,24 @@ class ClientCredentialsHook(SDKInitHook, BeforeRequestHook, AfterErrorHook):
|
|
|
81
83
|
credentials.client_id, credentials.client_secret
|
|
82
84
|
)
|
|
83
85
|
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
):
|
|
91
|
-
sess = self.do_token_request(
|
|
86
|
+
scopes = self.get_required_scopes(credentials, hook_ctx)
|
|
87
|
+
session = self.get_existing_session(session_key, scopes)
|
|
88
|
+
|
|
89
|
+
if session is None:
|
|
90
|
+
# Create new session
|
|
91
|
+
session = self.do_token_request(
|
|
92
92
|
hook_ctx,
|
|
93
93
|
credentials,
|
|
94
|
-
|
|
94
|
+
scopes,
|
|
95
95
|
)
|
|
96
96
|
|
|
97
|
-
self.sessions
|
|
97
|
+
if session_key not in self.sessions:
|
|
98
|
+
self.sessions[session_key] = {}
|
|
99
|
+
|
|
100
|
+
scope_key = self.get_scope_key(scopes)
|
|
101
|
+
self.sessions[session_key][scope_key] = session
|
|
98
102
|
|
|
99
|
-
request.headers["Authorization"] = f"Bearer {
|
|
103
|
+
request.headers["Authorization"] = f"Bearer {session.token}"
|
|
100
104
|
|
|
101
105
|
return request
|
|
102
106
|
|
|
@@ -106,8 +110,7 @@ class ClientCredentialsHook(SDKInitHook, BeforeRequestHook, AfterErrorHook):
|
|
|
106
110
|
response: Optional[httpx.Response],
|
|
107
111
|
error: Optional[Exception],
|
|
108
112
|
) -> Union[Tuple[Optional[httpx.Response], Optional[Exception]], Exception]:
|
|
109
|
-
if hook_ctx
|
|
110
|
-
# OAuth2 not in use
|
|
113
|
+
if self.is_hook_disabled(hook_ctx):
|
|
111
114
|
return (response, error)
|
|
112
115
|
|
|
113
116
|
# We don't want to refresh the token if the error is not related to the token
|
|
@@ -122,12 +125,15 @@ class ClientCredentialsHook(SDKInitHook, BeforeRequestHook, AfterErrorHook):
|
|
|
122
125
|
session_key = self.get_session_key(
|
|
123
126
|
credentials.client_id, credentials.client_secret
|
|
124
127
|
)
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
+
scopes = self.get_required_scopes(credentials, hook_ctx)
|
|
129
|
+
scope_key = self.get_scope_key(scopes)
|
|
130
|
+
self.remove_session(session_key, scope_key)
|
|
128
131
|
|
|
129
132
|
return (response, error)
|
|
130
133
|
|
|
134
|
+
def is_hook_disabled(self, hook_ctx: HookContext) -> bool:
|
|
135
|
+
return hook_ctx.oauth2_scopes is None
|
|
136
|
+
|
|
131
137
|
def get_credentials(self, hook_ctx: HookContext) -> Optional[Credentials]:
|
|
132
138
|
source = hook_ctx.security_source
|
|
133
139
|
|
|
@@ -145,21 +151,19 @@ class ClientCredentialsHook(SDKInitHook, BeforeRequestHook, AfterErrorHook):
|
|
|
145
151
|
# Extract additional properties from security object
|
|
146
152
|
additional_properties = {}
|
|
147
153
|
for key, value in dict(security.client_oauth).items():
|
|
148
|
-
if key not in ["client_id", "client_secret", "token_url"]:
|
|
154
|
+
if key not in ["client_id", "client_secret", "token_url", "scopes"]:
|
|
149
155
|
additional_properties[key] = value
|
|
150
156
|
|
|
151
157
|
return Credentials(
|
|
152
158
|
client_id=security.client_oauth.client_id,
|
|
153
159
|
client_secret=security.client_oauth.client_secret,
|
|
154
160
|
token_url=security.client_oauth.token_url,
|
|
161
|
+
scopes=None,
|
|
155
162
|
additional_properties=additional_properties,
|
|
156
163
|
)
|
|
157
164
|
|
|
158
165
|
def do_token_request(
|
|
159
|
-
self,
|
|
160
|
-
hook_ctx: HookContext,
|
|
161
|
-
credentials: Credentials,
|
|
162
|
-
scopes: Optional[List[str]],
|
|
166
|
+
self, hook_ctx: HookContext, credentials: Credentials, scopes: List[str]
|
|
163
167
|
) -> Session:
|
|
164
168
|
payload = {
|
|
165
169
|
"grant_type": "client_credentials",
|
|
@@ -167,7 +171,7 @@ class ClientCredentialsHook(SDKInitHook, BeforeRequestHook, AfterErrorHook):
|
|
|
167
171
|
"client_secret": credentials.client_secret,
|
|
168
172
|
}
|
|
169
173
|
|
|
170
|
-
if
|
|
174
|
+
if len(scopes) > 0:
|
|
171
175
|
payload["scope"] = " ".join(scopes)
|
|
172
176
|
|
|
173
177
|
# Add additional properties to payload
|
|
@@ -203,24 +207,70 @@ class ClientCredentialsHook(SDKInitHook, BeforeRequestHook, AfterErrorHook):
|
|
|
203
207
|
)
|
|
204
208
|
|
|
205
209
|
def get_session_key(self, client_id: str, client_secret: str) -> str:
|
|
210
|
+
"""Generate a consistent session key for the given client ID and secret."""
|
|
206
211
|
return hashlib.md5(f"{client_id}:{client_secret}".encode()).hexdigest()
|
|
207
212
|
|
|
213
|
+
def get_required_scopes(
|
|
214
|
+
self, credentials: Credentials, hook_ctx: HookContext
|
|
215
|
+
) -> List[str]:
|
|
216
|
+
"""Return the list of scopes that need to be requested."""
|
|
217
|
+
if credentials.scopes is not None:
|
|
218
|
+
return credentials.scopes
|
|
219
|
+
return hook_ctx.oauth2_scopes or []
|
|
220
|
+
|
|
221
|
+
def get_scope_key(self, scopes: List[str]) -> str:
|
|
222
|
+
"""Generate a consistent scope key for the given scopes."""
|
|
223
|
+
if not scopes:
|
|
224
|
+
return ""
|
|
225
|
+
|
|
226
|
+
sorted_scopes = sorted(scopes)
|
|
227
|
+
return "&".join(sorted_scopes)
|
|
228
|
+
|
|
229
|
+
def remove_session(self, client_key: str, scope_key: str) -> None:
|
|
230
|
+
"""Remove a session and clean up empty client session maps."""
|
|
231
|
+
if client_key in self.sessions and scope_key in self.sessions[client_key]:
|
|
232
|
+
del self.sessions[client_key][scope_key]
|
|
233
|
+
|
|
234
|
+
# Clean up empty client sessions
|
|
235
|
+
if not self.sessions[client_key]:
|
|
236
|
+
del self.sessions[client_key]
|
|
237
|
+
|
|
238
|
+
def get_existing_session(
|
|
239
|
+
self, client_key: str, required_scopes: List[str]
|
|
240
|
+
) -> Optional[Session]:
|
|
241
|
+
"""Find the best session for the required scopes."""
|
|
242
|
+
if client_key not in self.sessions:
|
|
243
|
+
return None
|
|
244
|
+
|
|
245
|
+
client_sessions = self.sessions[client_key]
|
|
246
|
+
scope_key = self.get_scope_key(required_scopes)
|
|
247
|
+
|
|
248
|
+
if scope_key in client_sessions:
|
|
249
|
+
exact_match = client_sessions[scope_key]
|
|
250
|
+
if self.has_token_expired(exact_match.expires_at):
|
|
251
|
+
self.remove_session(client_key, scope_key)
|
|
252
|
+
else:
|
|
253
|
+
return exact_match
|
|
254
|
+
|
|
255
|
+
# If no exact match was found, look for a superset match
|
|
256
|
+
for key, session in client_sessions.items():
|
|
257
|
+
if self.has_token_expired(session.expires_at):
|
|
258
|
+
self.remove_session(client_key, key)
|
|
259
|
+
elif self.has_required_scopes(session.scopes, required_scopes):
|
|
260
|
+
return session
|
|
261
|
+
|
|
262
|
+
return None
|
|
263
|
+
|
|
208
264
|
def has_required_scopes(
|
|
209
|
-
self, scopes:
|
|
265
|
+
self, scopes: List[str], required_scopes: List[str]
|
|
210
266
|
) -> bool:
|
|
211
|
-
if scopes
|
|
212
|
-
return False
|
|
213
|
-
|
|
267
|
+
"""Check if all required scopes are present in the given scopes."""
|
|
214
268
|
return all(scope in scopes for scope in required_scopes)
|
|
215
269
|
|
|
216
|
-
def get_scopes(
|
|
217
|
-
self, required_scopes: List[str], sess: Optional[Session]
|
|
218
|
-
) -> List[str]:
|
|
219
|
-
scopes = required_scopes.copy()
|
|
220
|
-
if sess is not None and sess.scopes is not None:
|
|
221
|
-
scopes.extend(sess.scopes)
|
|
222
|
-
scopes = list(set(scopes))
|
|
223
|
-
return scopes
|
|
224
|
-
|
|
225
270
|
def has_token_expired(self, expires_at: Optional[int]) -> bool:
|
|
226
|
-
|
|
271
|
+
"""
|
|
272
|
+
Check if the token has expired.
|
|
273
|
+
If no expires_in field was returned by the authorization server, the token is considered to never expire.
|
|
274
|
+
A 60-second buffer is applied to refresh tokens before they actually expire.
|
|
275
|
+
"""
|
|
276
|
+
return expires_at is not None and time.time() + 60 >= expires_at
|
{cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/_version.py
RENAMED
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
import importlib.metadata
|
|
4
4
|
|
|
5
5
|
__title__: str = "cribl-control-plane"
|
|
6
|
-
__version__: str = "0.1.
|
|
7
|
-
__openapi_doc_version__: str = "4.15.0-alpha.
|
|
8
|
-
__gen_version__: str = "2.
|
|
9
|
-
__user_agent__: str = "speakeasy-sdk/python 0.1.
|
|
6
|
+
__version__: str = "0.1.1rc1"
|
|
7
|
+
__openapi_doc_version__: str = "4.15.0-alpha.1760439369062-366c2353"
|
|
8
|
+
__gen_version__: str = "2.723.11"
|
|
9
|
+
__user_agent__: str = "speakeasy-sdk/python 0.1.1rc1 2.723.11 4.15.0-alpha.1760439369062-366c2353 cribl-control-plane"
|
|
10
10
|
|
|
11
11
|
try:
|
|
12
12
|
if __package__ is not None:
|
|
@@ -9,7 +9,7 @@ from cribl_control_plane.errors import CriblControlPlaneError
|
|
|
9
9
|
MAX_MESSAGE_LEN = 10_000
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
@dataclass(
|
|
12
|
+
@dataclass(unsafe_hash=True)
|
|
13
13
|
class APIError(CriblControlPlaneError):
|
|
14
14
|
"""The fallback error class if no more specific error class is matched."""
|
|
15
15
|
|
|
@@ -7,7 +7,7 @@ from dataclasses import dataclass
|
|
|
7
7
|
from cribl_control_plane.errors import CriblControlPlaneError
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
@dataclass(
|
|
10
|
+
@dataclass(unsafe_hash=True)
|
|
11
11
|
class ResponseValidationError(CriblControlPlaneError):
|
|
12
12
|
"""Error raised when there is a type mismatch between the response data and the expected Pydantic model."""
|
|
13
13
|
|
{cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/groups_sdk.py
RENAMED
|
@@ -224,7 +224,7 @@ class GroupsSDK(BaseSDK):
|
|
|
224
224
|
config_version: Optional[str] = None,
|
|
225
225
|
deploying_worker_count: Optional[float] = None,
|
|
226
226
|
description: Optional[str] = None,
|
|
227
|
-
estimated_ingest_rate: Optional[
|
|
227
|
+
estimated_ingest_rate: Optional[models.EstimatedIngestRate] = None,
|
|
228
228
|
git: Optional[Union[models.Git, models.GitTypedDict]] = None,
|
|
229
229
|
incompatible_worker_count: Optional[float] = None,
|
|
230
230
|
inherits: Optional[str] = None,
|
|
@@ -395,7 +395,7 @@ class GroupsSDK(BaseSDK):
|
|
|
395
395
|
config_version: Optional[str] = None,
|
|
396
396
|
deploying_worker_count: Optional[float] = None,
|
|
397
397
|
description: Optional[str] = None,
|
|
398
|
-
estimated_ingest_rate: Optional[
|
|
398
|
+
estimated_ingest_rate: Optional[models.EstimatedIngestRate] = None,
|
|
399
399
|
git: Optional[Union[models.Git, models.GitTypedDict]] = None,
|
|
400
400
|
incompatible_worker_count: Optional[float] = None,
|
|
401
401
|
inherits: Optional[str] = None,
|
|
@@ -757,7 +757,7 @@ class GroupsSDK(BaseSDK):
|
|
|
757
757
|
config_version: Optional[str] = None,
|
|
758
758
|
deploying_worker_count: Optional[float] = None,
|
|
759
759
|
description: Optional[str] = None,
|
|
760
|
-
estimated_ingest_rate: Optional[
|
|
760
|
+
estimated_ingest_rate: Optional[models.EstimatedIngestRate] = None,
|
|
761
761
|
git: Optional[Union[models.Git, models.GitTypedDict]] = None,
|
|
762
762
|
incompatible_worker_count: Optional[float] = None,
|
|
763
763
|
inherits: Optional[str] = None,
|
|
@@ -931,7 +931,7 @@ class GroupsSDK(BaseSDK):
|
|
|
931
931
|
config_version: Optional[str] = None,
|
|
932
932
|
deploying_worker_count: Optional[float] = None,
|
|
933
933
|
description: Optional[str] = None,
|
|
934
|
-
estimated_ingest_rate: Optional[
|
|
934
|
+
estimated_ingest_rate: Optional[models.EstimatedIngestRate] = None,
|
|
935
935
|
git: Optional[Union[models.Git, models.GitTypedDict]] = None,
|
|
936
936
|
incompatible_worker_count: Optional[float] = None,
|
|
937
937
|
inherits: Optional[str] = None,
|