Image for post
Image for post
Photo by CJ Dayrit on Unsplash

If you need to cleanup your namespace resources based on a prefix and don’t want to do it manually, then this script I wrote is for you.

Note that this assumes you use a naming convention for your resources.

This will iterate through resources, in the right order ( as tested so far… ) to delete everything starting with that prefix.


This simple experiment shows how to pull data from https://nvd.nist.gov/ and display it in custom dashboards in datastudio, tailored to your needs, like so:

Image for post
Image for post
https://datastudio.google.com/reporting/41b955e6-a58d-46c8-88c1-bad0feb5b9bf

Here’s a breakdown of what we’ll use:

The setup would look something like this:

Image for post
Image for post
https://clglavan.github.io/nvd-scrapper/

In this example I’ll provide the docker compose for nvd-scrapper and bigquery-job. The transition to GitLab or GitHub shouldn’t be that difficult but it’s not the scope of this piece. …

About

Cristian Glavan

DevOps Engineer @ Zitec.com — Full-Stack Web Developer — Creative— Martial Artist — Curious — Lateral Thinking

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store