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.

See Getting Started with Events.

Host Scan Recipe Event Types

These are the event types that host scan recipes emit.

Friendly Name Event Type
HostScanRecipe- Create Begin
com.oraclecloud.vulnerabilityScanning.CreateHostScanRecipe
HostScanRecipe- Create End
com.oraclecloud.vulnerabilityScanning.CreateHostScanRecipe.end
HostScanRecipe- Get
com.oraclecloud.vulnerabilityScanning.GetHostScanRecipe
HostScanRecipe- List
com.oraclecloud.vulnerabilityScanning.ListHostScanRecipes
HostScanRecipe- Update Begin
com.oraclecloud.vulnerabilityScanning.UpdateHostScanRecipe.begin
HostScanRecipe- Update End
com.oraclecloud.vulnerabilityScanning.UpdateHostScanRecipe.end
HostScanRecipe- Delete
com.oraclecloud.vulnerabilityScanning.DeleteHostScanRecipe
HostScanRecipe- ChangeCompartment
com.oraclecloud.vulnerabilityScanning.ChangeHostScanRecipeCompartment

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
com.oraclecloud.vulnerabilityScanning.CreateContainerScanRecipe
ContainerScanRecipe- Create End
com.oraclecloud.vulnerabilityScanning.CreateContainerScanRecipe.end
ContainerScanRecipe- Get
com.oraclecloud.vulnerabilityScanning.GetContainerScanRecipe
ContainerScanRecipe- List
com.oraclecloud.vulnerabilityScanning.ListContainerScanRecipes
ContainerScanRecipe- Update Begin
com.oraclecloud.vulnerabilityScanning.UpdateContainerScanRecipe.begin
ContainerScanRecipe- Update End
com.oraclecloud.vulnerabilityScanning.UpdateContainerScanRecipe.end
ContainerScanRecipe- Delete
com.oraclecloud.vulnerabilityScanning.DeleteContainerScanRecipe
ContainerScanRecipe- ChangeCompartment
com.oraclecloud.vulnerabilityScanning.ChangeContainerScanRecipeCompartment

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
com.oraclecloud.vulnerabilityScanning.CreateHostScanTarget.begin
HostScanTarget- Create End
com.oraclecloud.vulnerabilityScanning.CreateHostScanTarget.end
HostScanTarget- Get
com.oraclecloud.vulnerabilityScanning.GetHostScanTarget
HostScanTarget- List
com.oraclecloud.vulnerabilityScanning.ListHostScanTargets
HostScanTarget- Update Begin
com.oraclecloud.vulnerabilityScanning.UpdateHostScanTarget.begin
HostScanTarget- Update End
com.oraclecloud.vulnerabilityScanning.UpdateHostScanTarget.end
HostScanTarget- Delete Begin
com.oraclecloud.vulnerabilityScanning.DeleteHostScanTarget.begin
HostScanTarget- Delete End
com.oraclecloud.vulnerabilityScanning.DeleteHostScanTarget.end
HostScanTarget- ChangeCompartment
com.oraclecloud.vulnerabilityScanning.ChangeHostScanTargetCompartment

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
com.oraclecloud.vulnerabilityScanning.CreateContainerScanTarget.begin
ContainerScanTarget- Create End
com.oraclecloud.vulnerabilityScanning.CreateContainerScanTarget.end
ContainerScanTarget- Get
com.oraclecloud.vulnerabilityScanning.GetContainerScanTarget
ContainerScanTarget- List
com.oraclecloud.vulnerabilityScanning.ListContainerScanTargets
ContainerScanTarget- Update Begin
com.oraclecloud.vulnerabilityScanning.UpdateContainerScanTarget.begin
ContainerScanTarget- Update End
com.oraclecloud.vulnerabilityScanning.UpdateContainerScanTarget.end
ContainerScanTarget- Delete Begin
com.oraclecloud.vulnerabilityScanning.DeleteContainerScanTarget.begin
ContainerScanTarget- Delete End
com.oraclecloud.vulnerabilityScanning.DeleteContainerScanTarget.end
ContainerScanTarget- ChangeCompartment
com.oraclecloud.vulnerabilityScanning.ChangeContainerScanTargetCompartment

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
com.oraclecloud.vulnerabilityScanning.GetHostAgentScanResult
HostAgentScanResult- List
com.oraclecloud.vulnerabilityScanning.ListHostAgentScanResults
HostAgentScanResult- Export
com.oraclecloud.vulnerabilityScanning.ExportHostAgentScanResultCsv
HostAgentScanResult- Delete
com.oraclecloud.vulnerabilityScanning.DeleteHostAgentScanResult
HostAgentScanResult- ChangeCompartment
com.oraclecloud.vulnerabilityScanning.ChangeHostAgentScanResultCompartment

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
com.oraclecloud.vulnerabilityScanning.GetHostPortScanResult
HostPortScanResult- List
com.oraclecloud.vulnerabilityScanning.ListHostPortScanResults
HostPortScanResult- Delete
com.oraclecloud.vulnerabilityScanning.DeleteHostPortScanResult
HostPortScanResult- ChangeCompartment
com.oraclecloud.vulnerabilityScanning.ChangeHostPortScanResultCompartment

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
com.oraclecloud.vulnerabilityScanning.GetHostCisBenchmarkScanResult
HostCisBenchmarkScanResult- List
com.oraclecloud.vulnerabilityScanning.ListHostCisBenchmarkScanResults
HostCisBenchmarkScanResult- Delete
com.oraclecloud.vulnerabilityScanning.DeleteHostCisBenchmarkScanResult
HostCisBenchmarkScanResult- ChangeCompartment
com.oraclecloud.vulnerabilityScanning.ChangeHostCisBenchmarkScanResultCompartment

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
com.oraclecloud.vulnerabilityScanning.GetContainerScanResult
ContainerScanResult- List
com.oraclecloud.vulnerabilityScanning.ListContainerScanResults
ContainerScanResult- Delete
com.oraclecloud.vulnerabilityScanning.DeleteContainerScanResult
ContainerScanResult- ChangeCompartment
com.oraclecloud.vulnerabilityScanning.ChangeContainerScanResultCompartment

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
com.oraclecloud.vulnerabilityScanning.GetVulnerability
Vulnerability- List
com.oraclecloud.vulnerabilityScanning.ListVulnerabilities
Vulnerability- Export
com.oraclecloud.vulnerabilityScanning.ExportHostVulnerabilityCsv

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": {}
    }
}