Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejs
{    
    # common tags are here
    ...
    # Event specific (for farm.terminate only)
    "farm.terminate.farm_id": 1, # Identifier of the Farm which is terminated
    "farm.terminate.farm_name": "My farm", # The name of the Farm which is terminated
    "farm.terminate.owner.user_id": 13, # Identifier of the owner of the Farm
    "farm.terminate.owner.user_email" : "user@scalr.com", # The email address of the owner of the Farm
    "farm.terminate.owner.teams": [2,5], # Identifiers of the Teams by which the Farm is owned
    "service.scheduler.task_id": 139034 # Optional tag which is applied only when crontab is the actor that triggers event
    "tags": ["audit", "farm.terminate"]
}

Farm Ownership

...

Change

Code Block
farm.ownership_change {
    # common tags are here
    ...
    # Event specific (for farm.ownership only)
    "farm.ownership_change.farm_id": 1, # Identifier of the Farm which has ownership changes
    "farm.ownership_change.name": "My farm", # The name of the Farm
    "farm.ownership_change.new.owner.id": 2, # Identifier of the new/current owner of the Farm
    "farm.ownership_change.new.owner.email": "owner2@scalr.com", # The email address of the new/current owner of the Farm
    "farm.ownership_change.new.owner.teams": [4], # The list of the Team IDs which the Farm is currently owned by. It can be NULL if there are no Team owner.
    "farm.ownership_change.prev.owner.id": 1, # Identifier of the previous owner of the Farm
    "farm.ownership_change.prev.owner.email": "owner1@scalr.com", # The email address of the previous owner of the Farm
    "farm.ownership_change.prev.owner.teams": null, # The list of the Team IDs which the Farm is previously owned by. It can be NULL if there are no Team owner.
    "tags": ["audit", "farm.ownership_change"]
}

...