Revision 560ef132 src/Ganeti/Constants.hs
b/src/Ganeti/Constants.hs | ||
---|---|---|
4773 | 4773 |
|
4774 | 4774 |
instanceCommunicationNicPrefix :: String |
4775 | 4775 |
instanceCommunicationNicPrefix = "ganeti:communication:" |
4776 |
|
|
4777 |
-- | Parameters that should be protected |
|
4778 |
-- |
|
4779 |
-- Python does not have a type system and can't automatically infer what should |
|
4780 |
-- be the resulting type of a JSON request. As a result, it must rely on this |
|
4781 |
-- list of parameter names to protect values correctly. |
|
4782 |
-- |
|
4783 |
-- Names ending in _cluster will be treated as dicts of dicts of private values. |
|
4784 |
-- Otherwise they are considered dicts of private values. |
|
4785 |
privateParametersBlacklist :: [String] |
|
4786 |
privateParametersBlacklist = [ "osparams_private" |
|
4787 |
, "osparams_secret" |
|
4788 |
, "osparams_private_cluster" |
|
4789 |
] |
|
4790 |
|
|
4791 |
-- | Warn the user that the logging level is too low for production use. |
|
4792 |
debugModeConfidentialityWarning :: String |
|
4793 |
debugModeConfidentialityWarning = |
|
4794 |
"ALERT: %s started in debug mode.\n\ |
|
4795 |
\ Private and secret parameters WILL be logged!\n" |
Also available in: Unified diff