LibraryUsage

class oci.jms.models.LibraryUsage(**kwargs)

Bases: object

Library usage during a specified time period.

Methods

__init__(**kwargs) Initializes a new LibraryUsage object with values from keyword arguments.

Attributes

approximate_application_count Gets the approximate_application_count of this LibraryUsage.
approximate_deployed_application_count Gets the approximate_deployed_application_count of this LibraryUsage.
approximate_java_server_instance_count Gets the approximate_java_server_instance_count of this LibraryUsage.
approximate_managed_instance_count Gets the approximate_managed_instance_count of this LibraryUsage.
cve_id Gets the cve_id of this LibraryUsage.
cvss_score Gets the cvss_score of this LibraryUsage.
fleet_id [Required] Gets the fleet_id of this LibraryUsage.
library_key [Required] Gets the library_key of this LibraryUsage.
library_name [Required] Gets the library_name of this LibraryUsage.
library_version Gets the library_version of this LibraryUsage.
time_end Gets the time_end of this LibraryUsage.
time_first_seen Gets the time_first_seen of this LibraryUsage.
time_last_cve_refreshed Gets the time_last_cve_refreshed of this LibraryUsage.
time_last_seen Gets the time_last_seen of this LibraryUsage.
time_start Gets the time_start of this LibraryUsage.
__init__(**kwargs)

Initializes a new LibraryUsage object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • library_key (str) – The value to assign to the library_key property of this LibraryUsage.
  • fleet_id (str) – The value to assign to the fleet_id property of this LibraryUsage.
  • library_name (str) – The value to assign to the library_name property of this LibraryUsage.
  • library_version (str) – The value to assign to the library_version property of this LibraryUsage.
  • cve_id (str) – The value to assign to the cve_id property of this LibraryUsage.
  • cvss_score (float) – The value to assign to the cvss_score property of this LibraryUsage.
  • approximate_application_count (int) – The value to assign to the approximate_application_count property of this LibraryUsage.
  • approximate_java_server_instance_count (int) – The value to assign to the approximate_java_server_instance_count property of this LibraryUsage.
  • approximate_deployed_application_count (int) – The value to assign to the approximate_deployed_application_count property of this LibraryUsage.
  • approximate_managed_instance_count (int) – The value to assign to the approximate_managed_instance_count property of this LibraryUsage.
  • time_start (datetime) – The value to assign to the time_start property of this LibraryUsage.
  • time_end (datetime) – The value to assign to the time_end property of this LibraryUsage.
  • time_first_seen (datetime) – The value to assign to the time_first_seen property of this LibraryUsage.
  • time_last_seen (datetime) – The value to assign to the time_last_seen property of this LibraryUsage.
  • time_last_cve_refreshed (datetime) – The value to assign to the time_last_cve_refreshed property of this LibraryUsage.
approximate_application_count

Gets the approximate_application_count of this LibraryUsage. The approximate count of applications using the library.

Returns:The approximate_application_count of this LibraryUsage.
Return type:int
approximate_deployed_application_count

Gets the approximate_deployed_application_count of this LibraryUsage. The approximate count of deployed applications using the library.

Returns:The approximate_deployed_application_count of this LibraryUsage.
Return type:int
approximate_java_server_instance_count

Gets the approximate_java_server_instance_count of this LibraryUsage. The approximate count of Java Server instances using the library.

Returns:The approximate_java_server_instance_count of this LibraryUsage.
Return type:int
approximate_managed_instance_count

Gets the approximate_managed_instance_count of this LibraryUsage. The approximate count of managed instances using the library.

Returns:The approximate_managed_instance_count of this LibraryUsage.
Return type:int
cve_id

Gets the cve_id of this LibraryUsage. The Common Vulnerabilities and Exposures (CVE) ID.

Returns:The cve_id of this LibraryUsage.
Return type:str
cvss_score

Gets the cvss_score of this LibraryUsage. The Common Vulnerability Scoring System (CVSS) score.

Returns:The cvss_score of this LibraryUsage.
Return type:float
fleet_id

[Required] Gets the fleet_id of this LibraryUsage. The OCID of the related fleet.

Returns:The fleet_id of this LibraryUsage.
Return type:str
library_key

[Required] Gets the library_key of this LibraryUsage. The internal identifier of the library.

Returns:The library_key of this LibraryUsage.
Return type:str
library_name

[Required] Gets the library_name of this LibraryUsage. The name of the library.

Returns:The library_name of this LibraryUsage.
Return type:str
library_version

Gets the library_version of this LibraryUsage. The version of the library.

Returns:The library_version of this LibraryUsage.
Return type:str
time_end

Gets the time_end of this LibraryUsage. Upper bound of the specified time period filter. JMS provides a view of the data that is _per day_. The query uses only the date element of the parameter.

Returns:The time_end of this LibraryUsage.
Return type:datetime
time_first_seen

Gets the time_first_seen of this LibraryUsage. The date and time the resource was _first_ reported to JMS. This is potentially _before_ the specified time period provided by the filters. For example, a resource can be first reported to JMS before the start of a specified time period, if it is also reported during the time period.

Returns:The time_first_seen of this LibraryUsage.
Return type:datetime
time_last_cve_refreshed

Gets the time_last_cve_refreshed of this LibraryUsage. The date and time of the last CVEs refresh was completed.

Returns:The time_last_cve_refreshed of this LibraryUsage.
Return type:datetime
time_last_seen

Gets the time_last_seen of this LibraryUsage. The date and time the resource was _last_ reported to JMS. This is potentially _after_ the specified time period provided by the filters. For example, a resource can be last reported to JMS before the start of a specified time period, if it is also reported during the time period.

Returns:The time_last_seen of this LibraryUsage.
Return type:datetime
time_start

Gets the time_start of this LibraryUsage. Lower bound of the specified time period filter. JMS provides a view of the data that is _per day_. The query uses only the date element of the parameter.

Returns:The time_start of this LibraryUsage.
Return type:datetime