Skip to content

Commit

Permalink
updated SecurityRiskAdvisors plugin with mine
Browse files Browse the repository at this point in the history
  • Loading branch information
zaakiy committed Feb 5, 2019
1 parent 93076cf commit 39ff5df
Show file tree
Hide file tree
Showing 9 changed files with 642 additions and 1,888 deletions.
17 changes: 17 additions & 0 deletions 0-base.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
FROM jruby

RUN apt-get update && apt-get upgrade -y

RUN find / | egrep \/bin\/bundle$



RUN mkdir -p /opt/okta_system_log
COPY /* /opt/okta_system_log/
WORKDIR /opt/okta_system_log
RUN ls -la /opt/okta_system_log


RUN bundle install

RUN mkdir -p /opt/efs/plugins
22 changes: 22 additions & 0 deletions 1-develop.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
FROM 383707766587.dkr.ecr.ap-southeast-2.amazonaws.com/kelsiem.com/logstash-input-okta_system_log:base

RUN find / | egrep \/bin\/bundle$



RUN mkdir -p /opt/okta_system_log


COPY / /opt/okta_system_log/
WORKDIR /opt/okta_system_log
RUN ls -la /opt/okta_system_log


RUN bundle install

RUN bundle exec rspec
RUN gem build logstash-input-okta_system_log.gemspec


RUN gem unpack logstash-input-okta_system_log-0.1.0.gem
RUN ls -laR logstash-input-okta_system_log-0.1.0
10 changes: 10 additions & 0 deletions 2-test.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
FROM 383707766587.dkr.ecr.ap-southeast-2.amazonaws.com/kelsiem.com/logstash-input-okta_system_log:develop


FROM 383707766587.dkr.ecr.ap-southeast-2.amazonaws.com/kelsiem.com/kelsiemlogstash
WORKDIR /usr/share/logstash/bin
COPY --from=0 /opt/okta_system_log/logstash-input-okta_system_log-0.1.0.gem /usr/share/logstash/bin
RUN ls -la
RUN /usr/share/logstash/bin/logstash-plugin install logstash-input-okta_system_log-0.1.0.gem

WORKDIR /home/ec2-user
3 changes: 3 additions & 0 deletions 3-master.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
FROM 383707766587.dkr.ecr.ap-southeast-2.amazonaws.com/kelsiem.com/logstash-input-okta_system_log:test

WORKDIR /home/ec2-user
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
## 1.0.0
-
## 0.9.0
- Finalizes plugin for distribution using logstash-input-file style sincedb
## 0.1.0
Expand Down
Loading

0 comments on commit 39ff5df

Please sign in to comment.