Files
UnrealEngine/Engine/Source/Programs/AutomationTool/AutomationUtils/Matchers/UnsecureHttpMatcher.cs
Brandyn / Techy fcc1b09210 init
2026-04-04 15:40:51 -05:00

24 lines
544 B
C#

// Copyright Epic Games, Inc. All Rights Reserved.
using EpicGames.Core;
using Microsoft.Extensions.Logging;
using System.Text.RegularExpressions;
#nullable enable
namespace AutomationUtils.Matchers
{
class UnsecureHttpMatcher : ILogEventMatcher
{
public LogEventMatch? Match(ILogCursor cursor)
{
if (cursor.Contains("WARNING: Insecure HTTP request"))
{
return new LogEventBuilder(cursor).ToMatch(LogEventPriority.Normal, LogLevel.Information, KnownLogEvents.Systemic_SignToolTimeStampServer);
}
return null;
}
}
}