Fleet Application Management Events
Oracle Cloud Infrastructure Events are JSON files that are emitted with some service operations and carry information about that operation.
You can define rules that trigger a specific action when an event occurs. For more information, see Overview of Events and Get Started with Events. Fleet Application Management emits an event for the following actions:
- Administration Event Types
- Fleet Event Types
- Maintenance Window Event Types
- Operations Event Types
- Runbook Event Types
Administration Event Types
The following are the event types that Fleet Application Management administration actions emit:
Friendly Event Name | Event Type |
---|---|
Create Property |
|
Delete Property |
|
List Onboardings |
|
List Properties |
|
Update Property |
|
Create Platform Configuration |
|
Create Compliance Policy Rule |
|
List Platform Configurations |
|
List Compliance Policy Rules |
|
List Compliance Policies |
|
Get Compliance Policy |
|
Update Platform Configuration |
|
Update Compliance Policy Rule |
|
Delete Platform Configuration |
|
Delete Compliance Policy Rule |
|
Example Event for Onboarding
{
"eventType": "com.oraclecloud.famsadmin.ListOnboardings",
"cloudEventsVersion": "0.1",
"eventTypeVersion": "2.0",
"source": "famsadmin",
"eventId": "<unique_ID>",
"eventTime": "2023-11-29T05:25:59.279Z",
"contentType": "application/json",
"data": {
"eventGroupingId": "<unique_ID>",
"eventName": "ListOnboardings",
"compartmentId": "ocid1.compartment.oc1..<unique_ID>",
"compartmentName": "example_name",
"resourceName": "",
"resourceId": null,
"availabilityDomain": "AD1",
"freeformTags": null,
"definedTags": null,
"identity": {
"principalName": "sample_name",
"principalId": "ocid1.user.oc1..<unique_ID>",
"authType": "natv",
"callerName": null,
"callerId": null,
"tenantId": "ocid1.tenancy.oc1..<unique_ID>",
"ipAddress": "160.34.115.210",
"credentials": "<unique_ID>",
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36",
"consoleSessionId": "csid<unique_ID>"
},
"request": {
"id": "csid<unique_ID>",
"path": "/20230831/Onboardings",
"action": "GET",
"parameters": {
"compartmentId": [
"ocid1.tenancy.oc1..<unique_ID>"
]
},
"headers": {
"Accept": [
"*/*"
],
"Accept-Encoding": [
"gzip, deflate, br"
],
"Accept-Language": [
"en"
],
"Authorization": [
"Signature keyId=\"ST$ey<unique_ID>",signature=\"*****\""
],
"Connection": [
"keep-alive"
],
"Origin": [
"https://cloud.oracle.com"
],
"Referer": [
"https://cloud.oracle.com/"
],
"Sec-Fetch-Dest": [
"empty"
],
"Sec-Fetch-Mode": [
"cors"
],
"Sec-Fetch-Site": [
"cross-site"
],
"User-Agent": [
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36"
],
"opc-request-id": [
"<unique_ID>"
],
"sec-ch-ua": [
"\"Google Chrome\";v=\"119\", \"Chromium\";v=\"119\", \"Not?A_Brand\";v=\"24\""
],
"sec-ch-ua-mobile": [
"?0"
],
"sec-ch-ua-platform": [
"\"macOS\""
],
"x-date": [
"Wed, 29 Nov 2023 05:25:49 GMT"
]
}
},
"response": {
"status": "200",
"responseTime": "2023-11-29T05:25:59.279Z",
"headers": {
"Access-Control-Allow-Credentials": [
"true"
],
"Access-Control-Allow-Origin": [
"https://cloud.oracle.com"
],
"Access-Control-Expose-Headers": [
"opc-previous-page,opc-next-page,opc-client-info,ETag,opc-work-request-id,opc-total-items,opc-request-id,Location"
],
"Connection": [
"keep-alive"
],
"Content-Encoding": [
"gzip"
],
"Content-Length": [
"302"
],
"Content-Type": [
"application/json"
],
"Date": [
"Wed, 29 Nov 2023 05:25:59 GMT"
],
"Strict-Transport-Security": [
"max-age=15724800; includeSubDomains"
],
"Timing-Allow-Origin": [
"https://cloud.oracle.com"
],
"Vary": [
"Accept-Encoding",
"Origin"
],
"X-Content-Type-Options": [
"nosniff"
],
"X-Frame-Options": [
"SAMEORIGIN"
],
"opc-next-page": [
"<unique_ID>=="
],
"opc-request-id": [
"csid<unique_ID>"
]
},
"payload": {},
"message": "ListOnboardings succeeded"
},
"stateChange": {
"previous": null,
"current": null
},
"additionalDetails": {
"X- ": 51190
}
}
}
Fleet Event Types
The following are the event types that Fleet actions emit:
Friendly Event Name | Event Type |
---|---|
Confirm Targets |
|
Create Fleet |
|
Create Fleet Credential |
|
Create Fleet Property |
|
Create Fleet Resource |
|
Delete Fleet |
|
Delete Fleet Credential |
|
Delete Fleet Property |
|
Delete Fleet Resource |
|
Generate Compliance Report |
|
Get Compliance Report |
|
Get Fleet |
|
Get Fleet Credential |
|
Get Fleet Property |
|
List Announcements |
|
List Fleet Credentials |
|
List Fleet Products |
|
List Fleet Properties |
|
List Fleet Resources |
|
List Fleets |
|
List Fleet Targets |
|
List Inventory Resources |
|
Request Resource Validation |
|
Request Target Discovery |
|
Update Fleet |
|
Update Fleet Credential |
|
Update Fleet Property |
|
Example Event for Getting a Fleet's Details
{
"eventType": "com.oraclecloud.famsfleetmanagement.GetFleet",
"cloudEventsVersion": "0.1",
"eventTypeVersion": "2.0",
"source": "famsfleetmanagement",
"eventId": "<unique_ID>",
"eventTime": "2023-12-15T04:49:14.167Z",
"contentType": "application/json",
"data": {
"eventGroupingId": "csid<unique_ID>",
"eventName": "GetFleet",
"compartmentId": "ocid1.tenancy.oc1..<unique_ID>",
"compartmentName": "example_name",
"resourceName": "sample_resourcename",
"resourceId": "ocid1.<unique_ID>",
"availabilityDomain": "AD1",
"freeformTags": null,
"definedTags": null,
"identity": {
"principalName": "sample_name",
"principalId": "ocid1.user.oc1..<unique_ID>",
"authType": "natv",
"callerName": null,
"callerId": null,
"tenantId": "ocid1.tenancy.oc1..<unique_ID>",
"ipAddress": "209.17.43.231",
"credentials": "<unique_ID>",
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/115.0",
"consoleSessionId": "csid<unique_ID>"
},
"request": {
"id": "csid<unique_ID>",
"path": "/20230831/fleets/ocid1.famsfleet.oc1.iad.<unique_ID>",
"action": "GET",
"parameters": {},
"headers": {
"Accept": [
"*/*"
],
"Accept-Encoding": [
"gzip, deflate, br"
],
"Accept-Language": [
"en"
],
"Authorization": [
"Signature keyId=\"ST$ey<unique_ID>",signature=\"*****\""
],
"Connection": [
"keep-alive"
],
"If-None-Match": [
"<unique_ID>--gzip"
],
"Origin": [
"https://cloud.oracle.com"
],
"Referer": [
"https://cloud.oracle.com/"
],
"Sec-Fetch-Dest": [
"empty"
],
"Sec-Fetch-Mode": [
"cors"
],
"Sec-Fetch-Site": [
"cross-site"
],
"User-Agent": [
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/115.0"
],
"opc-request-id": [
"csid<unique_ID>"
],
"x-date": [
"Fri, 15 Dec 2023 04:49:12 GMT"
]
}
},
"response": {
"status": "200",
"responseTime": "2023-12-15T04:49:14.167Z",
"headers": {
"Access-Control-Allow-Credentials": [
"true"
],
"Access-Control-Allow-Origin": [
"https://cloud.oracle.com"
],
"Access-Control-Expose-Headers": [
"opc-previous-page,opc-next-page,opc-client-info,ETag,opc-work-request-id,opc-total-items,opc-request-id,Location"
],
"Connection": [
"keep-alive"
],
"Content-Encoding": [
"gzip"
],
"Content-Length": [
"614"
],
"Content-Type": [
"application/json"
],
"Date": [
"Fri, 15 Dec 2023 04:49:14 GMT"
],
"ETag": [
"<unique_ID>--gzip"
],
"Strict-Transport-Security": [
"max-age=15724800; includeSubDomains"
],
"Timing-Allow-Origin": [
"https://cloud.oracle.com"
],
"Vary": [
"Accept-Encoding",
"Origin"
],
"X-Content-Type-Options": [
"nosniff"
],
"X-Frame-Options": [
"SAMEORIGIN"
],
"opc-request-id": [
"csid<unique_ID>"
]
},
"payload": {},
"message": "KKWeblogicClusterPatchTest1 GetFleet succeeded"
},
"stateChange": {
"previous": null,
"current": null
},
"additionalDetails": {
"X-Real-Port": 55409
}
}
}
Maintenance Window Event Types
The following are the event types that maintenance window actions emit:
Friendly Event Name | Event Type |
---|---|
Create Maintenance Window |
|
Delete Maintenance Window |
|
Get Maintenance Window |
|
List Maintenance Window |
|
Update Maintenance Window |
|
{
"eventType": "com.oraclecloud.famsmaintenancewindow.CreateMaintenanceWindow",
"cloudEventsVersion": "0.1",
"eventTypeVersion": "2.0",
"source": "famsmaintenancewindow",
"eventId": "<unique_ID>",
"eventTime": "2023-11-29T06:40:53.428Z",
"contentType": "application/json",
"data": {
"eventGroupingId": "csid<unique_ID>",
"eventName": "CreateMaintenanceWindow",
"compartmentId": "ocid1.tenancy.oc1..<unique_ID>",
"compartmentName": "example_name",
"resourceName": "MW1",
"resourceId": null,
"availabilityDomain": "AD3",
"freeformTags": {},
"definedTags": {
"Oracle-Tags": {
"CreatedBy": "default/xxname.name@oracle.com",
"CreatedOn": "2023-11-29T06:40:52.851Z"
}
},
"identity": {
"principalName": "sample_name",
"principalId": "ocid1.user.oc1..<unique_ID>",
"authType": "natv",
"callerName": null,
"callerId": null,
"tenantId": "ocid1.tenancy.oc1..<unique_ID>",
"ipAddress": "203.0.113.2",
"credentials": "ST$ey<unique_ID>",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36",
"consoleSessionId": "csid<unique_ID>"
},
"request": {
"id": "csid<unique_ID>",
"path": "/20230831/maintenanceWindows",
"action": "POST",
"parameters": {},
"headers": {
"Accept": [
"*/*"
],
"Accept-Encoding": [
"gzip, deflate, br"
],
"Accept-Language": [
"en"
],
"Authorization": [
"Signature keyId=\"ST$ey<unique_ID>",signature=\"*****\""
],
"Connection": [
"keep-alive"
],
"Content-Length": [
"417"
],
"Content-Type": [
"application/json"
],
"Origin": [
"https://cloud.oracle.com"
],
"Referer": [
"https://cloud.oracle.com/"
],
"Sec-Fetch-Dest": [
"empty"
],
"Sec-Fetch-Mode": [
"cors"
],
"Sec-Fetch-Site": [
"cross-site"
],
"User-Agent": [
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36"
],
"opc-request-id": [
"csid<unique_ID>"
],
"sec-ch-ua": [
"\"Google Chrome\";v=\"119\", \"Chromium\";v=\"119\", \"Not?A_Brand\";v=\"24\""
],
"sec-ch-ua-mobile": [
"?0"
],
"sec-ch-ua-platform": [
"\"Windows\""
],
"x-content-sha256": [
"RGKKmorDyw7MKmkD+Xc8kAAC/+MLnM35sx6T80zdgMY="
],
"x-date": [
"Wed, 29 Nov 2023 06:40:51 GMT"
]
}
},
"response": {
"status": "200",
"responseTime": "2023-11-29T06:40:53.428Z",
"headers": {
"Access-Control-Allow-Credentials": [
"true"
],
"Access-Control-Allow-Origin": [
"https://mydb.example.com"
],
"Access-Control-Expose-Headers": [
"opc-previous-page,opc-next-page,opc-client-info,ETag,opc-work-request-id,opc-total-items,opc-request-id,Location"
],
"Connection": [
"keep-alive"
],
"Content-Length": [
"790"
],
"Content-Location": [
"https://fams.<location>.oci.oraclecloud.com/20230831/maintenanceWindowsocid1.famsmaintenancewindow.oc1.iad.<unique_ID>"
],
"Content-Type": [
"application/json"
],
"Date": [
"Wed, 29 Nov 2023 06:40:53 GMT"
],
"ETag": [
"9652811380260925246fc754c93c20941ef9b19e7471a74af82d588315402b53"
],
"Location": [
"https://fams.us-ashburn-1.oci.oraclecloud.com/20230831/maintenanceWindowsocid1.famsmaintenancewindow.oc1.iad.<unique_ID>"
],
"Strict-Transport-Security": [
"max-age=15724800; includeSubDomains"
],
"Timing-Allow-Origin": [
"https://cloud.oracle.com"
],
"Vary": [
"Origin"
],
"X-Content-Type-Options": [
"nosniff"
],
"X-Frame-Options": [
"SAMEORIGIN"
],
"opc-request-id": [
"csid<unique_ID>"
],
"opc-work-request-id": [
"9<unique_ID>"
]
},
"payload": {},
"message": "MW1 CreateMaintenanceWindow succeeded"
},
"stateChange": {
"previous": {},
"current": {
"compartmentId": "ocid1.tenancy.oc1..<unique_ID>",
"description": "first Maintenance window",
"displayName": "MW1",
"duration": "PT4M",
"id": "ocid1.famsmaintenancewindow.oc1.iad.<unique_ID>",
"isOutage": false,
"isRecurring": false,
"lifecycleState": "ACTIVE",
"maintenanceWindowType": "OPEN_ENDED",
"maxRecurrence": 0,
"recurrences": "",
"region": "us-ashburn-1",
"taskInitiationCutoff": 1,
"timeCreated": "2023-11-29T06:40:53.128Z",
"timeScheduleStart": "2023-11-30T00:00:00.000Z",
"timeUpdated": "2023-11-29T06:40:53.128Z"
}
},
"additionalDetails": {
"X-Real-Port": 53823
}
}
}
Operations Event Types
The following are the event types that Fleet Application Management operations emit:
Friendly Event Name | Event Type |
---|---|
Create Scheduler Definition |
|
Create Patch |
|
Delete Scheduler Definition |
|
Delete Scheduler Job |
|
Delete Patch |
|
Get Job Activity |
|
Get Scheduler Definition |
|
Update Scheduler Definition |
|
Get Scheduler Job |
|
Get Patch |
|
List Scheduled Fleets |
|
List Scheduled Definitions |
|
List Scheduler Jobs |
|
List Steps |
|
List Resources |
|
List Patches |
|
List Compliance Records |
|
Update Scheduler Definitions |
|
Update Scheduler Job |
|
Update Patch |
|
Summarize Scheduler Job Counts |
|
Summarize Managed Entity Counts |
|
Summarize Compliance Record Counts |
|
Example for Listing Schedules
{
"eventType": "com.oraclecloud.famsoperations.ListSchedulerDefinitions",
"cloudEventsVersion": "0.1",
"eventTypeVersion": "2.0",
"source": "famsoperations",
"eventId": "<unique_ID>",
"eventTime": "2023-12-18T06:07:38.208Z",
"contentType": "application/json",
"data": {
"eventGroupingId": "csid<unique_ID>",
"eventName": "ListSchedulerDefinitions",
"compartmentId": "ocid1.tenancy.oc1..<unique_ID>",
"compartmentName": "example_name",
"resourceName": "",
"resourceId": null,
"availabilityDomain": "AD1",
"freeformTags": null,
"definedTags": null,
"identity": {
"principalName": "sample_nam",
"principalId": "ocid1.user.oc1..<unique_ID>",
"authType": "natv",
"callerName": null,
"callerId": null,
"tenantId": "ocid1.tenancy.oc1..<unique_ID>",
"ipAddress": "160.34.115.211",
"credentials": "ST$ey<unique_ID>",
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36",
"consoleSessionId": "csid<unique_ID>"
},
"request": {
"id": "csid<unique_ID>",
"path": "/20230831/schedulerDefinitions",
"action": "GET",
"parameters": {
"compartmentId": [
"ocid1.tenancy.oc1..<unique_ID>"
],
"limit": [
"1"
]
},
"headers": {
"Accept": [
"*/*"
],
"Accept-Encoding": [
"gzip, deflate, br"
],
"Accept-Language": [
"en"
],
"Authorization": [
"Signature keyId=\"ST$ey<unique_ID>",signature=\"*****\""
],
"Connection": [
"keep-alive"
],
"Origin": [
"https://cloud.oracle.com"
],
"Referer": [
"https://cloud.oracle.com/"
],
"Sec-Fetch-Dest": [
"empty"
],
"Sec-Fetch-Mode": [
"cors"
],
"Sec-Fetch-Site": [
"cross-site"
],
"User-Agent": [
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"
],
"opc-request-id": [
"csid<unique_ID>"
],
"sec-ch-ua": [
"\"Not_A Brand\";v=\"8\", \"Chromium\";v=\"120\", \"Google Chrome\";v=\"120\""
],
"sec-ch-ua-mobile": [
"?0"
],
"sec-ch-ua-platform": [
"\"macOS\""
],
"x-date": [
"Mon, 18 Dec 2023 06:07:25 GMT"
]
}
},
"response": {
"status": "200",
"responseTime": "2023-12-18T06:07:38.208Z",
"headers": {
"Access-Control-Allow-Credentials": [
"true"
],
"Access-Control-Allow-Origin": [
"https://cloud.oracle.com"
],
"Access-Control-Expose-Headers": [
"opc-previous-page,opc-next-page,opc-client-info,ETag,opc-work-request-id,opc-total-items,opc-request-id,Location"
],
"Connection": [
"keep-alive"
],
"Content-Encoding": [
"gzip"
],
"Content-Length": [
"537"
],
"Content-Type": [
"application/json"
],
"Date": [
"Mon, 18 Dec 2023 06:07:38 GMT"
],
"Strict-Transport-Security": [
"max-age=15724800; includeSubDomains"
],
"Timing-Allow-Origin": [
"https://cloud.oracle.com"
],
"Vary": [
"Accept-Encoding",
"Origin"
],
"X-Content-Type-Options": [
"nosniff"
],
"X-Frame-Options": [
"SAMEORIGIN"
],
"opc-request-id": [
"csid<unique_ID>"
],
"opc-total-items": [
"40"
]
},
"payload": {},
"message": "ListSchedulerDefinitions succeeded"
},
"stateChange": {
"previous": null,
"current": null
},
"additionalDetails": {
"X-Real-Port": 52116
}
}
}
Runbook Event Types
The following are the event types that Fleet Application Management runbooks emit:
Friendly Event Name | Event Type |
---|---|
Create Runbook |
|
Create Task Record |
|
Get Runbook |
|
Get Task Record |
|
List Runbooks |
|
List Task Records |
|
Update Task Record |
|
Publish Runbook |
|
Delete Task Record |
|
Delete Runbook |
|
Example for Getting a Runbook Task's Details
{
"eventType": "com.oraclecloud.famsrunbook.GetTaskRecord",
"cloudEventsVersion": "0.1",
"eventTypeVersion": "2.0",
"source": "famsrunbook",
"eventId": "<unique_ID>",
"eventTime": "2024-01-09T01:55:17.378Z",
"contentType": "application/json",
"data": {
"eventGroupingId": "csid<unique_ID>",
"eventName": "GetTaskRecord",
"compartmentId": "ocid1.tenancy.oc1..<unique_ID>",
"compartmentName": "example_name",
"resourceName": "Database Patching",
"resourceId": "ocid1.famstaskrecord.oc1..<unique_ID>",
"availabilityDomain": "AD2",
"freeformTags": null,
"definedTags": null,
"identity": {
"principalName": "name",
"principalId": "ocid1.user.oc1..<unique_ID>",
"authType": "natv",
"callerName": null,
"callerId": null,
"tenantId": "ocid1.tenancy.oc1..<unique_ID>",
"ipAddress": "122.171.22.18",
"credentials": "ST$eyJ*****",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36",
"consoleSessionId": "csid0<unique_ID>"
},
"request": {
"id": "csid0<unique_ID>",
"path": "/20230831/taskRecords/ocid1.famstaskrecord.oc1.iad.<unique_ID>",
"action": "GET",
"parameters": {},
"headers": {
"Accept": [
"*/*"
],
"Accept-Encoding": [
"gzip, deflate, br"
],
"Accept-Language": [
"en"
],
"Authorization": [
"Signature keyId=\"ST$ey****",signature=\"*****\""
],
"Connection": [
"keep-alive"
],
"Origin": [
"https://cloud.oracle.com"
],
"Referer": [
"https://cloud.oracle.com/"
],
"Sec-Fetch-Dest": [
"empty"
],
"Sec-Fetch-Mode": [
"cors"
],
"Sec-Fetch-Site": [
"cross-site"
],
"User-Agent": [
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"
],
"opc-request-id": [
"csid0<unique_ID>"
],
"sec-ch-ua": [
"\"Not_A Brand\";v=\"8\", \"Chromium\";v=\"120\", \"Google Chrome\";v=\"120\""
],
"sec-ch-ua-mobile": [
"?0"
],
"sec-ch-ua-platform": [
"\"Windows\""
],
"x-date": [
"Tue, 09 Jan 2024 01:55:15 GMT"
]
}
},
"response": {
"status": "200",
"responseTime": "2024-01-09T01:55:17.378Z",
"headers": {
"Access-Control-Allow-Credentials": [
"true"
],
"Access-Control-Allow-Origin": [
"https://cloud.oracle.com"
],
"Access-Control-Expose-Headers": [
"opc-previous-page,opc-next-page,opc-client-info,ETag,opc-work-request-id,opc-total-items,opc-request-id,Location"
],
"Connection": [
"keep-alive"
],
"Content-Encoding": [
"gzip"
],
"Content-Length": [
"525"
],
"Content-Type": [
"application/json"
],
"Date": [
"Tue, 09 Jan 2024 01:55:17 GMT"
],
"ETag": [
"0a17a2b9805e54b55834008e97ee1fc8c639a40cf933cc90ac09e7369f89ae87--gzip"
],
"Strict-Transport-Security": [
"max-age=15724800; includeSubDomains"
],
"Timing-Allow-Origin": [
"https://cloud.oracle.com"
],
"Vary": [
"Accept-Encoding",
"Origin"
],
"X-Content-Type-Options": [
"nosniff"
],
"X-Frame-Options": [
"SAMEORIGIN"
],
"opc-request-id": [
"csid0<unique_ID>"
]
},
"payload": {},
"message": "Database Patching GetTaskRecord succeeded"
},
"stateChange": {
"previous": null,
"current": null
},
"additionalDetails": {
"X-Real-Port": 23062
}
}
}