All Projects → PaloAltoNetworks → pan-cortex-data-lake-python

PaloAltoNetworks / pan-cortex-data-lake-python

Licence: ISC license
Python idiomatic SDK for Cortex™ Data Lake.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to pan-cortex-data-lake-python

pan-globalprotect-okta
PaloAlto Networks GlobalProtect VPN (integrated with OKTA) command-line client
Stars: ✭ 85 (+136.11%)
Mutual labels:  paloaltonetworks, paloalto
datalake-etl-pipeline
Simplified ETL process in Hadoop using Apache Spark. Has complete ETL pipeline for datalake. SparkSession extensions, DataFrame validation, Column extensions, SQL functions, and DataFrame transformations
Stars: ✭ 39 (+8.33%)
Mutual labels:  datalake
jquery-clickout
Handle clickout events with jQuery
Stars: ✭ 23 (-36.11%)
Mutual labels:  event
apiary-data-lake
Terraform scripts for deploying Apiary Data Lake
Stars: ✭ 15 (-58.33%)
Mutual labels:  datalake
dmxnet
ArtNet-DMX-sender and receiver for nodejs
Stars: ✭ 43 (+19.44%)
Mutual labels:  event
zingg
Scalable identity resolution, entity resolution, data mastering and deduplication using ML
Stars: ✭ 655 (+1719.44%)
Mutual labels:  datalake
php-event-manager
PHP event manager. simple, fully functional event management dispatcher implementation. 简洁,功能完善的事件管理实现,支持快速的事件组注册,设置事件优先级,通配符事件的监听。
Stars: ✭ 25 (-30.56%)
Mutual labels:  event
cortex-helm-chart
Helm chart for Cortex
Stars: ✭ 134 (+272.22%)
Mutual labels:  cortex
S1EM
This project is a SIEM with SIRP and Threat Intel, all in one.
Stars: ✭ 270 (+650%)
Mutual labels:  cortex
topolograph
Topolograph.com is an online project which can visualize OSPF/ISIS topology based on single OSPF LinkState DataBase scrapping from one network device ( thanks OSPF =). Then you can not only see (and check) the shortest path from source to destination, but also see the outcome from link or node failure along the path to the destination. The exist…
Stars: ✭ 84 (+133.33%)
Mutual labels:  paloaltonetworks
kn
Alternative to cd. Navigate by typing abbreviations of paths.
Stars: ✭ 68 (+88.89%)
Mutual labels:  directory
hayabusa
Hayabusa (隼) is a sigma-based threat hunting and fast forensics timeline generator for Windows event logs.
Stars: ✭ 908 (+2422.22%)
Mutual labels:  event
event-driven-web-components-realworld-example-app
Exemplary real world application built with Vanilla JS Web Components in an Event Driven Architecture
Stars: ✭ 55 (+52.78%)
Mutual labels:  event
vscode-powertools
A swiss army knife with lots of tools, extensions and (scriptable) enhancements for Visual Studio Code.
Stars: ✭ 44 (+22.22%)
Mutual labels:  event
adam
Addon which enhances all user profiles of confluence. It also adds an advanced people directory. The whole addon is configurable by means of an XML, can be localized, supports Velocity templates and supports view and edit restrictions.
Stars: ✭ 12 (-66.67%)
Mutual labels:  directory
UniTaskPubSub
UniTask & IUniTaskAsyncEnumerable baseed pub/sub messaging. this is like the UniTask version of UniRx.MessageBroker.
Stars: ✭ 61 (+69.44%)
Mutual labels:  event
anim-event
Event Manager for Animation
Stars: ✭ 25 (-30.56%)
Mutual labels:  event
virtualGizmo3D
Virtual GIZMO - 3D object manipulator / orientator, via mouse, with pan and dolly/zoom features
Stars: ✭ 36 (+0%)
Mutual labels:  pan
winevt
Windows Event Interactions in Python
Stars: ✭ 59 (+63.89%)
Mutual labels:  event
react-easy-panzoom
Wrapper to enable pan and zoom features for any React component
Stars: ✭ 69 (+91.67%)
Mutual labels:  pan

Tests PyPI upload PyPI version

Palo Alto Networks Cortex™ Data Lake SDK

Python idiomatic SDK for the Cortex™ Data Lake.

The Palo Alto Networks Cortex Data Lake Python SDK was created to assist developers with programmatically interacting with the Palo Alto Networks Cortex™ Data Lake API.

The primary goal is to provide full, low-level API coverage for the following Cortex™ Data Lake services:

  • Query Service

The secondary goal is to provide coverage, in the form of helpers, for common tasks/operations.

  • Log/event pagination
  • OAuth 2.0 and token refreshing

Resources:


Features

  • HTTP client wrapper for the popular Requests library with full access to its features.
  • Language bindings for Query Service.
  • Helper methods for performing common tasks, such as log/event pagination.
  • Support for OAuth 2.0 grant code authorization flow.
  • Library of example scripts illustrating how to leverage the SDK.
  • Support for API Explorer Developer Tokens for easier access to API!

Status

The Palo Alto Networks Cortex™ Data Lake Python SDK is considered beta at this time.

Installation

From PyPI:

pip install pan-cortex-data-lake

From source:

pip install .

To run tests:

pip install .[test]

Obtaining and Using OAuth 2.0 Tokens

If you're an app developer, work with your Developer Relations representative to obtain your OAuth2 credentials. API Explorer may optionally be used to generate a Developer Token, which can also be used to authenticate with the API. For details on API Explorer developer tokens, please visit https://cortex.pan.dev/docs/data_lake/learn/developer_tokens.

Example

from pan_cortex_data_lake import Credentials, QueryService


c = Credentials()
qs = QueryService(credentials=c)
query_params = {
    "query": "SELECT * FROM `1234567890.firewall.traffic` LIMIT 1",
}
q = qs.create_query(query_params=query_params)
results = qs.get_job_results(job_id=q.json()['jobId'])
print(results.json())

Contributors

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].