Skip to content

Instantly share code, notes, and snippets.

View shaeqahmed's full-sized avatar
😎
Coding

Shaeq Ahmed shaeqahmed

😎
Coding
  • Matano Labs
View GitHub Profile
@shaeqahmed
shaeqahmed / History|-11200800|entries.json
Last active August 15, 2022 14:19
Convert a non-negative integer to its english words representation. Given input is guaranteed to be less than 231 - 1.
{"version":1,"resource":"file:///Users/shaeqahmed/testt/matano/lambdas/KafkaTopicProviderLambda/transform-rs/src/liberror.rs","entries":[{"id":"LECp.rs","timestamp":1656427002204},{"id":"XOz5.rs","timestamp":1656427074991},{"id":"ZmYv.rs","timestamp":1656427087703},{"id":"tnCu.rs","timestamp":1656427106431},{"id":"fEP9.rs","timestamp":1656427391671}]}
@shaeqahmed
shaeqahmed / apple-sev-high-icon.png
Last active November 14, 2022 11:30
Matano severity icons
apple-sev-high-icon.png
@shaeqahmed
shaeqahmed / o365.go
Created December 8, 2022 05:15
o365 parser
.event.kind = "event"
.event.type = ["info"]
.event.category = ["web"]
.o365.audit = object!(del(.json.o365audit))
if .o365.audit.CreationTime != null {
creation_time, err = split(string!(.o365.audit.CreationTime), "Z")[0] + "Z"
.ts = to_timestamp!(creation_time)
}
@shaeqahmed
shaeqahmed / okta-system.yml
Created January 9, 2023 18:43
okta parser
name: system
transform: |
.event.kind = "event"
.event.category = []
.event.type = []
if .json.published != null {
.ts = to_timestamp!(.json.published, "seconds")
}