Restructure solution layout by module
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"ERROR": false,
|
||||
"response": [
|
||||
{
|
||||
"nid": 1001,
|
||||
"title": "Test Advisory Title",
|
||||
"uuid": "uuid-test-001",
|
||||
"banner": null,
|
||||
"lang": "en",
|
||||
"date_modified": "2025-08-11",
|
||||
"date_modified_ts": "2025-08-11T12:00:00Z",
|
||||
"date_created": "2025-08-10T15:30:00Z",
|
||||
"summary": "Summary of advisory.",
|
||||
"body": [
|
||||
"<article><p><strong>Number: TEST-001<br/>Date: 14 April 2018</strong></p><h2>Affected Products</h2><ul><li>Vendor Widget 1.0</li><li>Vendor Widget 2.0</li></ul><p>See <a href=\"https://example.com/details?utm_source=rss&utm_medium=email\">Details Link</a>.</p><p>Internal link <a href=\"/en/contact-cyber-centre?utm_campaign=newsletter\">Contact</a>.</p><p>Mitigation for CVE-2020-1234 and CVE-2021-9999.</p></article>"
|
||||
],
|
||||
"url": "/en/alerts-advisories/test-advisory",
|
||||
"alert_type": 397,
|
||||
"serial_number": "TEST-001",
|
||||
"subject": "Infrastructure",
|
||||
"moderation_state": "published",
|
||||
"external_url": "https://example.com/external/advisory"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"sourceId": "TEST-002-FR",
|
||||
"serialNumber": "TEST-002-FR",
|
||||
"uuid": "uuid-test-002",
|
||||
"language": "fr",
|
||||
"title": "Avis de sécurité – Mise à jour urgente",
|
||||
"summary": "Résumé de l'avis en français.",
|
||||
"canonicalUrl": "https://www.cyber.gc.ca/fr/alertes-avis/test-avis",
|
||||
"externalUrl": "https://exemple.ca/avis",
|
||||
"bodyHtml": "<article><p><strong>Numéro : TEST-002-FR<br/>Date : 15 août 2025</strong></p><h2>Produits touchés</h2><div class=\"product-list\"><ul><li>Produit Exemple 3.1</li><li>Produit Exemple 3.2<ul><li>Variante 3.2.1</li></ul></li></ul></div><p>Voir <a href=\"https://exemple.ca/details?utm_campaign=mailing\">Lien de détails</a>.</p><p>Lien interne <a href=\"/fr/contact-centre-cyber\">Contactez-nous</a>.</p><p>Correctifs pour CVE-2024-1111.</p></article>",
|
||||
"bodySegments": [
|
||||
"<article><p><strong>Numéro : TEST-002-FR<br/>Date : 15 août 2025</strong></p><h2>Produits touchés</h2><div class=\"product-list\"><ul><li>Produit Exemple 3.1</li><li>Produit Exemple 3.2<ul><li>Variante 3.2.1</li></ul></li></ul></div><p>Voir <a href=\"https://exemple.ca/details?utm_campaign=mailing\">Lien de détails</a>.</p><p>Lien interne <a href=\"/fr/contact-centre-cyber\">Contactez-nous</a>.</p><p>Correctifs pour CVE-2024-1111.</p></article>"
|
||||
],
|
||||
"alertType": "Alerte",
|
||||
"subject": "Infrastructure critique",
|
||||
"banner": null,
|
||||
"published": "2025-08-15T13:45:00Z",
|
||||
"modified": "2025-08-16T09:15:00Z",
|
||||
"rawCreated": "15 août 2025",
|
||||
"rawModified": "2025-08-16T09:15:00Z"
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"sourceId": "TEST-001",
|
||||
"serialNumber": "TEST-001",
|
||||
"uuid": "uuid-test-001",
|
||||
"language": "en",
|
||||
"title": "Test Advisory Title",
|
||||
"summary": "Summary of advisory.",
|
||||
"canonicalUrl": "https://www.cyber.gc.ca/en/alerts-advisories/test-advisory",
|
||||
"externalUrl": "https://example.com/external/advisory",
|
||||
"bodyHtml": "<article><p><strong>Number: TEST-001<br/>Date: 14 April 2018</strong></p><h2>Affected Products</h2><ul><li>Vendor Widget 1.0</li><li>Vendor Widget 2.0</li></ul><p>See <a href=\"https://example.com/details?utm_source=rss&utm_medium=email\">Details Link</a>.</p><p>Internal link <a href=\"/en/contact-cyber-centre?utm_campaign=newsletter\">Contact</a>.</p><p>Mitigation for CVE-2020-1234 and CVE-2021-9999.</p></article>",
|
||||
"bodySegments": [
|
||||
"<article><p><strong>Number: TEST-001<br/>Date: 14 April 2018</strong></p><h2>Affected Products</h2><ul><li>Vendor Widget 1.0</li><li>Vendor Widget 2.0</li></ul><p>See <a href=\"https://example.com/details?utm_source=rss&utm_medium=email\">Details Link</a>.</p><p>Internal link <a href=\"/en/contact-cyber-centre?utm_campaign=newsletter\">Contact</a>.</p><p>Mitigation for CVE-2020-1234 and CVE-2021-9999.</p></article>"
|
||||
],
|
||||
"alertType": "Advisory",
|
||||
"subject": "Infrastructure",
|
||||
"banner": null,
|
||||
"published": "2025-08-10T15:30:00Z",
|
||||
"modified": "2025-08-11T12:00:00Z",
|
||||
"rawCreated": "August 10, 2025",
|
||||
"rawModified": "2025-08-11T12:00:00Z"
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"ERROR": false,
|
||||
"response": [
|
||||
{
|
||||
"id": 396,
|
||||
"title": "Advisory"
|
||||
},
|
||||
{
|
||||
"id": 397,
|
||||
"title": "Alert"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user