Skip to content

Commit 22b4625

Browse files
committed
update macos guide
1 parent 56f422e commit 22b4625

6 files changed

Lines changed: 27 additions & 43 deletions

File tree

.github/workflows/v10-deployment-pipeline.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: V10 - Build & Deploy Pipeline
33
on:
44
push:
55
branches: [ 'v10', 'release/v10**' ]
6-
tags: [ 'v10.*' ]
6+
tags: [ 'v10**' ]
77
pull_request:
88
branches: [ 'v10' ]
99

@@ -135,6 +135,7 @@ jobs:
135135
curl -sSL "https://storage.googleapis.com/utmstack-updates/dependencies/agent/utmstack_agent_dependencies_linux.zip" -o ./dependencies/agent/utmstack_agent_dependencies_linux.zip
136136
curl -sSL "https://storage.googleapis.com/utmstack-updates/dependencies/agent/utmstack_agent_dependencies_windows.zip" -o ./dependencies/agent/utmstack_agent_dependencies_windows.zip
137137
curl -sSL "https://storage.googleapis.com/utmstack-updates/dependencies/agent/utmstack_agent_dependencies_windows_arm64.zip" -o ./dependencies/agent/utmstack_agent_dependencies_windows_arm64.zip
138+
curl -sSL "https://storage.googleapis.com/utmstack-updates/dependencies/agent/utmstack-macos-agent-v10.pkg" -o ./dependencies/agent/utmstack-macos-agent.pkg
138139
139140
cp "${{ github.workspace }}/agent/utmstack_agent_service" ./dependencies/agent/
140141
cp "${{ github.workspace }}/agent/utmstack_agent_service.exe" ./dependencies/agent/

.github/workflows/v11-deployment-pipeline.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@ jobs:
193193
curl -sSL "https://storage.googleapis.com/utmstack-updates/dependencies/agent/utmstack_agent_dependencies_linux.zip" -o ./dependencies/agent/utmstack_agent_dependencies_linux.zip
194194
curl -sSL "https://storage.googleapis.com/utmstack-updates/dependencies/agent/utmstack_agent_dependencies_windows.zip" -o ./dependencies/agent/utmstack_agent_dependencies_windows.zip
195195
curl -sSL "https://storage.googleapis.com/utmstack-updates/dependencies/agent/utmstack_agent_dependencies_windows_arm64.zip" -o ./dependencies/agent/utmstack_agent_dependencies_windows_arm64.zip
196+
curl -sSL "https://storage.googleapis.com/utmstack-updates/dependencies/agent/utmstack-macos-agent-v10.pkg" -o ./dependencies/agent/utmstack-macos-agent.pkg
196197
197198
cp "${{ github.workspace }}/agent/utmstack_agent_service" ./dependencies/agent/
198199
cp "${{ github.workspace }}/agent/utmstack_agent_service.exe" ./dependencies/agent/

frontend/src/app/app-module/guides/guide-as400/guide-as400.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ <h4 class="card-title mb-0 text-primary">
77

88
<div class="card-body">
99
<div class="alert alert-warning alert-styled-right mb-3">
10-
The UTMStack AS400 Collector communicate over ports 9000 and 50051. Please make sure these ports are open.
10+
The UTMStack AS400 Collector communicate over ports 9000, 9001 and 50051. Please make sure these ports are open.
1111
</div>
1212
<ol class="setup_list">
1313
<app-utm-list [items]="steps">

frontend/src/app/app-module/guides/guide-macos-agent/guide-macos-agent.component.html

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -5,30 +5,30 @@ <h4 class="card-title mb-0 text-primary">
55
</h4>
66
</div>
77
<div class="card-body">
8-
<div class="alert alert-info alert-styled-right">
9-
This feature is part of a paid subscription. Please contact our support team to receive the appropriate installation dependencies.
10-
</div>
118
<p class="font-size-base text-justify mb-3">
129
The MacOS agent captures system and application logs and sends them to a UTMStack master server or probe/proxy, monitors system activity, and executes incident response commands.
1310
The UTMStack agents communicate over ports 9000, 9001 and 50051. Please make sure these ports are open.
1411
</p>
1512
<ol class="setup_list">
16-
<app-utm-list [items]="steps">
17-
<ng-template stepTemplateRef let-step>
18-
<li>
19-
<app-step>
20-
<span stepNumber>{{step.id}}</span>
21-
<div [innerHtml]="step.name"></div>
22-
<ng-container *ngIf="step.content">
23-
24-
<ng-template [ngIf]="step.content.id === 'stepContent3'">
25-
<app-agent-install-selector [platforms]="architectures" [_selectedPlatform]="architectures[0]"></app-agent-install-selector>
26-
</ng-template>
27-
</ng-container>
28-
</app-step>
29-
</li>
30-
</ng-template>
31-
</app-utm-list>
13+
<li>
14+
<p class="step-guide">
15+
<span class="step_number">1</span>
16+
Download the <a [href]="getDownloadUrl()" download="utmstack-macos-agent.pkg"><strong>utmstack-macos-agent.pkg</strong></a> file.
17+
</p>
18+
</li>
19+
<li>
20+
<p class="step-guide">
21+
<span class="step_number">2</span>
22+
Run the <strong>utmstack-macos-agent.pkg</strong> file. This will download and install the required components for the UTMStack agent.
23+
</p>
24+
</li>
25+
<li>
26+
<p class="step-guide">
27+
<span class="step_number">3</span>
28+
Use the following command according to the action you wish to perform (install or uninstall):
29+
</p>
30+
<app-agent-install-selector [platforms]="architectures" [_selectedPlatform]="architectures[0]"></app-agent-install-selector>
31+
</li>
3232
</ol>
3333
</div>
3434
</div>

frontend/src/app/app-module/guides/guide-macos-agent/guide-macos-agent.component.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
import {Component, Input, OnInit} from '@angular/core';
22
import {UtmModulesEnum} from '../../shared/enum/utm-module.enum';
3-
import {Step} from '../shared/step';
4-
import {MAC_STEPS} from './mac.steps';
53
import {
64
FederationConnectionService
75
} from "../../../app-management/connection-key/shared/services/federation-connection.service";
@@ -18,7 +16,6 @@ export class GuideMacosAgentComponent implements OnInit {
1816
module = UtmModulesEnum;
1917
@Input() serverId: number;
2018

21-
steps: Step[] = MAC_STEPS;
2219
architectures = [];
2320
token: string;
2421
constructor(private federationConnectionService: FederationConnectionService,) { }
@@ -51,6 +48,10 @@ export class GuideMacosAgentComponent implements OnInit {
5148
return `sudo bash -c "/opt/utmstack/${installerName}; launchctl bootout system /Library/LaunchDaemons/UTMStackAgent.plist 2>/dev/null; rm /Library/LaunchDaemons/UTMStackAgent.plist; rm -rf /opt/utmstack"`;
5249
}
5350

51+
getDownloadUrl(): string {
52+
const ip = window.location.host.includes(':') ? window.location.host.split(':')[0] : window.location.host;
53+
return `https://${ip}:9001/private/dependencies/agent/utmstack-macos-agent.pkg`;
54+
}
5455

5556
private loadArchitectures() {
5657
this.architectures = [

frontend/src/app/app-module/guides/guide-macos-agent/mac.steps.ts

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)