pycadf.credential.
Credential
(token, type=None)[source]¶Bases: pycadf.cadftype.CADFAbstractType
token
¶type
¶pycadf.event.
Event
(eventType='activity', id=None, eventTime=None, action='unknown', outcome='unknown', initiator=None, initiatorId=None, target=None, targetId=None, severity=None, reason=None, observer=None, observerId=None, name=None)[source]¶Bases: pycadf.cadftype.CADFAbstractType
action
¶add_attachment
(attachment_val)[source]¶Add Attachment to Event
Parameters: | attachment_val – Attachment to add to Event |
---|
add_measurement
(measure_val)[source]¶Add a measurement value
Parameters: | measure_val – Measurement data type to be added to Event |
---|
add_reporterstep
(step)[source]¶Add a Reporterstep
Parameters: | step – Reporterstep to be added to reporterchain |
---|
eventTime
¶eventType
¶id
¶initiator
¶initiatorId
¶name
¶observer
¶observerId
¶outcome
¶reason
¶severity
¶target
¶targetId
¶pycadf.eventfactory.
EventFactory
[source]¶Bases: object
Factory class to create different required attributes for the following CADF event types: ‘activity’: for tracking any interesting system activities for audit ‘monitor’: Events that carry Metrics and Measurements and support standards such as NIST ‘control’: For audit events that are based upon (security) policies and reflect some policy decision.
pycadf.resource.
Resource
(id=None, typeURI='unknown', name=None, ref=None, domain=None, credential=None, host=None, geolocation=None, geolocationId=None)[source]¶Bases: pycadf.cadftype.CADFAbstractType
add_address
(addr)[source]¶Add CADF endpoints to Resource
Parameters: | addr – CADF Endpoint to add to Resource |
---|
add_attachment
(attach_val)[source]¶Add CADF attachment to Resource
Parameters: | attach_val – CADF Attachment to add to Resource |
---|
credential
¶domain
¶geolocation
¶geolocationId
¶host
¶id
¶name
¶ref
¶typeURI
¶Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.