Skip to content

Commit 965201e

Browse files
committed
[backend] Fix property name
1 parent b30c20e commit 965201e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

openbas-api/src/main/java/io/openbas/executors/crowdstrike/CrowdStrikeExecutor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public void init() {
3939
// Get and create/update the Crowdstrike asset groups, assets and agents each hour (by
4040
// default)
4141
this.taskScheduler.scheduleAtFixedRate(
42-
service, Duration.ofSeconds(this.config.getApiRegisterDelay()));
42+
service, Duration.ofSeconds(this.config.getApiRegisterInterval()));
4343
}
4444
}
4545
}

openbas-api/src/main/java/io/openbas/executors/crowdstrike/config/CrowdStrikeExecutorConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public class CrowdStrikeExecutorConfig {
1717

1818
@Getter @NotBlank private String apiUrl;
1919

20-
@Getter @NotBlank private Integer apiRegisterDelay = 3600;
20+
@Getter @NotBlank private Integer apiRegisterInterval = 3600;
2121

2222
@Getter @NotBlank private String clientId;
2323

openbas-api/src/main/resources/application.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ executor.tanium.unix-package-id=
201201
executor.crowdstrike.enable=false
202202
executor.crowdstrike.id=2a16dcc4-55ac-40fc-8110-d5968a46cdd1
203203
executor.crowdstrike.api-url=https://api.us-2.crowdstrike.com
204-
executor.crowdstrike.api-register-delay=3600
204+
executor.crowdstrike.api-register-interval=3600
205205
executor.crowdstrike.client-id=<crowdstrike-client-id>
206206
executor.crowdstrike.client-secret=<crowdstrike-client-secret>
207207
executor.crowdstrike.host-group=<host-group>

0 commit comments

Comments
 (0)