[attributs] Ajout de legends
This commit is contained in:
parent
0e9404ae93
commit
2c1edaa310
1 changed files with 13 additions and 0 deletions
13
attributs.py
13
attributs.py
|
@ -1439,6 +1439,7 @@ class article(Attr):
|
||||||
@crans_attribute
|
@crans_attribute
|
||||||
class dnsIpv6(boolAttr):
|
class dnsIpv6(boolAttr):
|
||||||
ldap_name = "dnsIpv6"
|
ldap_name = "dnsIpv6"
|
||||||
|
legend = "Détermine si l'ipv6 apparait dans le dns"
|
||||||
|
|
||||||
@crans_attribute
|
@crans_attribute
|
||||||
class rewriteMailHeaders(boolAttr):
|
class rewriteMailHeaders(boolAttr):
|
||||||
|
@ -1452,28 +1453,33 @@ class machineAlias(boolAttr):
|
||||||
class issuerCN(Attr):
|
class issuerCN(Attr):
|
||||||
ldap_name = "issuerCN"
|
ldap_name = "issuerCN"
|
||||||
can_modify = [nounou]
|
can_modify = [nounou]
|
||||||
|
legend = "Common Name de l'éméteur du certificat"
|
||||||
|
|
||||||
@crans_attribute
|
@crans_attribute
|
||||||
class serialNumber(Attr):
|
class serialNumber(Attr):
|
||||||
ldap_name = "serialNumber"
|
ldap_name = "serialNumber"
|
||||||
python_type = int
|
python_type = int
|
||||||
can_modify = [nounou]
|
can_modify = [nounou]
|
||||||
|
legend = "Numéro de série du certificat"
|
||||||
|
|
||||||
@crans_attribute
|
@crans_attribute
|
||||||
class start(intAttr):
|
class start(intAttr):
|
||||||
ldap_name = "start"
|
ldap_name = "start"
|
||||||
can_modify = [nounou]
|
can_modify = [nounou]
|
||||||
|
legend = "Date de début"
|
||||||
|
|
||||||
@crans_attribute
|
@crans_attribute
|
||||||
class end(intAttr):
|
class end(intAttr):
|
||||||
ldap_name = "end"
|
ldap_name = "end"
|
||||||
can_modify = [nounou]
|
can_modify = [nounou]
|
||||||
|
legend = "Date de fin"
|
||||||
|
|
||||||
@crans_attribute
|
@crans_attribute
|
||||||
class crlUrl(Attr):
|
class crlUrl(Attr):
|
||||||
ldap_name = "crlUrl"
|
ldap_name = "crlUrl"
|
||||||
optional = True
|
optional = True
|
||||||
can_modify = [parent, nounou]
|
can_modify = [parent, nounou]
|
||||||
|
legend = "Adresse de la liste de révocation pour le certificat"
|
||||||
|
|
||||||
@crans_attribute
|
@crans_attribute
|
||||||
class revocked(boolAttr):
|
class revocked(boolAttr):
|
||||||
|
@ -1481,6 +1487,7 @@ class revocked(boolAttr):
|
||||||
singlevalue = True
|
singlevalue = True
|
||||||
optional = True
|
optional = True
|
||||||
can_modify = [nounou]
|
can_modify = [nounou]
|
||||||
|
legend = "Détermine si le certificat est révoqué"
|
||||||
|
|
||||||
@crans_attribute
|
@crans_attribute
|
||||||
class certificat(Attr):
|
class certificat(Attr):
|
||||||
|
@ -1488,6 +1495,7 @@ class certificat(Attr):
|
||||||
binary = True
|
binary = True
|
||||||
python_type = str
|
python_type = str
|
||||||
can_modify = [parent, nounou]
|
can_modify = [parent, nounou]
|
||||||
|
legend = "Certificat"
|
||||||
|
|
||||||
def __init__(self, *args, **kwargs):
|
def __init__(self, *args, **kwargs):
|
||||||
super(certificat, self).__init__(*args, **kwargs)
|
super(certificat, self).__init__(*args, **kwargs)
|
||||||
|
@ -1569,18 +1577,21 @@ class certificatUsage(intAttr):
|
||||||
ldap_name = "certificatUsage"
|
ldap_name = "certificatUsage"
|
||||||
singlevalue = True
|
singlevalue = True
|
||||||
can_modify = [parent, nounou]
|
can_modify = [parent, nounou]
|
||||||
|
legend = "Utilisation du certificat pour un enregistrement TLSA"
|
||||||
|
|
||||||
@crans_attribute
|
@crans_attribute
|
||||||
class selector(intAttr):
|
class selector(intAttr):
|
||||||
ldap_name = "selector"
|
ldap_name = "selector"
|
||||||
singlevalue = True
|
singlevalue = True
|
||||||
can_modify = [parent, nounou]
|
can_modify = [parent, nounou]
|
||||||
|
legend = "Détermine si le certificat est complet ou contient juste la clef publique pour TLSA"
|
||||||
|
|
||||||
@crans_attribute
|
@crans_attribute
|
||||||
class matchingType(intAttr):
|
class matchingType(intAttr):
|
||||||
ldap_name = "matchingType"
|
ldap_name = "matchingType"
|
||||||
singlevalue = True
|
singlevalue = True
|
||||||
can_modify = [parent, nounou]
|
can_modify = [parent, nounou]
|
||||||
|
legend = "Détermine ce que l'on veux mettre dans l'enregistrement TLSA (certificat complet ou hash)"
|
||||||
|
|
||||||
@crans_attribute
|
@crans_attribute
|
||||||
class xid(intAttr):
|
class xid(intAttr):
|
||||||
|
@ -1589,6 +1600,7 @@ class xid(intAttr):
|
||||||
unique = True
|
unique = True
|
||||||
singlevalue = True
|
singlevalue = True
|
||||||
can_modify = []
|
can_modify = []
|
||||||
|
legend = "Identifiant du certificat"
|
||||||
|
|
||||||
|
|
||||||
@crans_attribute
|
@crans_attribute
|
||||||
|
@ -1596,6 +1608,7 @@ class hostCert(dnsAttr):
|
||||||
optional = False
|
optional = False
|
||||||
can_modify = [parent, nounou]
|
can_modify = [parent, nounou]
|
||||||
ldap_name = "hostCert"
|
ldap_name = "hostCert"
|
||||||
|
"Nom de domaine utilisé pour le certificat"
|
||||||
|
|
||||||
def parse_value(self, host):
|
def parse_value(self, host):
|
||||||
if not host in self.parent.machine()['host'] + self.parent.machine()['hostAlias']:
|
if not host in self.parent.machine()['host'] + self.parent.machine()['hostAlias']:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue