Skip to content

Commit

Permalink
Add collect_events option
Browse files Browse the repository at this point in the history
  • Loading branch information
sarah-witt committed Jan 10, 2025
1 parent 84fb139 commit 7362e55
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 0 deletions.
8 changes: 8 additions & 0 deletions octopus_deploy/assets/configuration/spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,14 @@ files:
example: 30
type: integer
required: false
- name: collect_events
description: |
Whether or not to collect audit events about machines, deployments, and failed logins.
value:
default: false
example: true
type: boolean
required: false
- name: unified_service_tagging
description: |
Tags metrics, logs, and events with the project name as the `service`, and octopus environment as `env`,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ def instance_auth_type():
return 'basic'


def instance_collect_events():
return False


def instance_disable_generic_tags():
return False

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ class InstanceConfig(BaseModel):
aws_host: Optional[str] = None
aws_region: Optional[str] = None
aws_service: Optional[str] = None
collect_events: Optional[bool] = None
connect_timeout: Optional[float] = None
disable_generic_tags: Optional[bool] = None
empty_default_hostname: Optional[bool] = None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,11 @@ instances:
#
# paginated_limit: 30

## @param collect_events - boolean - optional - default: true
## Whether or not to collect audit events about machines, deployments, and failed logins.
#
# collect_events: true

## @param unified_service_tagging - boolean - optional - default: true
## Tags metrics, logs, and events with the project name as the `service`, and octopus environment as `env`,
## and release version as `version`.
Expand Down

0 comments on commit 7362e55

Please sign in to comment.