Scanning Events
Oracle Cloud Infrastructure Events allows your development teams to automatically respond when a resource changes its state. Oracle Cloud Infrastructure Vulnerability Scanning Service resources emit the following events.
Host Scan Recipe Event Types
These are the event types that host scan recipes emit.
Friendly Name | Event Type |
---|---|
HostScanRecipe- Create Begin |
|
HostScanRecipe- Create End |
|
HostScanRecipe- Get |
|
HostScanRecipe- List |
|
HostScanRecipe- Update Begin |
|
HostScanRecipe- Update End |
|
HostScanRecipe- Delete |
|
HostScanRecipe- ChangeCompartment |
|
This is a reference event for host scan recipes.
{
"eventType":"com.oraclecloud.vulnerabilityScanning.CreateHostScanRecipe",
"cloudEventsVersion":"0.1",
"eventTypeVersion":"2.0",
"source":"vulnerabilityScanning",
"eventID":"<unique_ID>",
"eventTime":"2020-12-02T00:08:27.770Z",
"contentType":"application/json",
"data": {
"eventGroupingId":"<unique_ID>",
"eventName":"CreateHostScanRecipe",
"compartmentId":"ocid1.compartment.oc1..<unique_ID>",
"compartmentName":"compartment-name",
"resourceName":"recipe-name",
"resourceId": "ocid1.vsshostscanrecipe.oc1..<unique_ID>",
"availabilityDomain":"AD3",
"freeformTags": {},
"definedTags": {},
"identity": {},
"request": {},
"response": {},
"stateChange": {},
"additionalDetails": {}
}
}
Container Image Scan Recipe Event Types
These are the event types that container image scan recipes emit.
Friendly Name | Event Type |
---|---|
ContainerScanRecipe- Create Begin |
|
ContainerScanRecipe- Create End |
|
ContainerScanRecipe- Get |
|
ContainerScanRecipe- List |
|
ContainerScanRecipe- Update Begin |
|
ContainerScanRecipe- Update End |
|
ContainerScanRecipe- Delete |
|
ContainerScanRecipe- ChangeCompartment |
|
This is a reference event for container image scan recipes.
{
"eventType":"com.oraclecloud.vulnerabilityScanning.CreateContainerScanRecipe.end",
"cloudEventsVersion":"0.1",
"eventTypeVersion":"2.0",
"source":"vulnerabilityScanning",
"eventID":"<unique_ID>",
"eventTime":"2020-12-02T00:08:27.770Z",
"contentType":"application/json",
"data": {
"eventGroupingId":"<unique_ID>",
"eventName":"CreateContainerScanRecipe",
"compartmentId":"ocid1.compartment.oc1..<unique_ID>",
"compartmentName":"compartment-name",
"resourceName":"recipe-name",
"resourceId": "ocid1.vsscontainerscanrecipe.oc1..<unique_ID>",
"availabilityDomain":"AD3",
"freeformTags": {},
"definedTags": {},
"identity": {},
"request": {},
"response": {},
"stateChange": {},
"additionalDetails": {}
}
}
Host Scan Target Event Types
These are the event types that host scan targets emit.
Friendly Name | Event Type |
---|---|
HostScanTarget- Create Begin |
|
HostScanTarget- Create End |
|
HostScanTarget- Get |
|
HostScanTarget- List |
|
HostScanTarget- Update Begin |
|
HostScanTarget- Update End |
|
HostScanTarget- Delete Begin |
|
HostScanTarget- Delete End |
|
HostScanTarget- ChangeCompartment |
|
This is a reference event for host scan targets.
{
"eventType":"com.oraclecloud.vulnerabilityScanning.CreateHostScanTarget",
"cloudEventsVersion":"0.1",
"eventTypeVersion":"2.0",
"source":"vulnerabilityScanning",
"eventID":"<unique_ID>",
"eventTime":"2020-12-02T00:08:27.770Z",
"contentType":"application/json",
"data": {
"eventGroupingId":"<unique_ID>",
"eventName":"CreateHostScanTarget",
"compartmentId":"ocid1.compartment.oc1..<unique_ID>",
"compartmentName":"compartment-name",
"resourceName":"target-name",
"resourceId": "ocid1.vsshostscantarget.oc1..<unique_ID>",
"availabilityDomain":"AD3",
"freeformTags": {},
"definedTags": {},
"identity": {},
"request": {},
"response": {},
"stateChange": {},
"additionalDetails": {}
}
}
Container Image Scan Target Event Types
These are the event types that container image scan targets emit.
Friendly Name | Event Type |
---|---|
ContainerScanTarget- Create Begin |
|
ContainerScanTarget- Create End |
|
ContainerScanTarget- Get |
|
ContainerScanTarget- List |
|
ContainerScanTarget- Update Begin |
|
ContainerScanTarget- Update End |
|
ContainerScanTarget- Delete Begin |
|
ContainerScanTarget- Delete End |
|
ContainerScanTarget- ChangeCompartment |
|
This is a reference event for container image scan targets.
{
"eventType":"com.oraclecloud.vulnerabilityScanning.CreateContainerScanTarget.end",
"cloudEventsVersion":"0.1",
"eventTypeVersion":"2.0",
"source":"vulnerabilityScanning",
"eventID":"<unique_ID>",
"eventTime":"2020-12-02T00:08:27.770Z",
"contentType":"application/json",
"data": {
"eventGroupingId":"ocid1.coreservicesworkrequest.oc1.<unique_ID>",
"eventName":"CreateContainerScanTarget",
"compartmentId":"ocid1.compartment.oc1..<unique_ID>",
"compartmentName":"compartment-name",
"resourceName":"target-name",
"resourceId": "ocid1.vsscontainerscantarget.oc1..<unique_ID>",
"availabilityDomain":"AD3",
"freeformTags": {},
"definedTags": {},
"identity": {},
"request": {},
"response": {},
"stateChange": {},
"additionalDetails": {}
}
}
Host Agent Scan Result Event Types
These are the event types that host agent scan results emit.
Friendly Name | Event Type |
---|---|
HostAgentScanResult- Get |
|
HostAgentScanResult- List |
|
HostAgentScanResult- Export |
|
HostAgentScanResult- Delete |
|
HostAgentScanResult- ChangeCompartment |
|
This is a reference event for host agent scan results.
{
"eventType":"com.oraclecloud.vulnerabilityScanning.ExportHostAgentScanResultCsv",
"cloudEventsVersion":"0.1",
"eventTypeVersion":"2.0",
"source":"vulnerabilityScanning",
"eventID":"<unique_ID>",
"eventTime":"2020-12-02T00:08:27.770Z",
"contentType":"application/json",
"data": {
"eventGroupingId":"<unique_ID>",
"eventName":"ExportHostAgentScanResultCsv",
"compartmentId":"ocid1.compartment.oc1..<unique_ID>",
"compartmentName":"compartment-name",
"resourceName":"",
"resourceId": "actions",
"availabilityDomain":"AD3",
"additionalDetails": {}
}
}
Host Port Scan Result Event Types
These are the event types that host port scan results emit.
Friendly Name | Event Type |
---|---|
HostPortScanResult- Get |
|
HostPortScanResult- List |
|
HostPortScanResult- Delete |
|
HostPortScanResult- ChangeCompartment |
|
This is a reference event for host port scan results.
{
"eventType":"com.oraclecloud.vulnerabilityScanning.ChangeHostPortScanResultCompartment",
"cloudEventsVersion":"0.1",
"eventTypeVersion":"2.0",
"source":"vulnerabilityScanning",
"eventID":"<unique_ID>",
"eventTime":"2020-12-02T00:08:27.770Z",
"contentType":"application/json",
"data": {
"eventGroupingId":"<unique_ID>",
"eventName":"ChangeHostPortScanResultCompartment",
"compartmentId":"ocid1.compartment.oc1..<unique_ID>",
"compartmentName":"compartment-name",
"resourceName":"",
"resourceId": "ocid1.vsshostportscanresult.oc1..<unique_ID>",
"availabilityDomain":"AD3",
"additionalDetails": {}
}
}
Host CIS Benchmark Scan Result Event Types
These are the event types that CIS (Center for Internet Security) benchmark scan results emit.
Friendly Name | Event Type |
---|---|
HostCisBenchmarkScanResult- Get |
|
HostCisBenchmarkScanResult- List |
|
HostCisBenchmarkScanResult- Delete |
|
HostCisBenchmarkScanResult- ChangeCompartment |
|
This is a reference event for host CIS benchmark scan results.
{
"eventType":"com.oraclecloud.vulnerabilityScanning.ChangeHostCisBenchmarkScanResultCompartment",
"cloudEventsVersion":"0.1",
"eventTypeVersion":"2.0",
"source":"vulnerabilityScanning",
"eventID":"<unique_ID>",
"eventTime":"2020-12-02T00:08:27.770Z",
"contentType":"application/json",
"data": {
"eventGroupingId":"<unique_ID>",
"eventName":"ChangeHostCisBenchmarkScanResultCompartment",
"compartmentId":"ocid1.compartment.oc1..<unique_ID>",
"compartmentName":"compartment-name",
"resourceName":"",
"resourceId": "ocid1.vsscisbenchmarkscanresult.oc1..<unique_ID>",
"availabilityDomain":"AD3",
"additionalDetails": {}
}
}
Container Image Scan Result Event Types
These are the event types that container image scan results emit.
Friendly Name | Event Type |
---|---|
ContainerScanResult- Get |
|
ContainerScanResult- List |
|
ContainerScanResult- Delete |
|
ContainerScanResult- ChangeCompartment |
|
This is a reference event for container image scan results.
{
"eventType":"com.oraclecloud.vulnerabilityScanning.ListContainerScanResults",
"cloudEventsVersion":"0.1",
"eventTypeVersion":"2.0",
"source":"vulnerabilityScanning",
"eventID":"<unique_ID>",
"eventTime":"2020-12-02T00:08:27.770Z",
"contentType":"application/json",
"data": {
"eventGroupingId":"<unique_ID>",
"eventName":"ListContainerScanResults",
"compartmentId":"ocid1.compartment.oc1..<unique_ID>",
"compartmentName":"compartment-name",
"resourceName":"",
"resourceId": null,
"availabilityDomain":"AD3",
"freeformTags": null,
"definedTags": null,
"identity": {},
"request": {},
"response": {},
"stateChange": {},
"additionalDetails": {}
}
}
Vulnerability Event Types
These are the event types that vulnerabilities emit.
Friendly Name | Event Type |
---|---|
Vulnerability- Get |
|
Vulnerability- List |
|
Vulnerability- Export |
|
This is a reference event for host vulnerability.
{
"eventType":"com.oraclecloud.vulnerabilityScanning.ExportHostVulnerabilityCsv",
"cloudEventsVersion":"0.1",
"eventTypeVersion":"2.0",
"source":"vulnerabilityScanning",
"eventID":"<unique_ID>",
"eventTime":"2020-12-02T00:08:27.770Z",
"contentType":"application/json",
"data": {
"eventGroupingId":"<unique_ID>",
"eventName":"ExportHostVulnerabilityCsv",
"compartmentId":"ocid1.compartment.oc1..<unique_ID>",
"compartmentName":"compartment-name",
"resourceName":"",
"resourceId": "actions",
"availabilityDomain":"AD3",
"additionalDetails": {}
}
}