Security TXT: Add source_release and source_revision fields (#29392)
This commit is contained in:
parent
d32c34822b
commit
892e23ce08
|
@ -78,15 +78,25 @@ const ROWS: TableRow[] = [
|
|||
key: "preferred_languages",
|
||||
type: DisplayType.String,
|
||||
},
|
||||
{
|
||||
display: "Secure Contact Encryption",
|
||||
key: "encryption",
|
||||
type: DisplayType.PGP,
|
||||
},
|
||||
{
|
||||
display: "Source Code URL",
|
||||
key: "source_code",
|
||||
type: DisplayType.URL,
|
||||
},
|
||||
{
|
||||
display: "Secure Contact Encryption",
|
||||
key: "encryption",
|
||||
type: DisplayType.PGP,
|
||||
display: "Source Code Release Version",
|
||||
key: "source_release",
|
||||
type: DisplayType.String,
|
||||
},
|
||||
{
|
||||
display: "Source Code Revision",
|
||||
key: "source_revision",
|
||||
type: DisplayType.String,
|
||||
},
|
||||
{
|
||||
display: "Auditors",
|
||||
|
|
|
@ -6,8 +6,10 @@ export type SecurityTXT = {
|
|||
contacts: string;
|
||||
policy: string;
|
||||
preferred_languages?: string;
|
||||
source_code?: string;
|
||||
encryption?: string;
|
||||
source_code?: string;
|
||||
source_release?: string;
|
||||
source_revision?: string;
|
||||
auditors?: string;
|
||||
acknowledgements?: string;
|
||||
expiry?: string;
|
||||
|
@ -24,8 +26,10 @@ const VALID_KEYS: (keyof SecurityTXT)[] = [
|
|||
"contacts",
|
||||
"policy",
|
||||
"preferred_languages",
|
||||
"source_code",
|
||||
"encryption",
|
||||
"source_code",
|
||||
"source_release",
|
||||
"source_revision",
|
||||
"auditors",
|
||||
"acknowledgements",
|
||||
"expiry",
|
||||
|
|
Loading…
Reference in New Issue