Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Team 02 - Pull Request - PM1 #1

Open
wants to merge 73 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 72 commits
Commits
Show all changes
73 commits
Select commit Hold shift + click to select a range
c7507bf
Bootstrap mater template.
smokhov Jan 28, 2016
8d86ff1
Sync bib.
smokhov Mar 7, 2016
c4f2bea
Sync bib fix.
smokhov Mar 10, 2016
2e1aeee
updated gitignore
miqdadamirali Feb 3, 2018
4dc1cbb
pm1 branch with pm1 folder
miqdadamirali Feb 3, 2018
06ec047
added structure and project
miqdadamirali Feb 3, 2018
6dc0744
Merge branch 'pm1' of https://bitbucket.org/soen487-w18-02/soen487-w1…
miqdadamirali Feb 3, 2018
cfa7647
created main
miqdadamirali Feb 3, 2018
3bc0458
testing git commit
RyanHotton Feb 3, 2018
86283ac
Created package structure for exercise 1 and put in a main.
AlexGenio Feb 3, 2018
6f2d913
Implemented initial setup for the XML parsing.
AlexGenio Feb 3, 2018
e4b9dfb
Implemented inline comments made in PR.
AlexGenio Feb 3, 2018
a844100
Implemented inline comments made in PR (cont'd).
AlexGenio Feb 3, 2018
e15e269
Merged in pm1-setup (pull request #1)
Feb 3, 2018
c78461c
updated teh set up to include the interface and sub classes
miqdadamirali Feb 3, 2018
4d80888
Merged in pm1-set-up-interface (pull request #2)
Feb 3, 2018
4d66dbb
worked on xpath
RyanHotton Feb 3, 2018
6508c45
fixing merge issue
RyanHotton Feb 4, 2018
5499ada
Implemented the SAX parser class to be used with or without a search …
AlexGenio Feb 4, 2018
b04f60e
added xpath parsing and adjusted class structure a bit
RyanHotton Feb 4, 2018
f409074
Moved calling SAX parser from RSS parser to MARFCATIN parser to avoid…
AlexGenio Feb 4, 2018
a0df8eb
removed redundancy, as requested
RyanHotton Feb 4, 2018
bf6177e
removed main from xpath parser
RyanHotton Feb 4, 2018
4eb4b4b
non recursive dom parser that prints out nodes as well as attribute-v…
SophiaK4 Feb 5, 2018
c520a0b
Merged in pm1-xpath (pull request #4)
Feb 5, 2018
8e1676f
Resolving conflicts.
AlexGenio Feb 6, 2018
98d1789
Merged in pm1-sax-parser (pull request #3)
Feb 6, 2018
cde05ec
Renamed the sax parser and updated the WSDL file link.
AlexGenio Feb 7, 2018
465936f
minor clean ups
miqdadamirali Feb 8, 2018
d5d659c
fixed indentation
miqdadamirali Feb 8, 2018
96ca0c3
Merged in minor-cleans (pull request #5)
Feb 8, 2018
5113adf
Added parser type enum and refactoring. Reduced the amount of parser …
AlexGenio Feb 8, 2018
da3f311
Resolving conflicts with dom parser merge.
AlexGenio Feb 8, 2018
ce93626
Merged in pm1-dom-parser (pull request #8)
AlexGenio Feb 8, 2018
d85012e
Merged Sophia's DOM parser code with my enum and refactoring modifica…
AlexGenio Feb 8, 2018
208d5bf
Created an abstract parser class to remove redundant instances of log…
AlexGenio Feb 8, 2018
96c058b
Fixed things that Miq commented on in the PR.
AlexGenio Feb 9, 2018
48dc7a5
Added command line parsing. The way we process our command line needs…
AlexGenio Feb 9, 2018
9b0103d
Merged in pm1-enums (pull request #9)
Feb 9, 2018
580336e
Created README for part1
georgegrafos Feb 12, 2018
85917a1
updated README with references
RyanHotton Feb 12, 2018
cc556c1
Merged in pm1-readme (pull request #10)
Feb 14, 2018
5874e06
Consistency with DOM parser. Added semicolon to printout of elements.
AlexGenio Feb 14, 2018
35763f9
made aprt one into a dynamic web project
miqdadamirali Feb 15, 2018
804e774
Restructured repository and updated the README to contain detailed in…
AlexGenio Feb 15, 2018
8976b1e
Updated README and gitignore.
AlexGenio Feb 17, 2018
bc47c3a
Created streamalert service wrapper that takes in data in kay-value f…
AlexGenio Feb 22, 2018
2c4c2f6
Renamed project.
AlexGenio Feb 22, 2018
ad16151
Updated ReadMe for PM1 part 3 service creation.
Feb 22, 2018
a1a04ec
Made adjustments to the Part 3 of the readme. Forgot to mention chang…
Feb 22, 2018
0e5c0cb
Added dependency on preconfigured setup documentation
Feb 22, 2018
dc8363c
Updated xml parser to adhere to streamalert format. Generated client …
SophiaK4 Feb 25, 2018
f4418dc
Edited main README to explain our structure.
Feb 25, 2018
ef5ca44
Added the streamalert configs that were either added or modified duri…
AlexGenio Feb 25, 2018
ad3a9fa
Added description of the streamalert config files.
Feb 25, 2018
bbaded1
update read me with soph's changes
miqdadamirali Feb 25, 2018
73cd7c9
update read me
miqdadamirali Feb 25, 2018
e612ed9
typos in read me
miqdadamirali Feb 25, 2018
6d2e8bc
typos in read me
miqdadamirali Feb 25, 2018
bd3fb7d
Merged in update-read-me (pull request #13)
Feb 25, 2018
9e6f5db
README.md added notes that I forgot to mention before.
Feb 25, 2018
6e2e762
README.md fixed notes styling
Feb 25, 2018
6b711e6
README.md updated according to Miq's comments on my last commit.
Feb 25, 2018
a972bd3
README.md edited online with Bitbucket
Feb 25, 2018
15c8f41
Merged in miqdadamirali/readmemd-edited-online-with-bitbucket-1519590…
Feb 25, 2018
9919b46
README.md edited online with Bitbucket
Feb 25, 2018
f22c1cc
Merged in miqdadamirali/readmemd-edited-online-with-bitbucket-1519591…
Feb 25, 2018
ba5cdd3
Cleaned up a bit.
AlexGenio Feb 25, 2018
313975d
Merged in pm1-streamalert-client (pull request #14)
Feb 25, 2018
3fd1cb0
README.md added notes in part 2 to explain what to do to run part 2 s…
Feb 25, 2018
4e0bdfc
README.md fixed typos and added section in the notes that mentions no…
Feb 25, 2018
46ca42e
Merge branch 'pm1' of bitbucket.org:soen487-w18-02/soen487-w18-team02
RyanHotton Mar 15, 2018
ba2e681
Fix conflicts
smokhov Mar 24, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
97 changes: 97 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,84 @@
<<<<<<< HEAD
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • conflicts should be resolved before pushing

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will be fixed

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@smokhov just to clarify, you want us to now update the pull request with PM2.3 content instead of just PM1 content?

Thank you for your time.

=======
*.aux
*.bbl
*.blg
*.idx
*.ilg
*.ind
*.log
*.out
.DS_Store
doc/report/project-report.pdf
*.tps
Thumbs.db

# Created by https://www.gitignore.io/api/git,java,eclipse,java-web

### Eclipse ###

.metadata
bin/
tmp/
*.tmp
*.bak
*.swp
*~.nib
local.properties
.settings/
.loadpath
.recommenders

# External tool builders
.externalToolBuilders/

# Locally stored "Eclipse launch configurations"
*.launch

# PyDev specific (Python IDE for Eclipse)
*.pydevproject

# CDT-specific (C/C++ Development Tooling)
.cproject

# Java annotation processor (APT)
.factorypath

# PDT-specific (PHP Development Tools)
.buildpath

# sbteclipse plugin
.target

# Tern plugin
.tern-project

# TeXlipse plugin
.texlipse

# STS (Spring Tool Suite)
.springBeans

# Code Recommenders
.recommenders/

# Scala IDE specific (Scala & Java development for Eclipse)
.cache-main
.scala_dependencies
.worksheet

### Eclipse Patch ###
# Eclipse Core
.project

# JDT-specific (Eclipse Java Development Tools)
.classpath

### Git ###
*.orig

### Java ###
>>>>>>> 4e0bdfc52ad037ddb4cf5b2f40693627e3bd7390
# Compiled class file
*.class

Expand All @@ -11,7 +92,11 @@
.mtj.tmp/

# Package Files #
<<<<<<< HEAD
*.jar
=======
#*.jar
>>>>>>> 4e0bdfc52ad037ddb4cf5b2f40693627e3bd7390
*.war
*.ear
*.zip
Expand All @@ -20,3 +105,15 @@

# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*
<<<<<<< HEAD
=======

### Java-Web ###
## ignoring target file
target/

# Report generated files #
*.synctex.gz

# End of https://www.gitignore.io/api/git,java,eclipse,java-web
>>>>>>> 4e0bdfc52ad037ddb4cf5b2f40693627e3bd7390
26 changes: 26 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,28 @@
<<<<<<< HEAD
# streamalert-ws
StreamAlert as a web service (REST and SOAP) with some test integrations and deployments
=======
# README #

## General structure ##

* `doc/team2/pm1/README.md` outlines how to set up and run each part of PM1.
* Under `src` we have all the client and service related classes and generated files, as well as general utility classes.
* Under `config` we have the StreamAlert configuration files that have been created/modified.
* `/config/streamalert/conf/clusters` contains the clusters we have defined for deployment.
* `/config/streamalert/conf` contains files specifying the source buckets, logs, outputs, etc.
* `/config/streamalert/rules` contains the rules we have created.
* `/config/streamalert/tests` contains the test scripts we made that send test data to the rules we made.

## Documentation ##

* We are building our report document using Wikis. Please visit the [Wiki Home](https://bitbucket.org/soen487-w18-02/soen487-w18-team02/wiki/Home) page.

## Downloads ##

* For a preconfigured setup of StreamAlert, please visit the `Downloads` tab and download the [pm1_streamalert.zip](https://bitbucket.org/soen487-w18-02/soen487-w18-team02/downloads/pm1_streamalert.zip).

### Who do I talk to? ###

* [Alex Genio - Team Leader](mailto:[email protected])
>>>>>>> 4e0bdfc52ad037ddb4cf5b2f40693627e3bd7390
Empty file added build/classes/README.md
Empty file.
45 changes: 45 additions & 0 deletions config/streamalert/conf/clusters/prod.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"id": "soen487-s3",
"modules": {
"cloudtrail": {
"enable_kinesis": false,
"enable_logging": false
},
"cloudwatch_monitoring": {
"enabled": true,
"kinesis_alarms_enabled": false
},
"s3_events": [
{
"bucket_id": "soen487g2.s3.streamalert.cloudtrail",
"enable_events": true
},
{
"bucket_id": "soen487g2.s3.streamalert.soap",
"enable_events": true
}
],
"stream_alert": {
"alert_processor": {
"current_version": 5,
"log_level": "info",
"memory": 128,
"outputs": {
"aws-lambda": [],
"aws-s3": [],
"slack": [
"pm1-notifications"
]
},
"timeout": 25
},
"rule_processor": {
"current_version": 6,
"log_level": "debug",
"memory": 256,
"timeout": 10
}
}
},
"region": "us-east-1"
}
18 changes: 18 additions & 0 deletions config/streamalert/conf/global.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"account": {
"aws_account_id": "561020731041",
"kms_key_alias": "stream_alert_secrets_miq",
"prefix": "soen487g2",
"region": "us-east-1"
},
"infrastructure": {
"monitoring": {
"create_sns_topic": true
}
},
"terraform": {
"tfstate_bucket": "soen487g2.streamalert.terraform.state",
"tfstate_s3_key": "stream_alert_state/terraform.tfstate",
"tfvars": "terraform.tfvars"
}
}
25 changes: 25 additions & 0 deletions config/streamalert/conf/lambda.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"alert_processor_config": {
"handler": "stream_alert.alert_processor.main.handler",
"source_bucket": "soen487g2.streamalert.source",
"source_current_hash": "ry0SlICLxzPE4jRlm8oYr2QfycwVS0kSOAGbeCBbVKU=",
"source_object_key": "alert_processor/alert_processor_1.6.0_20180221_T062045.zip",
"third_party_libraries": []
},
"rule_processor_config": {
"handler": "stream_alert.rule_processor.main.handler",
"source_bucket": "soen487g2.streamalert.source",
"source_current_hash": "IIbkLXfGNnYdE0Or6KKJHAroUJM0D6UxZnu+OPVZAKA=",
"source_object_key": "rule_processor/rule_processor_1.6.0_20180221_T211052.zip",
"third_party_libraries": [
"netaddr"
]
},
"stream_alert_apps_config": {
"handler": "app_integrations.main.handler",
"source_bucket": "soen487g2.streamalert.source",
"source_current_hash": "eTmKyRJofdn6k6bAblKhlwfO3hHBq0vystXpXOFRkFw=",
"source_object_key": "stream_alert_app/stream_alert_app_1.0.0_20180221_T062052.zip",
"third_party_libraries": []
}
}
Loading