Skip to content

Instantly share code, notes, and snippets.

View jamesholland-uk's full-sized avatar
🏂
Not snowboarding :-(

James Holland jamesholland-uk

🏂
Not snowboarding :-(
View GitHub Profile
@jamesholland-uk
jamesholland-uk / crash.log
Created May 3, 2019 13:43
Terraform Crash Report
2019/05/03 13:40:57 [INFO] Terraform version: 0.11.13
2019/05/03 13:40:57 [INFO] Go runtime version: go1.11.5
2019/05/03 13:40:57 [INFO] CLI args: []string{"/usr/local/bin/terraform", "plan"}
2019/05/03 13:40:57 [DEBUG] Attempting to open CLI config file: /root/.terraformrc
2019/05/03 13:40:57 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2019/05/03 13:40:57 [INFO] CLI command args: []string{"plan"}
2019/05/03 13:40:57 [INFO] command: empty terraform config, returning nil
2019/05/03 13:40:57 [DEBUG] command: no data state file found for backend config
2019/05/03 13:40:57 [DEBUG] New state was assigned lineage "1fee6d61-9200-0ebd-698f-b88f9c7ff6a3"
2019/05/03 13:40:57 [INFO] command: backend initialized: <nil>
@jamesholland-uk
jamesholland-uk / PAN-OS XML API Examples
Created April 1, 2019 09:33
PAN-OS XML API Examples
For the below examples, your PAN-OS API key "api_key" is obtained by executing the follwing with your PAN-OS credentials:
curl -g -k -X GET 'https://hostname/api/?type=keygen&user=username&password=password'
Get Config
curl -g -k -X GET 'https://hostname/api/?type=config&action=show&key=api_key'
Install Auth Code/Licence
curl -g -k -X GET 'https://hostname/api/?type=op&cmd=<request><license><fetch><auth-code>I1234567</auth-code></fetch></license></request>&key=api_key'
Install API Key for Auth Code/Licence Deactivation

Keybase proof

I hereby claim:

  • I am jamesholland-uk on github.
  • I am jamoiholland (https://keybase.io/jamoiholland) on keybase.
  • I have a public key whose fingerprint is CB57 96E0 0329 989C 88BE 7991 822D 2B70 124D C9D4

To claim this, I am signing this object: