Ran
|
Files
49
|
Run time
7s
|
Badge
Embed ▾
README BADGES
|
push
travis-ci
<a href="https://github.com/Kintyre/ksconf/commit/<a class=hub.com/Kintyre/ksconf/commit/<a class="double-link" href="https://git"><a class=hub.com/Kintyre/ksconf/commit/20be65a55b86f18d8a6514348744c494198e9cc4">20be65a55<a href="https://github.com/Kintyre/ksconf/commit/20be65a55b86f18d8a6514348744c494198e9cc4"><a href="https://github.com/Kintyre/ksconf/commit/20be65a55b86f18d8a6514348744c494198e9cc4">&quot;&gt;Add &amp;#39;rest-publish&amp;#39; command Supports: - Pushing multiple stanzas to a specific config endpoint at once, in a fairly efficient process. - Changes made on the server are show in the form of a diff. (Eventually, this should be configurable, and a dry-run mode should be added.) - Supports pushing to a live Splunk instance (via Splunkd REST API). This should replace the use of &amp;#39;rest-export&amp;#39; for MOST use cases. - Supports reading and applying metadata (ACLs, owner, shared, app) to imported objects. - Any type of conf entry should be supported. Limitations: - NO UNIT TESTING! (This will require some fancy mork work.) - Doesn&amp;#39;t support attribute-level metadata. - No SSL validation setup yet. This is primarily because of how Splunk&#39;s Python SDK works. For other Python HTTP libraries this is enabled by default. Squashed commit of the following: commit </a><a class="double-link" href="https://github.com/Kintyre/ksconf/commit/<a class="double-link" href="https://github.com/Kintyre/ksconf/commit/5ef130cfc1c526f4d1d026820f6f219038ac040b">5ef130cfc</a>">5ef130cfc</a><a href="https://github.com/Kintyre/ksconf/commit/20be65a55b86f18d8a6514348744c494198e9cc4"> Author: Lowell Alleman &lt;lowell@kintyre.co&gt; Date: Mon Feb 25 18:39:54 2019 -0500 Fixed bugs in rest-publish - Fixed issue where rest-publish would fail if &#39;--conf&#39; wasn&#39;t explicitly set. Has something to do with encoding. Splunk SDK is looking for a non-unicode value for conf-type. Whatever. - Fixed corner-case thing where ACL has 'read' or 'write' is an empty list. commit </a><a class="double-link" href="https://github.com/Kintyre/ksconf/commit/<a class="double-link" href="https://github.com/Kintyre/ksconf/commit/d0a3df2078f2c148214c7bd095fcca714bd355d8">d0a3df207</a>">d0a3df207</a><a href="https://github.com/Kintyre/ksconf/commit/20be65a55b86f18d8a6514348744c494198e9cc4"> Author: Lowell Alleman <lowell@kintyre.co> Date: Mon Feb 25 18:08:56 2019 -0500 Reduce server roun... (continued)
3411 of 3820 relevant lines covered (89.29%)
0.89 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|