Граф коммитов

4224 Коммитов

Автор SHA1 Сообщение Дата
A Smith 30327e9250
Merge pull request #1179 from mozilla/update_es_docker_containers
Update Elasticsearch6 docker container
2019-04-09 17:31:11 -05:00
Brandon Myers 1facacfe3a
Merge pull request #1193 from mozilla/es6_changes_eshealth
Es6 changes eshealth
2019-04-09 14:14:48 -05:00
Phrozyn 31e722b9f3
removing logger assignment 2019-04-09 13:40:58 -05:00
Brandon Myers 691b148e58
Merge pull request #1190 from mozilla/dt_remove_rest
Replacing _type with type as this is how the kibana index presents da…
2019-04-02 14:53:28 -05:00
Brandon Myers b0a7b37cca
Merge remote-tracking branch 'origin/master' into breaking_es6_changes 2019-04-02 14:45:17 -05:00
Brandon Myers 32d13f5156
Merge pull request #1201 from gene1wood/fix-deploy-regex
Fix regex in deploy to match multi digit semver versions
2019-04-02 13:19:56 -05:00
Gene Wood e228a2c87e
Fix regex in deploy to match multi digit semver versions 2019-04-01 16:43:37 -07:00
Brandon Myers c95e5de846
Merge pull request #1197 from mozilla/changelog_1-38-2
Update changelog for v1.38.2
2019-04-01 18:11:51 -05:00
Brandon Myers 9e1901b49d
Merge pull request #1199 from gene1wood/fix-deploy-on-tags
Fix deploy so it triggers on tags
2019-04-01 15:21:38 -05:00
Gene Wood 78473a4fac
Clarify the log messages to reflect the fact that we don't run the tests in CodeBuild 2019-03-29 22:34:33 -07:00
Gene Wood 8c79459308
Fix deploy so it triggers on tags
The tag regex was missing the "v" prefix for the tag name
(e.g. "v1.2.3")
Also removing the march_swarm case as it's no longer needed
2019-03-29 22:34:06 -07:00
Gene Wood 43b29c4876
Add set -e to fail if any step fails
This will prevent the build from continuing if one of the steps fails,
ensuring that the output from CodeBuild is accurate about success or
failure
2019-03-29 22:32:23 -07:00
Brandon Myers 84409d2eb9
Merge pull request #1198 from gene1wood/fix-up-deploy
Fix docker push and tag
2019-03-29 17:55:44 -05:00
Gene Wood f20e70264f
Fix docker push and tag
* Only tag an image as latest if it came from master branch
* Upload images to dockerhub tagged as latest in addition to those tagged as the branch
2019-03-29 15:41:00 -07:00
Brandon Myers 1f00c1fe1d
Update changelog for v1.38.2 2019-03-29 16:27:56 -05:00
Brandon Myers fb0dd457a8
Merge pull request #1196 from mozilla/fix_alertplugin_references
Fixup remaining alertplugin references in makefile
2019-03-29 16:23:58 -05:00
Brandon Myers bbde458b4b
Fixup remaining alertplugin references in makefile 2019-03-29 15:42:47 -05:00
Brandon Myers df8bdc52a0
Merge pull request #1195 from gene1wood/update-changelog
Update CHANGELOG for v1.38.1
2019-03-29 14:59:23 -05:00
Gene Wood d45096c012
Update CHANGELOG for v1.38.1 2019-03-29 12:46:22 -07:00
Brandon Myers ce0216d70a
Merge pull request #1186 from gene1wood/march_swarm
Prep MozDef for AWS Marketplace
2019-03-29 14:06:29 -05:00
Gene Wood dad1af79c5
Revert bugfix for weekly alias always being created
This reverts part of f7e1a9bacb
because it's causing the error below. Once we figure out the cause we'll
reintroduce this bugfix. This leaves the new get_aliases method in mozdef_util
in place as it's fine (though we're not actually calling it for some reason)

```
Connecting to http://elasticsearch:9200
Traceback (most recent call last):
 File "initial_setup.py", line 61, in <module>
   'events,events-previous,alerts,events-weekly')
 File "/opt/mozdef/envs/python/lib/python2.7/site-packages/elasticsearch/client/utils.py", line 73, in _wrapped
   return func(*args, params=params, **kwargs)
 File "/opt/mozdef/envs/python/lib/python2.7/site-packages/elasticsearch/client/indices.py", line 399, in get_alias
   '_alias', name), params=params)
 File "/opt/mozdef/envs/python/lib/python2.7/site-packages/elasticsearch/transport.py", line 312, in perform_request
   status, headers, data = connection.perform_request(method, url, params, body, ignore=ignore, timeout=timeout)
 File "/opt/mozdef/envs/python/lib/python2.7/site-packages/elasticsearch/connection/http_urllib3.py", line 129, in perform_request
   self._raise_error(response.status, raw_data)
 File "/opt/mozdef/envs/python/lib/python2.7/site-packages/elasticsearch/connection/base.py", line 125, in _raise_error
   raise HTTP_EXCEPTIONS.get(status_code, TransportError)(status_code, error_message, additional_info)
elasticsearch.exceptions.NotFoundError: TransportError(404, u'index_not_found_exception', u'no such index')
```
2019-03-29 11:23:18 -07:00
Brandon Myers 35e9c0d4dc
Modify requirements to use mozdef-util version 1.0.6 2019-03-29 12:53:44 -05:00
Brandon Myers c4f553d207
Bump mozdef-util version to 1.0.6 2019-03-29 12:52:33 -05:00
Brandon Myers efcc7fe3c6
Merge pull request #1191 from mozilla/release_1-38-changelog
Update changelog for version 1.38
2019-03-29 09:45:52 -05:00
Phrozyn 9e6e3c6868
Fixing es stats pull as all nodes give identical data now. Removing omission of master/non-data stats 2019-03-28 20:01:19 -05:00
Brandon Myers 895baa408d
Merge pull request #1188 from Mozilla-GitHub-Standards/master
Add Mozilla Code of Conduct
2019-03-28 17:33:05 -05:00
Brandon Myers 7903968d15
Merge pull request #1180 from mozilla/update_es_libraries
Update elasticsearch and dsl version to 6
2019-03-28 17:32:36 -05:00
Brandon Myers c48c920261
Merge pull request #1181 from mozilla/fix_es_client_6
Fix create index call in es client
2019-03-28 17:32:23 -05:00
Brandon Myers ae5aeaa53d
Update changelog for version 1.38 2019-03-28 14:15:09 -05:00
Phrozyn e355b06389
Replacing _type with type as this is how the kibana index presents dashboards, also adding the subkey dashboard to the dashboard name parameter. 2019-03-28 13:08:57 -05:00
Gene Wood 1669fea708
Merge remote-tracking branch 'upstream/march_swarm' into march_swarm 2019-03-28 10:24:03 -07:00
Gene Wood 01aa646de3
Merge pull request #1184 from gene1wood/make-bootstrap-kibana-version-independent
Remove need to hard code kibana version in bootstrap
2019-03-28 10:23:27 -07:00
Mozilla-GitHub-Standards 576eae4a0e Add Mozilla Code of Conduct file
Fixes #1187.

_(Message COC002)_
2019-03-27 21:24:28 -07:00
Gene Wood 3ea1563122
Merge branch 'master' into march_swarm
# Conflicts:
#	docker/compose/docker-compose-cloudy-mozdef.yml
2019-03-26 14:52:37 -07:00
Gene Wood cf77a21b82
Limit crond logging 2019-03-26 14:44:44 -07:00
Gene Wood ff603be2e3
Remove need to hard code kibana version in bootstrap
Instead this calls the kibana API and sets the defaultIndex
2019-03-26 14:31:42 -07:00
Gene Wood f7e1a9bacb
Fix bug where weekly alias is always created 2019-03-26 14:26:50 -07:00
Gene Wood 49b34d9270
Use kibana_index_name instead of hardcoded value 2019-03-26 14:26:08 -07:00
Gene Wood 199377a095
Fix typo'd example text 2019-03-26 14:19:20 -07:00
Gene Wood 1af5149116
Merge pull request #1176 from gene1wood/improve-makefile-phony-lines
Fix missing and grouped Makefile phony lines
2019-03-25 11:03:00 -07:00
Brandon Myers aecdcaf1a0
Fix create index call in es client 2019-03-25 12:58:09 -05:00
Brandon Myers aeaeb342b0
Update elasticsearch and dsl version 2019-03-25 12:55:04 -05:00
Brandon Myers 248e7952f6
Update elasticsearch docker config file for xpack disabled 2019-03-25 12:51:55 -05:00
Brandon Myers 03ce98e965
Update elasticsearch docker container to 6 2019-03-25 12:51:45 -05:00
Brandon Myers 6b616b89cf
Merge pull request #1177 from mozilla/es6_template_changes
Es6 template changes
2019-03-25 12:43:34 -05:00
Phrozyn 797be6b31e
Make mozdefstate index mapping work with es6 2019-03-25 12:41:04 -05:00
A Smith f75233130c
Updating template doc_type to _doc 2019-03-25 12:40:38 -05:00
Phrozyn 3f69ac16ac
ES 6 Upgrade changes
- Update to default template
- Update to rest/index.py for dashboards.
2019-03-25 12:40:04 -05:00
Gene Wood 8c65a04605
Fix missing and grouped Makefile phony lines 2019-03-25 08:05:12 -07:00
Gene Wood d0a850d56b
Merge pull request #1172 from gene1wood/march_swarm
Fix missing env files for pull and grow packer build volume
2019-03-22 22:16:16 -07:00