Skip to content

Security Information and Event Management

Published: at 03:57 PMSuggest Changes

What is SIEM?

SIEM is a software solution that helps organizations detect, analyze, and respond to security threats before they disrupt business operations. It combines security information management (SIM) and security event management (SEM) into a single platform.

Introducing AstroPaper 2.0

Table of contents

Open Table of contents

Features & Changes

Type-safe Frontmatters and Redefined Blog Schema

Frontmatter of AstroPaper 2.0 markdown contents are now type-safe thanks to Astro’s Content Collections. Blog schema is defined inside the src/content/_schemas.ts file.

New Home for Blog contents

All the blog posts were moved from src/contents to src/content/blog directory.

New Fetch API

Contents are now fetched with getCollection function. No relative path to the content needs to be specified anymore.

// old content fetching method
- const postImportResult = import.meta.glob<MarkdownInstance<Frontmatter>>(
  "../contents/**/**/*.md",);

// new content fetching method
+ const postImportResult = await getCollection("blog");

Modified Search Logic for better Search Result

In the older version of AstroPaper, when someone search some article, the search criteria keys that will be searched are title, description and headings (heading means all the headings h1 ~ h6 of the blog post). In AstroPaper v2, only title and description will be searched as the user types.

Renamed Frontmatter Properties

The following frontmatter properties are renamed.

Old NamesNew Names
datetimepubDatetime
slugpostSlug

Default Tag for blog post

If a blog post doesn’t have any tag (in other words, frontmatter property tags is not specified), the default tag others will be used for that blog post. But you can set the default tag in the /src/content/_schemas.ts file.

// src/contents/_schemas.ts
export const blogSchema = z.object({
  // ---
  // replace "others" with whatever you want
  tags: z.array(z.string()).default(["others"]),
  ogImage: z.string().optional(),
  description: z.string(),
});

New Predefined Dark Color Scheme

AstroPaper v2 has a new dark color scheme (high contrast & low contrast) which is based on Astro’s dark logo. Check out this link for more info.

New Predefined Dark Color Scheme

Automatic Class Sorting

AstroPaper 2.0 includes automatic class sorting with TailwindCSS Prettier plugin

Updated Docs & README

All the #docs blog posts and README are updated for this AstroPaper v2.

Bug Fixes

How Does SIEM Work?

Data Collection: SIEM collects log data from various sources like servers, network devices, applications, and security tools. Data Normalization: The collected data is normalized and structured to make it easier to analyze. Data Analysis: The SIEM platform analyzes the data to identify anomalies, trends, and potential security threats. Alerting and Response: If a threat is detected, the SIEM system generates alerts and triggers automated response actions like blocking IP addresses or shutting down systems.

Key Benefits of SIEM


Previous Post
AstroPaper 2.0
Next Post
Dynamic OG image generation in AstroPaper blog posts