Adopt OCSentinel script layout and add Gitea workflow
Some checks failed
OfficeCom Sentinel Client / build-client (push) Has been cancelled
Some checks failed
OfficeCom Sentinel Client / build-client (push) Has been cancelled
This commit is contained in:
@@ -4,7 +4,7 @@ internal static class ScanAndUploadCommand
|
||||
{
|
||||
public static int Execute(string[] args)
|
||||
{
|
||||
string outputPath = @"C:\ProgramData\AttackTracerNinja\reports\latest.json";
|
||||
string outputPath = @"C:\ProgramData\OCSentinel\reports\latest.json";
|
||||
bool hasOutput = false;
|
||||
|
||||
for (int i = 0; i < args.Length; i++)
|
||||
|
||||
@@ -41,7 +41,7 @@ internal static class UploadCommand
|
||||
}
|
||||
|
||||
string resolvedConfigPath = Path.GetFullPath(configPath ?? @"C:\ProgramData\OCSentinel\config\ocsentinel-client.json");
|
||||
string resolvedSecretPath = Path.GetFullPath(secretPath ?? @"C:\ProgramData\OCSentinel\secrets\upload-secret.dat");
|
||||
string resolvedSecretPath = Path.GetFullPath(secretPath ?? @"C:\ProgramData\OCSentinel\secrets\ocsentinel-upload-secret.dat");
|
||||
ClientConfiguration config = ClientConfiguration.Load(resolvedConfigPath);
|
||||
|
||||
if (string.IsNullOrWhiteSpace(config.N8nWebhookUrl))
|
||||
|
||||
Reference in New Issue
Block a user