Skip to content

Instantly share code, notes, and snippets.

View SHolzhauer's full-sized avatar

Stijn Holzhauer SHolzhauer

  • Randstad Groep Nederland
  • Netherlands
View GitHub Profile
@SHolzhauer
SHolzhauer / main_stack.yml
Created December 1, 2023 15:04
ECS elastic agent template
Parameters:
imagerepository:
Type: String
Default: docker.elastic.co/beats/elastic-agent
elasticversion:
Type: String
Default: 8.11.1
clustername:
Type: String
Default: MyECSCluster
@SHolzhauer
SHolzhauer / es_pipeline.json
Last active November 16, 2023 20:26
Code to ingest SNS messages from EC2 image builder into Elasticsearch
{
"description": "Parse AWS SNS events",
"processors": [
{
"set": {
"field": "event.module",
"value": "aws"
}
},
{
@SHolzhauer
SHolzhauer / gcp_audit_ingest.tf
Created July 13, 2022 14:26
Terraform template creating resources to create a centralized processing pipeline for GCP audit logs
provider "google" {
project = var.google-cloud-project
}
provider "google-beta" {
project = var.google-cloud-project
}
# ---------------------------------------------------------
# Google Cloud
# ---------------------------------------------------------
variable "google-cloud-project" { type = string }
@SHolzhauer
SHolzhauer / .gitlab-ci.yml
Created June 2, 2022 18:32
Python script to use in CI-CD to update custom detection rules in Elastic Stack
stages:
- test
- deploy
test_rules:
stage: test
image: python:3.8
script:
- python -V # Print out python version for debugging
- pip install virtualenv

Keybase proof

I hereby claim:

  • I am sholzhauer on github.
  • I am sholzhauer (https://keybase.io/sholzhauer) on keybase.
  • I have a public key ASAGjsuSUwAUsrhuPqzeAN6gFuEVdMUK696DeTqsKIKjhgo

To claim this, I am signing this object:

@SHolzhauer
SHolzhauer / wildfly-install.sh
Created May 7, 2017 15:47 — forked from sukharevd/wildfly-install.sh
Script to install JBoss Wildfly 10.x as service in Linux
#!/bin/bash
#title :wildfly-install.sh
#description :The script to install Wildfly 10.x
#more :http://sukharevd.net/wildfly-8-installation.html
#author :Dmitriy Sukharev
#date :2016-06-18T02:45-0700
#usage :/bin/bash wildfly-install.sh
#tested-version1 :10.0.0.CR3
#tested-distros1 :Ubuntu 15.10; Debian 7,8; CentOS 7; Fedora 22
#tested-version2 :10.0.0.Final