SHusain (DevOps Arsenal) (@LinuxTechLab) header
SHusain (DevOps Arsenal) (@LinuxTechLab) profile picture

https://nitter.cf/t.co/FDld5lV2Z6 DevOpsArsenal gives you every tool you need as a DevOps engineer, cloud architect, or software developer.

Joined January 2017
Photo by SHusain (DevOps Arsenal) (@LinuxTechLab)Photo by SHusain (DevOps Arsenal) (@LinuxTechLab)Photo by SHusain (DevOps Arsenal) (@LinuxTechLab)Photo by SHusain (DevOps Arsenal) (@LinuxTechLab)Photo by SHusain (DevOps Arsenal) (@LinuxTechLab)Photo by SHusain (DevOps Arsenal) (@LinuxTechLab)Photo by SHusain (DevOps Arsenal) (@LinuxTechLab)Photo by SHusain (DevOps Arsenal) (@LinuxTechLab)Photo by SHusain (DevOps Arsenal) (@LinuxTechLab)Photo by SHusain (DevOps Arsenal) (@LinuxTechLab)
Real talk: They come from console.log(user) in production. Before you paste any logs anywhere, run them through this → devopsarsenal.com/tools/log-… Full guide on masking PII in Splunk/ELK: [devopsarsenal.com/blog/remov…] #DevOps #Security #DevSecOps #SRE
1
24
Before you paste any log into Slack, Jira, or a support ticket — run it through this first: 🔗 devopsarsenal.com/tools/log-… Free, browser-only, nothing leaves your machine. Full guide with Logstash + Fluent Bit configs: [LINK] #SRE #DevOps #Security
1
71
Quick fix for Python — add this filter to your logger: python class PIIFilter(logging.Filter): def filter(self, record): record.msg = re.sub(r'\S+@\S+\.\S+', '[EMAIL]', str(record.msg)) return True Add one pattern per data type. Done.
1
17
What to mask in your logs: 🔴 JWT tokens → [JWT REDACTED] 🔴 API keys/secrets → [SECRET REDACTED] 🔴 Credit card numbers → [CARD REDACTED] 🟡 Email addresses → [EMAIL REDACTED] 🟡 IP addresses → [IP REDACTED] If it's in your DB, it shouldn't be in your logs.
1
4
Under GDPR Article 5 — storing PII in broadly accessible logs is considered a violation. A fintech company was fined €2.3M for exactly this. The logs weren't hacked. They were just... there. #GDPR #Compliance #InfoSec
1
16
The culprit is usually innocent. Someone adds log.debug("Processing user: " + user.toString()) toString() serializes the entire user object. Suddenly emails, phone numbers, and password hashes are flowing into your Splunk/ELK instance. And nobody noticed for 14 months.
1
24
You just got a Slack message from your security team: "Hey… we found user email addresses in the production logs." This happens to almost every team. Here's exactly why it happens and how to stop it permanently 🧵 #DevOps #Security #DevSecOps #developer #Cloud #aws #linux
1
36
I just published Mastering Remote Repository and Collaboration Scenarios: Top Git Interview Questions (Part 3) —… medium.com/p/mastering-remot…
29
I just published Advanced Git Branching and Merging Scenarios: Top Git Interview Questions (Part 2) — LinuxTechLab medium.com/p/advanced-git-br…
28
I just published Upgrade Terraform: How to upgrade Terraform version 0.11 to latest — LinuxTechLab link.medium.com/lfTNanUn6Mb (Original: linuxtechlab.com/upgrade-ter…)
8
I just published Upgrade Terraform: How to upgrade Terraform code from 0.12 to 0.13 — LinuxTechLab link.medium.com/K2v9rWfj6Mb (Original: linuxtechlab.com/how-to-upgr…)
8