-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from jimmyatSplunk/upgrade-3-0-3
Upgrade 3 0 3
- Loading branch information
Showing
915 changed files
with
167,251 additions
and
11,549 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,10 @@ | ||
BigFix TA | ||
Created by Jimmy Maple | ||
|
||
############################################# | ||
################### Setup ################### | ||
############################################# | ||
|
||
This add-on utilizes two input methods. The first being the asset list obtained by polling the BigFix REST API. The setup of the REST API input requires a coordination with the BigFix administrator in your environment. | ||
|
||
Things to request from the BigFix administrator | ||
|
||
1. A console account with login access via REST API only. No other permissions are needed. | ||
2. The account will need to be subsribed to all hosts that will be brought into the asset list. | ||
3. A property the BigFix administrator knows will detail a list of MAC addresses for each host. | ||
|
||
If the BigFix administrator does not have a property available, you can use the following relevance to evaluate what is necessary. | ||
|
||
if windows of operating system then (mac addresses of adapters of network) else if not windows of operating system then ((mac address of it as string) of ip interfaces whose (not loopback of it AND exists mac address of it) of network) else "" | ||
|
||
############################################# | ||
############## Acknowledgments ############## | ||
############################################# | ||
|
||
This section is to thank the many people who attirbuted the development of this TA by providing relevance, log files, development licenses, and other support. | ||
|
||
Jason Walker | ||
Geetha Alagppan | ||
Mark "Gunny" Collins | ||
Mark Spryer | ||
Eric Howard | ||
Josh Rice | ||
James Stewart | ||
Aram Eblighatian | ||
Jimmy Glass | ||
Keith Hutchison | ||
This is an add-on powered by the Splunk Add-on Builder. | ||
# Binary File Declaration | ||
/opt/splunk/var/data/tabuilder/package/TA-bigfix/bin/ta_bigfix/aob_py3/pvectorc.cpython-37m-x86_64-linux-gnu.so: this file does not require any source code | ||
/opt/splunk/var/data/tabuilder/package/TA-bigfix/bin/ta_bigfix/aob_py3/markupsafe/_speedups.cpython-37m-x86_64-linux-gnu.so: this file does not require any source code | ||
/opt/splunk/var/data/tabuilder/package/TA-bigfix/bin/ta_bigfix/aob_py3/setuptools/cli-32.exe: this file does not require any source code | ||
/opt/splunk/var/data/tabuilder/package/TA-bigfix/bin/ta_bigfix/aob_py3/setuptools/cli-64.exe: this file does not require any source code | ||
/opt/splunk/var/data/tabuilder/package/TA-bigfix/bin/ta_bigfix/aob_py3/setuptools/cli.exe: this file does not require any source code | ||
/opt/splunk/var/data/tabuilder/package/TA-bigfix/bin/ta_bigfix/aob_py3/setuptools/gui-32.exe: this file does not require any source code | ||
/opt/splunk/var/data/tabuilder/package/TA-bigfix/bin/ta_bigfix/aob_py3/setuptools/gui-64.exe: this file does not require any source code | ||
/opt/splunk/var/data/tabuilder/package/TA-bigfix/bin/ta_bigfix/aob_py3/setuptools/gui.exe: this file does not require any source code |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,7 @@ | ||
[logging] | ||
loglevel = <string> | ||
loglevel = | ||
|
||
[additional_parameters] | ||
bigfix_server_url = <string> | ||
* Full URL for the BigFix server | ||
|
||
bigfix_server_port = <int> | ||
* Management port for BigFix server. | ||
* The default port number from HCL is "52311" | ||
* Customizable by deployment | ||
|
||
query_timeout_seconds = <int> | ||
* The amount of time each query sent to the BigFix server waits for a response. | ||
* If there is no response, the query fails and exits the loop. | ||
bigfix_server_url = | ||
bigfix_server_port = | ||
query_timeout_seconds = |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
2,422 changes: 2,422 additions & 0 deletions
2,422
appserver/static/js/build/entry_page.licenses.txt
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,87 +1,40 @@ | ||
<%! | ||
# retrieve settings | ||
isLite = (cherrypy.config['product_type'] == 'lite' or cherrypy.config['product_type'] == 'lite_free') | ||
|
||
if cherrypy.config['product_type'] == 'hunk': | ||
faviconFile = 'favicon_hunk.ico' | ||
elif isLite: | ||
faviconFile = 'favicon_lite.ico' | ||
else: | ||
faviconFile = 'favicon.ico' | ||
|
||
faviconFilePath = '/static/img/' + faviconFile | ||
|
||
config_qs = dict(autoload=1) | ||
if hasattr(cherrypy.request, 'embed') and cherrypy.request.embed: | ||
config_qs['embed'] = 1 | ||
%>\ | ||
|
||
<% | ||
app_name = app | ||
|
||
splk_root = "/static" | ||
app_root = "/".join([splk_root,"app",app_name]) | ||
|
||
app_js = app_root + '/js' | ||
|
||
app_js_build = app_root + '/js/build' | ||
app_css_build = app_root + '/css' | ||
|
||
pageJSName = page+'_page' | ||
|
||
# optimized js and css | ||
common_css = "%s/common.css" % app_css_build | ||
page_css ="%s/%s.css" % (app_css_build, page) | ||
bootstrap_enterprise_css = "%s/bootstrap-enterprise.css" % app_css_build | ||
|
||
page_js = "%s/%s.js" % (app_js_build ,pageJSName) | ||
%>\ | ||
|
||
<!doctype html> | ||
<!--[if lt IE 7]> <html lang="${i18n.current_lang()[0]|h}" class="no-js ie lt-ie9 lt-ie8 lt-ie7"> <![endif]--> | ||
<!--[if IE 7]> <html lang="${i18n.current_lang()[0]|h}" class="no-js ie7 lt-ie9 lt-ie8"> <![endif]--> | ||
<!--[if IE 8]> <html lang="${i18n.current_lang()[0]|h}" class="no-js ie8 lt-ie9"> <![endif]--> | ||
<!--[if IE 9]> <html lang="${i18n.current_lang()[0]|h}" class="no-js ie9"> <![endif]--> | ||
<!--[if gt IE 9]><!--> | ||
<html lang="${i18n.current_lang()[0]|h}" class="no-js"> <!--<![endif]--> | ||
<!-- | ||
~ Copyright 2021 Splunk Inc. | ||
~ | ||
~ Licensed under the Apache License, Version 2.0 (the "License"); | ||
~ you may not use this file except in compliance with the License. | ||
~ You may obtain a copy of the License at | ||
~ | ||
~ http://www.apache.org/licenses/LICENSE-2.0 | ||
~ | ||
~ Unless required by applicable law or agreed to in writing, software | ||
~ distributed under the License is distributed on an "AS IS" BASIS, | ||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
~ See the License for the specific language governing permissions and | ||
~ limitations under the License. | ||
~ | ||
--> | ||
<%! app_name = cherrypy.request.path_info.split('/')[3] %>\ | ||
<!DOCTYPE html> | ||
<html class="no-js" lang=""> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | ||
<title>${_('Loading...')}</title> | ||
<meta name="description" content="listen to your data" /> | ||
<meta name="author" content="Splunk Inc." /> | ||
<meta name="viewport" content="width=1024, initial-scale=1.0" /> | ||
<link rel="shortcut icon" href="${make_url(faviconFilePath)}" /> | ||
<link rel="apple-touch-icon-precomposed" sizes="57x57" href="${make_url('/static/img/bookmark/apple-icon-57x57-precomposed.png')}" /> | ||
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="${make_url('/static/img/bookmark/apple-icon-72x72-precomposed.png')}" /> | ||
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="${make_url('/static/img/bookmark/apple-icon-114x114-precomposed.png')}" /> | ||
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="${make_url('/static/img/bookmark/apple-icon-144x144-precomposed.png')}" /> | ||
<meta name="msapplication-TileColor" content="#65A637"> | ||
<meta name="msapplication-TileImage" content="${make_url('/static/img/bookmark/ms-tileicon-144x144.png')}"> | ||
|
||
<link rel="stylesheet" type="text/css" media="all" href="${make_url(bootstrap_enterprise_css)}" /> | ||
<link rel="stylesheet" type="text/css" media="all" href="${make_url(common_css)}" /> | ||
<link rel="stylesheet" type="text/css" media="all" href="${make_url(page_css)}" /> | ||
<script src="${make_url('/static/js/i18n.js')}"></script> | ||
<meta http-equiv="x-ua-compatible" content="ie=edge" /> | ||
<title>${_('Loading')}</title> | ||
<meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
<link rel="apple-touch-icon" href="apple-touch-icon.png" /> | ||
</head> | ||
<body s:app="${app_name}"> | ||
<div class="preload"> | ||
<div id="placeholder-splunk-bar"> | ||
<a href="/app/launcher/home" class="brand" title="splunk > listen to your data">splunk<strong> | ||
></strong></a> | ||
</div> | ||
<div id="placeholder-app-bar"> | ||
</div> | ||
</div> | ||
|
||
<div class="addonContainer"></div> | ||
<div class="dialog-placeholder"></div> | ||
<script src="${make_url('/config', _qs=config_qs)}"></script> | ||
<body> | ||
<script src="${make_url('/config?autoload=1')}" crossorigin="use-credentials"></script> | ||
<script src="${make_url('/static/js/i18n.js')}"></script> | ||
<script src="${make_url('/i18ncatalog?autoload=1')}"></script> | ||
<script> | ||
__splunkd_partials__ = ${json_decode(splunkd)}; | ||
</script> | ||
<script src="${make_url(app_js_build + '/common.js')}"></script> | ||
<script src="${make_url(page_js)}"></script> | ||
|
||
<% page_path = "/static/app/" + app_name + "/js/build/entry_page.js" %> | ||
|
||
<script src="${make_url(page_path)}"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
pip |
Oops, something went wrong.