Skip to content

Commit 8d9be89

Browse files
committed
fea: add tls connection options and setup steps for syslog integrations
Signed-off-by: Manuel Abascal <mjabascal10@gmail.com>
1 parent a6dd656 commit 8d9be89

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ <h4 class="card-title mb-0 text-primary">
3131
</ng-template>
3232

3333
<ng-template [ngIf]="step.content.id === 'stepContent2'">
34-
<app-log-colletor [agent] = "moduleEnum"
35-
[protocols]="getProtocols()">
34+
<app-log-colletor [agent] = "moduleEnum">
3635
</app-log-colletor>
3736
</ng-template>
3837

frontend/src/app/app-module/guides/shared/components/log-collector.component.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import {
55
} from '../../../../shared/components/utm/util/modal-confirmation/modal-confirmation.component';
66
import {replaceCommandTokens} from "../../../../shared/util/replace-command-tokens.util";
77
import {UtmModulesEnum} from '../../../shared/enum/utm-module.enum';
8+
import {PLATFORMS} from "../constant";
89

910
@Component({
1011
selector: 'app-log-colletor',
@@ -32,7 +33,7 @@ import {UtmModulesEnum} from '../../../shared/enum/utm-module.enum';
3233
</div>
3334
<ng-container *ngIf="selectedProtocol && selectedPlatform && selectedAction">
3435
<span class="font-weight-semibold mb-2">{{selectedPlatform.shell}}</span>
35-
<app-utm-code-view class="" [code]=commands></app-utm-code-view>
36+
<app-utm-code-view *ngFor="let command of commands" class="" [code]=command></app-utm-code-view>
3637
</ng-container>
3738
`,
3839
styles: [`
@@ -51,7 +52,7 @@ import {UtmModulesEnum} from '../../../shared/enum/utm-module.enum';
5152
export class LogCollectorComponent {
5253

5354
@Input() agent: string;
54-
@Input() platforms: any[];
55+
@Input() platforms: any[] = PLATFORMS;
5556
@Input() hideActions = false;
5657
@Input() hideProtocols = false;
5758
@Input() protocols = [

0 commit comments

Comments
 (0)