Advisory
- class libdnf5.advisory.Advisory(*args)
An advisory, represents advisory used to track security updates
- get_buildtime()
Get buildtime of this advisory. Libsolv combines issued and updated dates into buildtime by always using the newer one.
- Return type:
int
- Returns:
buildtime of this advisory.
- get_collections()
Get all collections from this advisory.
- Return type:
std::vector< libdnf5::advisory::AdvisoryCollection,std::allocator< libdnf5::advisory::AdvisoryCollection > >
- Returns:
Vector of AdvisoryCollection objects.
- get_description()
Get description of this advisory.
- Return type:
string
- Returns:
Description of this advisory as std::string.
- get_id()
Get AdvisoryId.
- Return type:
AdvisoryId
- Returns:
AdvisoryId of this advisory.
- get_message()
Get message of this advisory.
- Return type:
string
- Returns:
Message of this advisory as std::string.
- get_name()
Get name of this advisory.
- Return type:
string
- Returns:
Name of this advisory as std::string.
- get_references(*args)
Get all references of specified type from this advisory. Possible refenrece types are: “bugzilla”, “cve”, “vendor”.
- Parameters:
types (std::vector< std::string,std::allocator< std::string > >, optional) – What types of references to get. If not specified gets all types.
- Return type:
std::vector< libdnf5::advisory::AdvisoryReference,std::allocator< libdnf5::advisory::AdvisoryReference > >
- Returns:
Vector of AdvisoryReference objects.
- get_rights()
Get rights of this advisory.
- Return type:
string
- Returns:
Rights of this advisory as std::string.
- get_severity()
Get severity of this advisory.
- Return type:
string
- Returns:
Severity of this advisory as std::string.
- get_status()
Get status of this advisory.
- Return type:
string
- Returns:
Status of this advisory as std::string.
- get_title()
Get title of this advisory.
- Return type:
string
- Returns:
Title of this advisory as std::string.
- get_type()
Get type of this advisory. Possible types are: “security”, “bugfix”, “enhancement”, “newpackage”.
- Return type:
string
- Returns:
type of this advisory as std::string.
- get_vendor()
Get vendor of this advisory.
- Return type:
string
- Returns:
Vendor of this advisory as std::string.
- is_applicable()
Check whether at least one collection from this advisory is applicable.
- Return type:
boolean
- Returns:
True if applicable, False otherwise.
- thisown