Deploying to Azure: Secure Your GitHub Workflow with OIDC

OpenID Connect (OIDC) authentication for GitHub Actions and Azure deployments is a real game-changer in the world of security. It significantly enhances security when deploying to your Azure environment. In this blog post, I’ll explain why to use OIDC, walk through setting up an Azure AD application with federated credentials using Azure CLI, and demonstrate … Read more

Getting current date and time in Azure Logic Apps using utcnow()

Using Azure Logic Apps within your environment and wanting to get the current date and time within the Logic App? In this blog post I will show how you can do this with using the function utcNow() What is utcnow() ? utcNow(), as I mentioned above, is a function in Azure Logic Apps. It is … Read more

AKS Preview API lifecycle – Script to check if deprecated API versions are being used

The post discusses an Azure Kubernetes Service (AKS) user’s experience with preview API retirements and shares a script to check current API versions in use. AKS preview APIs last about a year, and the script functionality includes querying the activity log for specific API versions. It generates a report detailing API usage, enabling proactive management to avoid deprecated versions and ensuring timely updates in Azure environments.

Using Terraform for Geo-Restore in Azure PostgreSQL Flexible Server

It was recently announced that you can now use Terraform to Geo-Restore within PostgreSQL Flexible server. I will show how you can do this within this blog post. Terraform support for Geo-Restore allows you to incorporate the functionality into your CI/CD tooling! What is Geo-Restore? Geo-Restore is a powerful disaster recovery feature for Azure Database … Read more

Step-by-Step Guide to Optimising Azure NSG Rules creation with Terraform: try Function and for_each Explained

Screenshot showing inbound Azure NSG Security rules

This guide looks at Optimising Azure NSG Rules Creation with Terraform. We’ll look at how to use the try function with for_each for Terraform NSG Rule Configuration and all arguments for azurerm_network_security_rule, providing a Step-by-Step Terraform NSG Guide for optimising Terraform Azure NSG Rules. A follow on from my popular blog post: Network Security Group … Read more

Time based filtering in Log Analytics queries with examples

I have used Log Analytics & Kusto Query Language (KQL) quite alot over the years, recently I been spending sometime writing a number of queries that have time based filtering included, such as return data for a specific month, specific time frame etc – have created a quick blog post to show some of these … Read more

Mitigating Prompt Injections with Azure AI Prompt Shields and Terraform Deployment

High-level diagram showing how to mitigate Prompt Injection with Azure Prompt Shield

Using Open AI, you have probably came across prompt injections – Azure recently released a new service called AI Prompt Shields. In this blog post we will look at how you can deploy Azure AI Prompt Shield to mitigate against prompt injections – this will be deployed using Terraform with an example of mitigating. What … Read more

Boost GitHub Actions Efficiency with Path Filters: Only run when specific files or paths are updated

Within your GitHub Actions, you may be running a lot of workflows continuously during a merge to the main branch – a way to mitigate the possibility of them always running is to implement path filters. What are path filters? Path filters in GitHub Actions allow you specify when the workflow/action runs essentially, it helps … Read more

Deploying MkDocs to GitHub Pages with GitHub Actions

Screenshot showing an example of MkDocs

In this blog post, I will show how you can deploy your MkDocs to GitHub Pages with GitHub Actions. What is MKDocs? MKDocs is a great little tool for creating a static site, used commonly to store repository documentation, drawings, some examples etc! MkDocs is a fast, simple and downright gorgeous static site generator that’s geared towards building project documentation. … Read more