Report of Patch Compliance for Subscribed Targets
post
https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/goldImages/actions/targetsPatchComplianceReport
Patch compliance report for all subcribed targets
Request
There are no request parameters for this operation.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object
-
excludeList: array
excludeList
exclude the given details in response
-
limit: number
limit for the current fetch (to fetch only the 'total' count of items need to set the limit=0)Example:
10
-
page: string
Base 64 encoded pageExample:
b2Zmc2V0OjA
-
sort: string
Sort field along with an optional sort direction. The supported attributes for sorting are 'targetName','targetType', 'hostName', 'release', 'platform','imageName','imageVersionName','imageVersionDescription','targetStatus', 'clusterName', 'additionalPatchCount', 'currentVersionName', 'dbMachineName'.Valid sort directions include asc and desc. If sort direction is not specified asc is used by default.Example:
name:asc
Match All
Show Source
-
object
TargetsPatchComplianceReportFilter
Filters for the subscribed targets compliance report
Nested Schema : excludeList
Type:
array
exclude the given details in response
Show Source
-
Array of:
Allowed Values:
[ "total" ]
Nested Schema : TargetsPatchComplianceReportFilter
Type:
object
Filters for the subscribed targets compliance report
Show Source
-
imageId: string
ID of the imageExample:
E77FC170F57D4B64E0531D0E4B64DA85
-
imageNameMatches: string
Wildcard search on the image nameExample:
%img%
-
isOnCurrentImage: boolean
Patchlevel of the target (true-target is patched to the current image, false-target is patched to non-current image)
-
platform: string
Platform of the targetExample:
linux_x64_86
-
releaseMatches: string
Wildcard search on the release of the targetExample:
19.14%
-
targetNameMatches: string
Wildcard search on the target nameExample:
%orcl%
-
targetProperties: object
targetProperties
Propeties of target
-
targetTypeList: array
targetTypeList
List of target types
Nested Schema : targetProperties
Type:
object
Propeties of target
Match All
Show Source
-
object
TargetPropertyFilter
Target property filters
Nested Schema : targetTypeList
Type:
array
List of target types
Show Source
-
Array of:
Allowed Values:
[ "oracle_database", "rac_database", "cluster", "has" ]
Nested Schema : TargetPropertyFilter
Type:
object
Target property filters
Show Source
-
contactList: array
contactList
List of contacts
-
costCenterList: array
costCenterList
List of cost centers
-
departmentList: array
departmentList
List of departments
-
downtimeContactList: array
downtimeContactList
List of downtime contacts
-
lifecycleStatusList: array
lifecycleStatusList
List of lifecyclestatus
-
lineOfBusinessList: array
lineOfBusinessList
List of line of business
-
locationList: array
locationList
List of locations
-
siteList: array
siteList
List of sites
Examples
Back to Top
Response
Supported Media Types
- application/json
200 Response
OK. Target details retrieved.
Root Schema : schema
Type:
object
Match All
Show Source
-
object
GoldImageSubscribedTargetsPatchComplianceReport
Target details
Nested Schema : GoldImageSubscribedTargetsPatchComplianceReport
Type:
object
Target details
Show Source
-
count: number
count of subscribed targets in the current fetchExample:
10
-
currentPage: string
Base 64 encoded current pageExample:
b2Zmc2V0OjA
-
items: array
items
list of targets
-
nextPage: string
Base 64 encoded next pageExample:
b2Zmc2V0OjA
-
previousPage: string
Base 64 encoded previous pageExample:
b2Zmc2V0OjA
-
total: number
Total count of targets subscribed to imagesExample:
100
Nested Schema : items
Type:
Show Source
object
-
additionalPatchCount: integer
Count of additional patches in target not present in image and are not not recommended patchesExample:
2
-
currentVersionName: string
Name of the 'CURRENT' image versionExample:
19DBRU15
-
imageId: string
Id of the imageExample:
E77FC170F57D4B64E0531D0E4B64DA85
-
imageName: string
name of the imageExample:
Tier1 SI 19.14
-
imageVersionDescription: string
description of the image versionExample:
-
imageVersionName: string
name of the image versionExample:
Version-1
-
isCurrentImage: boolean
Flag indicates if the image is current version
-
isImageUptodate: boolean
Flag to indicate if the image is uptodate
-
isNonCurrentVersionUptodate: boolean
Flag indicates if there is a uptodate image version
-
patchCompliance: string
Patch compliance of Target, can be either 'DRIFTED'-if the target has additional patches than in image and are not recommended patches or
- on which the target is patched Example:DRIFTED
Match All
Show Source
-
object
allOf
TargetPatchComplianceDetails
Target details
Nested Schema : TargetPatchComplianceDetails
Type:
object
Target details
Show Source
-
dbMachineName: string
DB Machine nameExample:
myDbMachine.oracle.com
Match All
Show Source
-
object
TargetDetails
details of target
Nested Schema : TargetDetails
Type:
object
details of target
Show Source
-
clusterName: string
name of the clusterExample:
phxem0405c
-
dataguardRole: string
Enum for Data Guard role
-
displayName: string
display name of the targetExample:
sdb2ra00
-
hostname: string
name of the hostExample:
myHostName.mycompany.com
-
isCdb: string
Flag to indicate if the DB is CDBExample:
true
-
platform: string
Platform of the targetExample:
Linux_AMD64
-
release: string
database releaseExample:
19.14.0.0.0
-
targetId: string
Id of the targetExample:
09216A9333889316155C3B7DFF9820C7
-
targetName: string
name of the targetExample:
sdb2ra00
-
targetStatus: number
status of the targetExample:
1
-
targetType: string
Allowed Values:
[ "rac_database", "oracle_database", "cluster", "has" ]
type of the target
Examples
400 Response
Bad Request. The payload is null or missing some parameters
Root Schema : ErrorResponse
Type:
object
Error response
Show Source
-
code(required): string
A short error code that defines the error, meant for programmatic parsing
-
message(required): string
A human-readable error string
401 Response
Unauthorized. The user does not have permissions to perform the requested operation
Root Schema : ErrorResponse
Type:
object
Error response
Show Source
-
code(required): string
A short error code that defines the error, meant for programmatic parsing
-
message(required): string
A human-readable error string
403 Response
Forbidden. The user is forbidden to perform the requested operation
Root Schema : ErrorResponse
Type:
object
Error response
Show Source
-
code(required): string
A short error code that defines the error, meant for programmatic parsing
-
message(required): string
A human-readable error string
404 Response
Not Found. The requested REST API URL is not found.
Root Schema : ErrorResponse
Type:
object
Error response
Show Source
-
code(required): string
A short error code that defines the error, meant for programmatic parsing
-
message(required): string
A human-readable error string
500 Response
Internal Server Error. Exception in execution of REST API.
Root Schema : ErrorResponse
Type:
object
Error response
Show Source
-
code(required): string
A short error code that defines the error, meant for programmatic parsing
-
message(required): string
A human-readable error string
503 Response
Service Unavailable. The server is unable to process the request.
Root Schema : ErrorResponse
Type:
object
Error response
Show Source
-
code(required): string
A short error code that defines the error, meant for programmatic parsing
-
message(required): string
A human-readable error string