-
Notifications
You must be signed in to change notification settings - Fork 88
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 #33 from hubblestack/develop
Merge to master (prep v2.1.3 release)
- Loading branch information
Showing
10 changed files
with
149 additions
and
17 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 +1 @@ | ||
__version__ = '2.1.2' | ||
__version__ = '2.1.3' |
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,44 @@ | ||
#!/bin/bash | ||
|
||
set -x # echo on | ||
|
||
_user=`id -u` | ||
|
||
# Check if the current user is root | ||
if [ "$_user" == "0" ] | ||
then | ||
echo "This script should not be run as root ..." | ||
echo "Please run this script as regular user with sudo privileges ..." | ||
echo "Exiting ..." | ||
exit | ||
fi | ||
|
||
cd .. | ||
|
||
bash init_pkg.sh -y | ||
cp hubble.tar.gz ~/hubble.tar.gz | ||
rm -rf ~/hubblestack-2.1.3 | ||
rm -rf ~/hubblestack-2.1.3.tar.gz | ||
mkdir ~/hubblestack-2.1.3 | ||
tar -xzvf ~/hubble.tar.gz -C ~/hubblestack-2.1.3 | ||
mkdir -p ~/hubblestack-2.1.3/etc/init.d | ||
cp pkg/hubble ~/hubblestack-2.1.3/etc/init.d | ||
mkdir -p ~/hubblestack-2.1.3/usr/lib/systemd/system | ||
cp pkg/hubble.service ~/hubblestack-2.1.3/usr/lib/systemd/system | ||
cp -f conf/hubble ~/hubblestack-2.1.3/etc/hubble/hubble | ||
cd ~/hubblestack-2.1.3 | ||
|
||
sudo apt-get install -y ruby ruby-dev rubygems gcc make | ||
sudo gem install --no-ri --no-rdoc fpm | ||
mkdir -p usr/bin | ||
ln -s /opt/hubble/hubble usr/bin/hubble | ||
ln -s /opt/osquery/osqueryd usr/bin/osqueryd | ||
ln -s /opt/osquery/osqueryi usr/bin/osqueryi | ||
fpm -s dir -t deb \ | ||
-n hubblestack \ | ||
-v 2.1.3-1 \ | ||
-d 'git' \ | ||
--config-files /etc/hubble/hubble --config-files /etc/osquery/osquery.conf \ | ||
--deb-no-default-config-files \ | ||
etc/hubble etc/osquery etc/init.d opt usr/bin | ||
cp hubblestack_2.1.3-1_amd64.deb ~/ |
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 |
---|---|---|
|
@@ -9,7 +9,7 @@ | |
|
||
Summary: Hubblestack is a module, open-source security compliance framework | ||
Name: hubblestack | ||
Version: 2.1.2 | ||
Version: 2.1.3 | ||
Release: 1 | ||
License: Apache 2.0 | ||
Group: Development/Tools | ||
|
@@ -53,6 +53,13 @@ rm -rf %{buildroot} | |
/usr/bin/* | ||
|
||
%changelog | ||
* Tue Feb 28 2017 Colton Myers <[email protected]> 2.1.3-1 | ||
- Add Debian packaging | ||
- Add uptime fallback query | ||
- Fix for blank hosts when fqdn doesn't return anything in returners | ||
- Add AWS information to events from splunk returners | ||
- Turn off http_event_collector_debug everywhere | ||
|
||
* Mon Feb 13 2017 Colton Myers <[email protected]> 2.1.2-1 | ||
- Fix the changelog order | ||
|
||
|
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 |
---|---|---|
|
@@ -9,7 +9,7 @@ | |
|
||
Summary: Hubblestack is a module, open-source security compliance framework | ||
Name: hubblestack | ||
Version: 2.1.2 | ||
Version: 2.1.3 | ||
Release: 1 | ||
License: Apache 2.0 | ||
Group: Development/Tools | ||
|
@@ -53,6 +53,13 @@ rm -rf %{buildroot} | |
/usr/lib/* | ||
|
||
%changelog | ||
* Tue Feb 28 2017 Colton Myers <[email protected]> 2.1.3-1 | ||
- Add Debian packaging | ||
- Add uptime fallback query | ||
- Fix for blank hosts when fqdn doesn't return anything in returners | ||
- Add AWS information to events from splunk returners | ||
- Turn off http_event_collector_debug everywhere | ||
|
||
* Mon Feb 13 2017 Colton Myers <[email protected]> 2.1.2-1 | ||
- Fix the changelog order | ||
|
||
|