palo_alto 0.2.6 → 0.3.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5de4d5b73ffce2aec1735e51dc30539cf16e7c82ba9c0c6fc23736cf0e91e29f
4
- data.tar.gz: 3c4626fa6dd527780d9ab32f7dfafda5fff14b17ed8d3e3b73c4d0a0a53413f2
3
+ metadata.gz: b68e035e0f51de7ec25732169187fae61088d874498b3f04aa8c0729f3ff31ce
4
+ data.tar.gz: f9a00e1a28101f24b8ec95f2d226bec3b6d8f25226aabfaeef9c47183de2e240
5
5
  SHA512:
6
- metadata.gz: 76a323360b5b53da61f51ffcf414b9710b4bf76d91286520ed3c16d2a4c57ec1445d381205fdb06947a6b7541f0a919c6b7761ea1c34ed7cd006ccd14bae555d
7
- data.tar.gz: 953c393590c6cf1920b748baa23ec5a609517effd5de18f1cacd4f05af85f03ccd57f37f7611f86c147acac06b363a8f04da7a8c173069539fa92a97bad381d3
6
+ metadata.gz: 23c323a9076ee9f963a25eb6582b83110a95a1bb8c5f9ee65121d7afaf3c24639f682e93d602d7730968c0eec7de7f73651702e1996b658ffc69508fe8d21b34
7
+ data.tar.gz: 5fe403c5af1998c3a8696326ff46045a3990784f42ba209baa8f36a5a0f2247693e092820489d5a8c68304329ab6a149707eb62f9c2b2ba344ef1fc267d3965f
data/CHANGELOG.md CHANGED
@@ -0,0 +1 @@
1
+ Version 0.3.0: Update schema for Panorama 10.1
data/console.rb CHANGED
@@ -10,7 +10,6 @@ require_relative './lib/palo_alto'
10
10
 
11
11
  client = PaloAlto::XML.new(
12
12
  host: ENV['PALO_ALTO_HOST'],
13
- port: '443',
14
13
  username: ENV['PALO_ALTO_USER'],
15
14
  password: ENV['PALO_ALTO_PASSWORD'],
16
15
  debug: ENV['PALO_ALTO_DEBUG']&.split(/\s/)&.map(&:to_sym) || []
@@ -1,4 +1,4 @@
1
1
  require 'palo_alto'
2
2
 
3
- client = PaloAlto::XML.new(host: "panorama-test", port: "443", username: "admin", password: "Admin123!", debug: [:sent, :received, :statistics])
3
+ client = PaloAlto::XML.new(host: "panorama-test", username: "admin", password: "Admin123!", debug: [:sent, :received, :statistics])
4
4
 
@@ -1,6 +1,6 @@
1
1
  require 'palo_alto'
2
2
 
3
- client = PaloAlto::XML.new(host: "panorama-test", port: "443", username: "admin", password: "Admin123!", debug: [:sent, :received, :statistics])
3
+ client = PaloAlto::XML.new(host: "panorama-test", username: "admin", password: "Admin123!", debug: [:sent, :received, :statistics])
4
4
  dg = 'PLAYGROUND'
5
5
 
6
6
  # create a tag
data/examples/test_log.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  require 'palo_alto'
2
2
 
3
- client = PaloAlto::XML.new(host: "panorama-test", port: "443", username: "admin", password: "Admin123!", debug: [:statistics, :warnings, :_sent, :_received])
3
+ client = PaloAlto::XML.new(host: "panorama-test", username: "admin", password: "Admin123!", debug: [:statistics, :warnings, :_sent, :_received])
4
4
 
5
5
  query = "( full-path contains '/config/devices/entry[@name=\\'localhost.localdomain\\']/device-group/entry[@name=\\'gr\\']/address/entry[@name=\\'Blah_19\\']' )"
6
6
  l=client.log(query: query, log_type: 'config', nlogs: 50, show_detail: true, days: nil)
data/examples/test_op.rb CHANGED
@@ -111,7 +111,7 @@ l = {
111
111
  }
112
112
 
113
113
 
114
- client = PaloAlto::XML.new(host: "panorama-test", port: "443", username: "admin", password: "Admin123!", debug: [:sent, :received])
114
+ client = PaloAlto::XML.new(host: "panorama-test", username: "admin", password: "Admin123!", debug: [:sent, :received])
115
115
 
116
116
  #pp client.op.execute(a)
117
117
  #pp client.op.execute(b)