10+ years experienced IT professional. Currently supporting: Palo Alto NGFW, Cisco ASA, O365, Microsoft Cloud, Datacenter, DNS, Forescout, Automation, AWS Cloud and more…See About MeSee My ResumeBlogs Organized By Categories:Generic BlogsSecurity Focused BlogsPython and Coding
ExamplesTable of Contents: Sample Diagrams Mermaid References reCAPTCHA Fonts SVG Sample Diagrams gohugo 1 2 3 4 1 2 3 4 1 2 3 4 1 2 3 4 1 2 3 4 1 2 3 4 Mermaid Mermaid Mermaid Codeblock sequenceDiagram participant Alice participant Bob Alice->>John: Hello John, how are you? loop Healthcheck John->>John: Fight against hypochondria end Note right of John: Rational thoughts prevail! John-->>Alice: Great! John->>Bob: How about you?read more
ForgerockTable of Contents: Swagger ForgeRock Nodes Debuging Debug Node Debug Script RestAPI Swagger ForgeRock Swagger ForgeRock Nodes NOTE: Bulding a node out of a JavaScript and importing it into the web-container webapps is apparently faster at rendering than using JS scripts inside of a journey. From what I have been told. I am still pending the ability to time it out and discover the delay between an imported node from a jar vs writting out a JavaScript and referencing it into a journey.read more
Python ToolkitPyToolkit Table of Contents: Installation ToolKit Utilities ToolKit Dataclasses Maniuplating Dictionaries Utilities Internet Utilities Splunk Upload Python General tools Installation Package found at PyPi Code found at GitHub >>> python -m pip install pytoolkit928ToolKit Utilities string_or_list function allows you to interpret a string and return a list. It provides you the option of adding a delimiter using an OR function to return a possible string that you may be expecting possible common delimiters.read more
DNSCrypt ProxyDNSCrypt Proxy Table of Contents: DNS Crypt Proxy References Crontab Updates DNS Crypt Proxy References DNScrypt-proxy project DNSCrypt + Pi-Hole Crontab Re-populate any block lists and restart service to import the new generated lists. # Re-populate the blacklist add any addtional lists to subscribe to 30 */2 * * * python $HOME/generate-domains-blacklist.py -c /etc/dnscrypt-proxy/domains-blocklist.conf -o /var/cache/dnscrypt-proxy/dnscrypt-blocklist-domains.txt # Reload DNS Crypt to update list 45 */5 * * * systemctl stop dnscrypt-proxy.read more
Python SetupPython Setup Table of Contents: Pyenv Installing Pyenv Installing Pyenv with Debian Poetry Poetry Installation Pyenv Tool used to manage multiple versions of python installed on a system to easily switch between python versions. Installing Pyenv Using zsh shell instead of bash. Add to ~/.zshrc and ~/.zprofile: # Add pyenv executable to PATH and # enable shims by adding the following # to ~/.profile and ~/.zprofile: export PYENV_ROOT="$HOME/.pyenv" export PATH="$PYENV_ROOT/bin:$PATH" export PATH="$HOME/.read more
Aqua Securityupdated: 2023-04-27 Introduction Aqua Security SDK to interact with Workload Protection and CSPM. Aquasec Security SDK GitHub Project = aquasec-api python -m pip install aquasec-apiEarly Testing Pre-Release: pip install -i https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple aquasec-api==v0.0.1rc1See Python Package Index See Test Python Package Index Aquasec Security CLI Additionally there is a aquasec security cli that can accompany the SDK. Installing it is still under works, but allows for installation and ability to run directly from the CLI.read more
Flask, Celery & RedisUpdated: 2022-11-27 Description I have come across many issues where I need async API calls, but not just to run multiple calls, but to also run long running tasks that I just need to check the status of. I have been leveraging NATS to handle message queuing between systems see: Python NATS Github Repo and information on NATS Project . Unfortunately, I’ve run into some issues with how to handle messaging through API calls.read more
Prisma Access SASEupdated: 2023-02-23 Introduction Working on developing an SDK to leverage our orchestration internaly that will assist with auto security policy and deployment with the Palo Alto Prisma SASE project. Python Package GitHub Project - Prisma-Access-SASE python -m pip install prisma-access-saseSee Python Package Index for README.md docs and usage of package. See Test Python Package Index for current beta/alpha releases.read more