local-triage 0.0.0-stage → 0.10.0-dev.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +90 -2
- package/THIRD-PARTY-NOTICES.md +48 -0
- package/app/__init__.py +3 -0
- package/app/affiliation.py +137 -0
- package/app/ask.py +300 -0
- package/app/build_info.py +98 -0
- package/app/capec.py +168 -0
- package/app/capec_view.py +27 -0
- package/app/codecmp.py +59 -0
- package/app/config.py +411 -0
- package/app/context.py +1451 -0
- package/app/cvss.py +357 -0
- package/app/db.py +6234 -0
- package/app/defect.py +670 -0
- package/app/defect_check.py +323 -0
- package/app/defect_drafts.py +612 -0
- package/app/defect_dto.py +149 -0
- package/app/defect_fields.py +248 -0
- package/app/defect_form.py +124 -0
- package/app/defect_links.py +107 -0
- package/app/defect_local_text.py +103 -0
- package/app/defect_references.py +164 -0
- package/app/defect_where.py +147 -0
- package/app/ecosystem.py +51 -0
- package/app/executors.py +660 -0
- package/app/feeds.py +1231 -0
- package/app/guard.py +164 -0
- package/app/hub_block_builder.py +200 -0
- package/app/hub_block_version.py +220 -0
- package/app/hub_defects.py +4469 -0
- package/app/hub_effects.py +421 -0
- package/app/hub_entity_versions.py +108 -0
- package/app/hub_import.py +2054 -0
- package/app/hub_onboarding.py +114 -0
- package/app/hub_ops.py +330 -0
- package/app/hub_pull.py +1195 -0
- package/app/hub_state.py +255 -0
- package/app/hub_status.py +237 -0
- package/app/hub_sync.py +619 -0
- package/app/hub_sync_api.py +241 -0
- package/app/hub_sync_compare.py +1054 -0
- package/app/hub_sync_contract.py +75 -0
- package/app/hub_template_model.py +74 -0
- package/app/hub_text_scale.py +159 -0
- package/app/journal.py +250 -0
- package/app/llm.py +850 -0
- package/app/llm_chat.py +596 -0
- package/app/llm_http.py +319 -0
- package/app/llm_messages.py +401 -0
- package/app/llm_net.py +764 -0
- package/app/llm_ollama.py +571 -0
- package/app/lockfile.py +505 -0
- package/app/logsafe.py +54 -0
- package/app/main.py +367 -0
- package/app/mask_display.py +132 -0
- package/app/masking.py +814 -0
- package/app/metrics.py +194 -0
- package/app/model_traffic.py +519 -0
- package/app/models.py +483 -0
- package/app/navigation.py +121 -0
- package/app/osv.py +279 -0
- package/app/package_identity.py +189 -0
- package/app/package_transition.py +824 -0
- package/app/profile_gate.py +71 -0
- package/app/prompts.py +1108 -0
- package/app/provider_keys.py +189 -0
- package/app/providers.py +511 -0
- package/app/routes/__init__.py +10 -0
- package/app/routes/api.py +153 -0
- package/app/routes/capec.py +186 -0
- package/app/routes/common.py +407 -0
- package/app/routes/components.py +1499 -0
- package/app/routes/cwe.py +168 -0
- package/app/routes/decision_selected.py +153 -0
- package/app/routes/defect_add.py +223 -0
- package/app/routes/defect_card_routes.py +363 -0
- package/app/routes/defect_selected.py +342 -0
- package/app/routes/feeds.py +155 -0
- package/app/routes/findings.py +2736 -0
- package/app/routes/hub.py +402 -0
- package/app/routes/hub_bulk.py +288 -0
- package/app/routes/hub_defect_routes.py +1945 -0
- package/app/routes/hub_status_routes.py +1132 -0
- package/app/routes/hub_sync_routes.py +463 -0
- package/app/routes/journal.py +132 -0
- package/app/routes/projects.py +1601 -0
- package/app/routes/providers.py +336 -0
- package/app/routes/references.py +26 -0
- package/app/routes/runs.py +219 -0
- package/app/routes/sca.py +2722 -0
- package/app/routes/settings.py +163 -0
- package/app/run_errors.py +151 -0
- package/app/sca.py +1662 -0
- package/app/sca_contract.py +1289 -0
- package/app/sca_research.py +1089 -0
- package/app/sca_research_net.py +1007 -0
- package/app/sca_text.py +965 -0
- package/app/serve.py +70 -0
- package/app/settings_store.py +262 -0
- package/app/static/app.css +2802 -0
- package/app/static/app.js +3772 -0
- package/app/static/capec-license.txt +9 -0
- package/app/static/favicon.svg +1 -0
- package/app/static/fonts/Golos-Text_DemiBold.woff2 +0 -0
- package/app/static/fonts/Golos-Text_Regular.woff2 +0 -0
- package/app/static/fonts/OFL.txt +90 -0
- package/app/static/navigation.js +234 -0
- package/app/static/observability.js +121 -0
- package/app/static/theme.js +49 -0
- package/app/storage/__init__.py +16 -0
- package/app/storage/local_state.py +246 -0
- package/app/storage/migrate.py +110 -0
- package/app/storage/migrations/postgresql/0001_baseline.sql +896 -0
- package/app/storage/migrations/postgresql/0002_feeds_and_secrets.sql +55 -0
- package/app/storage/migrations/postgresql/0003_project_mask_display.sql +5 -0
- package/app/storage/migrations/postgresql/0004_package_identity.sql +36 -0
- package/app/storage/postgresql.py +573 -0
- package/app/storage/schema.py +619 -0
- package/app/storage/sql.py +57 -0
- package/app/storage/tools.py +254 -0
- package/app/telemetry.py +307 -0
- package/app/templates/base.html +91 -0
- package/app/templates/capec/context.html +3 -0
- package/app/templates/capec/detail.html +27 -0
- package/app/templates/capec/index.html +128 -0
- package/app/templates/components/_archive.html +11 -0
- package/app/templates/components/archived.html +19 -0
- package/app/templates/components/batch.html +35 -0
- package/app/templates/components/detail.html +332 -0
- package/app/templates/components/index.html +338 -0
- package/app/templates/components/research_preview.html +80 -0
- package/app/templates/components/research_run.html +54 -0
- package/app/templates/cwe/bdu.html +56 -0
- package/app/templates/cwe/detail.html +233 -0
- package/app/templates/cwe/index.html +97 -0
- package/app/templates/error.html +8 -0
- package/app/templates/feeds/index.html +65 -0
- package/app/templates/findings/card.html +639 -0
- package/app/templates/findings/decision_selected.html +41 -0
- package/app/templates/findings/defect_add.html +46 -0
- package/app/templates/findings/defect_selected.html +47 -0
- package/app/templates/findings/list.html +153 -0
- package/app/templates/findings/send_selected.html +53 -0
- package/app/templates/findings/trace.html +72 -0
- package/app/templates/journal/detail.html +19 -0
- package/app/templates/journal/index.html +19 -0
- package/app/templates/macros.html +440 -0
- package/app/templates/navigation-fields.html +1 -0
- package/app/templates/navigation.html +11 -0
- package/app/templates/projects/_identity_summary.html +42 -0
- package/app/templates/projects/defect_card.html +153 -0
- package/app/templates/projects/defect_create_preview.html +17 -0
- package/app/templates/projects/defect_fields_diff.html +6 -0
- package/app/templates/projects/defect_fields_form.html +40 -0
- package/app/templates/projects/defect_references.html +17 -0
- package/app/templates/projects/defect_sync_preview.html +28 -0
- package/app/templates/projects/defect_update_actions.html +6 -0
- package/app/templates/projects/defect_update_preview.html +24 -0
- package/app/templates/projects/defects.html +126 -0
- package/app/templates/projects/delete.html +31 -0
- package/app/templates/projects/external.html +61 -0
- package/app/templates/projects/folders.html +64 -0
- package/app/templates/projects/hub_accepted.html +10 -0
- package/app/templates/projects/hub_assignment.html +50 -0
- package/app/templates/projects/hub_pending.html +20 -0
- package/app/templates/projects/hub_pending_list.html +17 -0
- package/app/templates/projects/hub_state_note.html +23 -0
- package/app/templates/projects/hub_step_note.html +5 -0
- package/app/templates/projects/hub_sync.html +105 -0
- package/app/templates/projects/hub_sync_confirm.html +32 -0
- package/app/templates/projects/hub_sync_worker.html +5 -0
- package/app/templates/projects/hub_text_rules.html +64 -0
- package/app/templates/projects/identity_report.html +74 -0
- package/app/templates/projects/list.html +90 -0
- package/app/templates/projects/project.html +433 -0
- package/app/templates/reference-missing.html +14 -0
- package/app/templates/runs/run.html +166 -0
- package/app/templates/sca/card.html +476 -0
- package/app/templates/sca/index.html +321 -0
- package/app/templates/settings/hub_url.html +31 -0
- package/app/templates/settings/index.html +216 -0
- package/app/templates/settings/provider.html +229 -0
- package/app/templates/settings/providers.html +37 -0
- package/app/templates/worklists.html +52 -0
- package/app/textsafe.py +117 -0
- package/app/timing.py +245 -0
- package/app/triage.py +1743 -0
- package/app/view.py +430 -0
- package/app/worklists.py +204 -0
- package/examples/demo/demo-hub-report-v2.xlsx +0 -0
- package/examples/demo/demo-hub-report.xlsx +0 -0
- package/examples/demo/repos/billing-core/pom.xml +30 -0
- package/examples/demo/repos/billing-core/src/main/java/org/example/billing/Invoice.java +9 -0
- package/examples/demo/repos/billing-core/src/main/java/org/example/billing/InvoiceRepository.java +51 -0
- package/examples/demo/repos/billing-core/src/main/java/org/example/billing/InvoiceStatus.java +11 -0
- package/examples/demo/repos/billing-core/src/main/java/org/example/billing/config/DatabaseSettings.java +18 -0
- package/examples/demo/repos/billing-core/src/main/java/org/example/billing/payment/PaymentTokenService.java +35 -0
- package/examples/demo/repos/billing-core/src/main/java/org/example/billing/web/InvoiceExportController.java +57 -0
- package/examples/demo/repos/catalog-api/catalog_api/__init__.py +1 -0
- package/examples/demo/repos/catalog-api/catalog_api/products.py +24 -0
- package/examples/demo/repos/catalog-api/catalog_api/tasks.py +24 -0
- package/examples/demo/repos/catalog-api/catalog_api/views.py +17 -0
- package/examples/demo/repos/catalog-api/requirements.txt +3 -0
- package/npm/build.json +5 -0
- package/npm/cli.js +346 -0
- package/npm/files.manifest +224 -0
- package/npm/lib/binding.js +64 -0
- package/npm/lib/cluster.js +330 -0
- package/npm/lib/env.js +88 -0
- package/npm/lib/fsx.js +125 -0
- package/npm/lib/http.js +53 -0
- package/npm/lib/metrics.js +73 -0
- package/npm/lib/paths.js +150 -0
- package/npm/lib/pg.js +351 -0
- package/npm/lib/proc.js +101 -0
- package/npm/lib/python.js +133 -0
- package/npm/lib/stand.js +46 -0
- package/npm/lib/supervisor.js +1141 -0
- package/npm/lib/version.js +21 -0
- package/npm/requirements.txt +476 -0
- package/npm-shrinkwrap.json +111 -0
- package/package.json +37 -4
|
@@ -0,0 +1,233 @@
|
|
|
1
|
+
{% extends "base.html" %}
|
|
2
|
+
{% from "macros.html" import icon, ext_link, catalog_link with context %}
|
|
3
|
+
{% block title %}{{ record.id }} · Справочник CWE · Локальный триаж{% endblock %}
|
|
4
|
+
{% block page %}cwe{% endblock %}
|
|
5
|
+
{% block crumbs %}<a href="{{ work_link('/') }}">Проекты</a><span aria-hidden="true"> / </span><a href="{{ work_link('/cwe') }}">Справочник CWE</a><span aria-hidden="true"> / </span><span aria-current="page">{{ record.id }}</span>{% endblock %}
|
|
6
|
+
{% block content %}
|
|
7
|
+
{% set r = record %}
|
|
8
|
+
{% set platform_kinds = ["Language", "Technology", "Operating_System", "Architecture"] %}
|
|
9
|
+
{% set link_order = ["ChildOf", "ParentOf", "MemberOf", "HasMember", "CanPrecede", "CanFollow", "PeerOf", "CanAlsoBe", "StartsWith", "Requires", "RequiredBy"] %}
|
|
10
|
+
|
|
11
|
+
<div class="page-head">
|
|
12
|
+
<div>
|
|
13
|
+
<h1><span class="mono">{{ r.id }}</span> <span class="break">{{ r.name }}</span></h1>
|
|
14
|
+
<p class="page-sub">{% if name_ru %}{{ name_ru }} <span class="muted small">(название по БДУ ФСТЭК России)</span>{% else %}Каталог CWE MITRE, содержимое – как в источнике.{% endif %}</p>
|
|
15
|
+
</div>
|
|
16
|
+
<div class="page-actions">
|
|
17
|
+
<a class="btn btn-ghost" href="{{ work_link('/cwe?q=' ~ (r.id)) }}">{{ icon("list") }}Все классы</a>
|
|
18
|
+
<a class="btn btn-ghost" href="{{ work_link('/feeds#feed-cwe') }}">{{ icon("book") }}Справочники</a>
|
|
19
|
+
</div>
|
|
20
|
+
</div>
|
|
21
|
+
|
|
22
|
+
{% if old %}
|
|
23
|
+
<p class="callout callout-info" id="cwe-old" role="status">{{ icon("info") }}Эта запись сохранена прежней версией приложения: показан только тот текст, который был в ней. Перезагрузите каталог CWE на странице «Справочники», чтобы увидеть полную запись.</p>
|
|
24
|
+
{% endif %}
|
|
25
|
+
|
|
26
|
+
<section class="panel" aria-labelledby="cwe-about-title">
|
|
27
|
+
<div class="panel-head"><h2 id="cwe-about-title">{{ "Category" if r.kind == "category" else "Weakness" }}</h2></div>
|
|
28
|
+
{% if not old %}
|
|
29
|
+
<dl class="facts">
|
|
30
|
+
<div><dt>Record Type</dt><dd>{{ "Category" if r.kind == "category" else "Weakness" }}</dd></div>
|
|
31
|
+
{% if r.abstraction %}<div><dt>Abstraction</dt><dd>{{ r.abstraction }}</dd></div>{% endif %}
|
|
32
|
+
{% if r.structure %}<div><dt>Structure</dt><dd>{{ r.structure }}</dd></div>{% endif %}
|
|
33
|
+
{% if r.status %}<div><dt>Status</dt><dd>{{ r.status }}</dd></div>{% endif %}
|
|
34
|
+
{% if meta.version %}<div><dt>Версия каталога</dt><dd>{{ meta.version }}{% if meta.source_date %} от {{ meta.source_date }}{% endif %}</dd></div>{% endif %}
|
|
35
|
+
<div><dt>Загружен</dt><dd><time datetime="{{ meta.loaded_at }}">{{ meta.loaded_at|ts }}</time></dd></div>
|
|
36
|
+
</dl>
|
|
37
|
+
{% endif %}
|
|
38
|
+
|
|
39
|
+
{% if r.description %}<h3>Description</h3><p class="prose">{{ r.description }}</p>{% endif %}
|
|
40
|
+
{% if r.extended %}<h3>Extended Description</h3>{% for p in r.extended %}<p class="prose">{{ p }}</p>{% endfor %}{% endif %}
|
|
41
|
+
{% if r.background %}<h3>Background Details</h3>{% for p in r.background %}<p class="prose">{{ p }}</p>{% endfor %}{% endif %}
|
|
42
|
+
{% if r.alt_terms %}<h3>Alternate Terms</h3>
|
|
43
|
+
<ul class="dot-list">{% for t in r.alt_terms %}<li>{% if t.term %}{{ t.term }}{% if t.description %} – {{ t.description }}{% endif %}{% else %}{{ t.description }}{% endif %}</li>{% endfor %}</ul>
|
|
44
|
+
{% endif %}
|
|
45
|
+
{% if r.ordinalities %}<h3>Weakness Ordinalities</h3><p class="small">{{ r.ordinalities|join(", ") }}</p>{% endif %}
|
|
46
|
+
{% if r.functional_areas %}<h3>Functional Areas</h3><p class="small">{{ r.functional_areas|join(", ") }}</p>{% endif %}
|
|
47
|
+
{% if r.affected_resources %}<h3>Affected Resources</h3><p class="small">{{ r.affected_resources|join(", ") }}</p>{% endif %}
|
|
48
|
+
</section>
|
|
49
|
+
|
|
50
|
+
{% if not old and links %}
|
|
51
|
+
<section class="panel" aria-labelledby="cwe-links-title">
|
|
52
|
+
<div class="panel-head"><h2 id="cwe-links-title">Relationships</h2><div class="panel-actions"><span class="muted small">Переходы – внутри приложения, без интернета</span></div></div>
|
|
53
|
+
<div class="grid-2">
|
|
54
|
+
{% for rel in link_order + (links.keys()|reject("in", link_order)|list) %}
|
|
55
|
+
{% if links.get(rel) %}
|
|
56
|
+
<div class="cwe-links">
|
|
57
|
+
<h3>{{ rel }}</h3>
|
|
58
|
+
<ul class="cwe-link-list">{% for other in links[rel] %}<li>{{ catalog_link('cwe', other) }}</li>{% endfor %}</ul>
|
|
59
|
+
</div>
|
|
60
|
+
{% endif %}
|
|
61
|
+
{% endfor %}
|
|
62
|
+
</div>
|
|
63
|
+
</section>
|
|
64
|
+
{% endif %}
|
|
65
|
+
|
|
66
|
+
{% if not old and (r.platforms or r.modes or r.likelihood) %}
|
|
67
|
+
<section class="panel" aria-labelledby="cwe-where-title">
|
|
68
|
+
<div class="panel-head"><h2 id="cwe-where-title">Applicable Platforms and Modes Of Introduction</h2></div>
|
|
69
|
+
{% if r.platforms %}<h3>Applicable Platforms</h3>
|
|
70
|
+
{% for kind in platform_kinds %}
|
|
71
|
+
{% set rows = r.platforms|selectattr("kind", "equalto", kind)|list %}
|
|
72
|
+
{% if rows %}
|
|
73
|
+
<p class="section-title">{{ kind|replace('_', ' ') }}</p>
|
|
74
|
+
<ul class="dot-list">{% for p in rows %}<li>{% if p.class %}{{ p.class }}{% if p.name %} ({{ p.name }}){% endif %}{% elif p.name %}{{ p.name }}{% endif %}{% if p.prevalence %} <span class="muted small">{{ p.prevalence }}</span>{% endif %}</li>{% endfor %}</ul>
|
|
75
|
+
{% endif %}
|
|
76
|
+
{% endfor %}
|
|
77
|
+
{% set others = r.platforms|rejectattr("kind", "in", platform_kinds)|list %}
|
|
78
|
+
{% if others %}<p class="section-title">Прочее</p><ul class="dot-list">{% for p in others %}<li>{{ p.class or p.name }}</li>{% endfor %}</ul>{% endif %}
|
|
79
|
+
{% endif %}
|
|
80
|
+
{% if r.modes %}<h3>Modes Of Introduction</h3>
|
|
81
|
+
<ul class="dot-list">{% for m in r.modes %}<li>{{ m.phase }}{% if m.note %} – {{ m.note }}{% endif %}</li>{% endfor %}</ul>
|
|
82
|
+
{% endif %}
|
|
83
|
+
{% if r.likelihood %}<h3>Likelihood Of Exploit</h3><p class="prose">{{ r.likelihood }}</p>{% endif %}
|
|
84
|
+
</section>
|
|
85
|
+
{% endif %}
|
|
86
|
+
|
|
87
|
+
{% if not old and r.consequences %}
|
|
88
|
+
<section class="panel" aria-labelledby="cwe-harms-title">
|
|
89
|
+
<div class="panel-head"><h2 id="cwe-harms-title">Common Consequences</h2></div>
|
|
90
|
+
<div class="table-wrap">
|
|
91
|
+
<table class="table table-compact">
|
|
92
|
+
<thead><tr><th scope="col">Scope</th><th scope="col">Impact</th><th scope="col">Likelihood</th><th scope="col">Note</th></tr></thead>
|
|
93
|
+
<tbody>
|
|
94
|
+
{% for c in r.consequences %}
|
|
95
|
+
<tr>
|
|
96
|
+
<td data-label="Scope">{{ c.scope|join(", ") or "–" }}</td>
|
|
97
|
+
<td data-label="Impact">{{ c.impact|join(", ") or "–" }}</td>
|
|
98
|
+
<td data-label="Likelihood">{{ c.likelihood or "–" }}</td>
|
|
99
|
+
<td data-label="Note">{{ c.note or "–" }}</td>
|
|
100
|
+
</tr>
|
|
101
|
+
{% endfor %}
|
|
102
|
+
</tbody>
|
|
103
|
+
</table>
|
|
104
|
+
</div>
|
|
105
|
+
</section>
|
|
106
|
+
{% endif %}
|
|
107
|
+
|
|
108
|
+
{% if not old and (r.detection or r.mitigations) %}
|
|
109
|
+
<section class="panel" aria-labelledby="cwe-fix-title">
|
|
110
|
+
<div class="panel-head"><h2 id="cwe-fix-title">Detection Methods and Potential Mitigations</h2></div>
|
|
111
|
+
<div class="grid-2">
|
|
112
|
+
{% if r.detection %}<div><h3>Detection Methods</h3>
|
|
113
|
+
<ul class="item-list">{% for d in r.detection %}
|
|
114
|
+
<li class="item"><div class="item-main">
|
|
115
|
+
<p class="item-title">{{ d.method or "метод не указан" }}</p>
|
|
116
|
+
{% for p in d.description %}<p class="small">{{ p }}</p>{% endfor %}
|
|
117
|
+
{% if d.effectiveness or d.effectiveness_notes %}<p class="item-meta">Effectiveness: {{ d.effectiveness or "не указана" }}{% if d.effectiveness_notes %} · {{ d.effectiveness_notes }}{% endif %}</p>{% endif %}
|
|
118
|
+
</div></li>
|
|
119
|
+
{% endfor %}</ul>
|
|
120
|
+
</div>{% endif %}
|
|
121
|
+
{% if r.mitigations %}<div><h3>Potential Mitigations</h3>
|
|
122
|
+
<ul class="item-list">{% for m in r.mitigations %}
|
|
123
|
+
<li class="item"><div class="item-main">
|
|
124
|
+
<p class="item-title">{{ m.phases|join(", ") or "Этап не указан" }}{% if m.strategy %} · {{ m.strategy }}{% endif %}</p>
|
|
125
|
+
{% for p in m.description %}<p class="small">{{ p }}</p>{% endfor %}
|
|
126
|
+
{% if m.effectiveness or m.effectiveness_notes %}<p class="item-meta">Effectiveness: {{ m.effectiveness or "не указана" }}{% if m.effectiveness_notes %} · {{ m.effectiveness_notes }}{% endif %}</p>{% endif %}
|
|
127
|
+
</div></li>
|
|
128
|
+
{% endfor %}</ul>
|
|
129
|
+
</div>{% endif %}
|
|
130
|
+
</div>
|
|
131
|
+
</section>
|
|
132
|
+
{% endif %}
|
|
133
|
+
|
|
134
|
+
{% if not old and r.examples %}
|
|
135
|
+
<section class="panel" aria-labelledby="cwe-examples-title">
|
|
136
|
+
<div class="panel-head"><h2 id="cwe-examples-title">Demonstrative Examples</h2><div class="panel-actions"><span class="muted small">Код из каталога, как в источнике</span></div></div>
|
|
137
|
+
{% for ex in r.examples %}
|
|
138
|
+
<div class="cwe-example">
|
|
139
|
+
{% for p in ex.intro %}<p class="prose">{{ p }}</p>{% endfor %}
|
|
140
|
+
{% for block in ex.blocks %}
|
|
141
|
+
{% if block.kind == "code" %}
|
|
142
|
+
{% set tone = "err" if block.nature in ("Bad", "Attack") else ("ok" if block.nature == "Good" else "muted") %}
|
|
143
|
+
<figure class="cwe-code cwe-code-{{ tone }}">
|
|
144
|
+
<figcaption class="cwe-code-cap">{{ block.nature or "Example Code" }}{% if block.language %} · {{ block.language }}{% endif %}</figcaption>
|
|
145
|
+
<pre class="pre-block"><code>{{ block.code|code_text }}</code></pre>
|
|
146
|
+
</figure>
|
|
147
|
+
{% else %}
|
|
148
|
+
{% for p in block.paragraphs %}<p class="prose">{{ p }}</p>{% endfor %}
|
|
149
|
+
{% endif %}
|
|
150
|
+
{% endfor %}
|
|
151
|
+
{% if ex.refs %}<p class="small muted">Источники примера: {% for ref in ex.refs %}<span class="mono">{{ ref.ref_id }}</span>{% if ref.source.title %} – {{ ref.source.title }}{% endif %}{% if ref.section %} ({{ ref.section }}){% endif %}{% if not loop.last %}; {% endif %}{% endfor %}</p>{% endif %}
|
|
152
|
+
</div>
|
|
153
|
+
{% endfor %}
|
|
154
|
+
</section>
|
|
155
|
+
{% endif %}
|
|
156
|
+
|
|
157
|
+
{% if not old and r.observed %}
|
|
158
|
+
<section class="panel" aria-labelledby="cwe-observed-title">
|
|
159
|
+
<div class="panel-head"><h2 id="cwe-observed-title">Observed Examples</h2></div>
|
|
160
|
+
<ul class="item-list" id="cwe-observed">
|
|
161
|
+
{% for o in r.observed %}
|
|
162
|
+
<li class="item"><div class="item-main">
|
|
163
|
+
<p class="item-title mono">{% if bdu.get(o.reference) %}<a href="{{ work_link('/bdu/' ~ (o.reference)) }}">{{ o.reference }}</a>{% else %}{{ o.reference or "без идентификатора" }}{% endif %}</p>
|
|
164
|
+
{% if o.description %}<p class="small">{{ o.description }}</p>{% endif %}
|
|
165
|
+
{% set url = o.link|norm_link %}{% if url %}<p class="item-meta">{{ ext_link(url) }}</p>{% endif %}
|
|
166
|
+
</div></li>
|
|
167
|
+
{% endfor %}
|
|
168
|
+
</ul>
|
|
169
|
+
<p class="hint">Номер CVE открывает запись БДУ ФСТЭК России внутри приложения, если она есть в загруженной выгрузке; иначе показан только текст каталога и ссылка на описание CVE.</p>
|
|
170
|
+
</section>
|
|
171
|
+
{% endif %}
|
|
172
|
+
|
|
173
|
+
{% if not old and (r.taxonomies or r.attack_patterns) %}
|
|
174
|
+
<section class="panel" aria-labelledby="cwe-maps-title">
|
|
175
|
+
<div class="panel-head"><h2 id="cwe-maps-title">Taxonomy Mappings</h2></div>
|
|
176
|
+
{% if r.taxonomies %}
|
|
177
|
+
<div class="table-wrap">
|
|
178
|
+
<table class="table table-compact">
|
|
179
|
+
<thead><tr><th scope="col">Taxonomy Name</th><th scope="col">Entry ID</th><th scope="col">Entry Name</th><th scope="col">Mapping Fit</th></tr></thead>
|
|
180
|
+
<tbody>
|
|
181
|
+
{% for t in r.taxonomies %}
|
|
182
|
+
<tr>
|
|
183
|
+
<td data-label="Taxonomy Name">{{ t.name or "–" }}</td>
|
|
184
|
+
<td data-label="Entry ID" class="mono">{{ t.entry_id or "–" }}</td>
|
|
185
|
+
<td data-label="Entry Name">{{ t.entry_name or "–" }}</td>
|
|
186
|
+
<td data-label="Mapping Fit">{{ t.mapping_fit or "–" }}</td>
|
|
187
|
+
</tr>
|
|
188
|
+
{% endfor %}
|
|
189
|
+
</tbody>
|
|
190
|
+
</table>
|
|
191
|
+
</div>
|
|
192
|
+
{% endif %}
|
|
193
|
+
{% if r.attack_patterns %}<h3>Related Attack Patterns</h3><p class="mono break">{% for id in r.attack_patterns %}{{ catalog_link('capec', id, href='/capec/' ~ id ~ '?back=/cwe/' ~ r.id) }}{{ ', ' if not loop.last }}{% endfor %}</p>{% endif %}
|
|
194
|
+
</section>
|
|
195
|
+
{% endif %}
|
|
196
|
+
|
|
197
|
+
{% if not old and (r.notes or r.mapping_notes) %}
|
|
198
|
+
<section class="panel" aria-labelledby="cwe-notes-title">
|
|
199
|
+
<div class="panel-head"><h2 id="cwe-notes-title">Notes</h2></div>
|
|
200
|
+
{% if r.mapping_notes %}
|
|
201
|
+
<h3>Vulnerability Mapping Notes</h3>
|
|
202
|
+
<dl class="facts">
|
|
203
|
+
{% if r.mapping_notes.usage %}<div><dt>Usage</dt><dd>{{ r.mapping_notes.usage }}</dd></div>{% endif %}
|
|
204
|
+
{% if r.mapping_notes.rationale %}<div><dt>Rationale</dt><dd>{{ r.mapping_notes.rationale }}</dd></div>{% endif %}
|
|
205
|
+
{% if r.mapping_notes.comments %}<div><dt>Comments</dt><dd>{{ r.mapping_notes.comments }}</dd></div>{% endif %}
|
|
206
|
+
{% if r.mapping_notes.reasons %}<div><dt>Reasons</dt><dd>{{ r.mapping_notes.reasons|join(", ") }}</dd></div>{% endif %}
|
|
207
|
+
</dl>
|
|
208
|
+
{% endif %}
|
|
209
|
+
{% if r.notes %}<h3>Other Notes</h3>
|
|
210
|
+
<ul class="item-list">{% for n in r.notes %}<li class="item"><div class="item-main"><p class="item-title">{{ n.type or "примечание" }}</p><p class="small">{{ n.text }}</p></div></li>{% endfor %}</ul>
|
|
211
|
+
{% endif %}
|
|
212
|
+
</section>
|
|
213
|
+
{% endif %}
|
|
214
|
+
|
|
215
|
+
{% if r.references %}
|
|
216
|
+
<section class="panel" aria-labelledby="cwe-refs-title">
|
|
217
|
+
<div class="panel-head"><h2 id="cwe-refs-title">References</h2><div class="panel-actions"><span class="muted small">Справочник ссылок каталога CWE</span></div></div>
|
|
218
|
+
<ul class="item-list" id="cwe-refs">
|
|
219
|
+
{% for ref in r.references %}
|
|
220
|
+
{% set s = ref.source or {} %}
|
|
221
|
+
<li class="item"><div class="item-main">
|
|
222
|
+
<p class="item-title">{% if s.title %}{{ s.title }}{% else %}<span class="mono">{{ ref.ref_id }}</span> – источник в выгрузке каталога отсутствует{% endif %}</p>
|
|
223
|
+
{% if s.authors %}<p class="small">{{ s.authors|join(", ") }}</p>{% endif %}
|
|
224
|
+
{% if s.publication or s.publisher %}<p class="small muted">{{ s.publication }}{% if s.publication and s.publisher %}, {% endif %}{{ s.publisher }}</p>{% endif %}
|
|
225
|
+
<p class="item-meta"><span class="mono">{{ ref.ref_id }}</span>{% if ref.section %} · {{ ref.section }}{% endif %}{% if s.date %} · {{ s.date }}{% endif %}{% if s.url %} · {{ ext_link(s.url, s.url) }}{% endif %}</p>
|
|
226
|
+
</div></li>
|
|
227
|
+
{% endfor %}
|
|
228
|
+
</ul>
|
|
229
|
+
</section>
|
|
230
|
+
{% endif %}
|
|
231
|
+
|
|
232
|
+
<p class="hint cwe-terms">Версия каталога CWE {{ meta.version or "неизвестна" }}{% if meta.source_date %} от {{ meta.source_date }}{% endif %}; данные MITRE CWE (© MITRE, распространяется по <a href="{{ work_link((terms_url)) }}" rel="noopener noreferrer" target="_blank">{{ icon("external") }}условиям использования CWE</a>).</p>
|
|
233
|
+
{% endblock %}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
{% extends "base.html" %}
|
|
2
|
+
{% from "macros.html" import icon, stat, empty_state, cwe_link with context %}
|
|
3
|
+
{% from "worklists.html" import pager, sort_heading with context %}
|
|
4
|
+
{% block wide %} wrap-wide{% endblock %}
|
|
5
|
+
{% block title %}Справочник CWE · Локальный триаж{% endblock %}
|
|
6
|
+
{% block page %}cwe{% endblock %}
|
|
7
|
+
{% block crumbs %}<a href="{{ work_link('/') }}">Проекты</a><span aria-hidden="true"> / </span><span aria-current="page">Справочник CWE</span>{% endblock %}
|
|
8
|
+
{% block content %}
|
|
9
|
+
<div class="page-head">
|
|
10
|
+
<div>
|
|
11
|
+
<h1>Справочник CWE</h1>
|
|
12
|
+
<p class="page-sub">Классы слабостей MITRE: номер, название и связи без интернета.</p>
|
|
13
|
+
</div>
|
|
14
|
+
<div class="page-actions">
|
|
15
|
+
<a class="btn btn-ghost" href="{{ work_link('/feeds#feed-cwe') }}">{{ icon("book") }}Справочники</a>
|
|
16
|
+
</div>
|
|
17
|
+
</div>
|
|
18
|
+
|
|
19
|
+
{% if not loaded %}
|
|
20
|
+
<section class="panel" id="cwe-empty">
|
|
21
|
+
{{ empty_state("Каталог CWE не загружен", "Классы CWE появятся здесь после загрузки архива cwec_latest.xml.zip со страницы «Справочники»: тот же файл, что уже используется для карточек находок.", work_link('/feeds#feed-cwe'), "К загрузке каталога", "book") }}
|
|
22
|
+
</section>
|
|
23
|
+
{% else %}
|
|
24
|
+
|
|
25
|
+
<section class="panel panel-compact" aria-label="Сведения о каталоге">
|
|
26
|
+
<div class="stats">
|
|
27
|
+
{# число – весь каталог этого вида, без прочих отборов: таблица показывает ровно столько записей #}
|
|
28
|
+
{% macro kind_href(kind) %}{{ work_link('/cwe?' ~ ('kind=' ~ kind ~ '&' if kind else '') ~ 'page_size=' ~ worklist.size ~ '#cwe-results') }}{% endmacro %}
|
|
29
|
+
{% set plain = not (filters.q or filters.status or filters.abstraction) %}
|
|
30
|
+
{{ stat(catalog_size, "Записей в каталоге", sub=(meta.version ~ " от " ~ meta.source_date) if meta.version else "", href=kind_href(''), active=(plain and not filters.kind)) }}
|
|
31
|
+
{{ stat(counts.weakness, "Weaknesses", href=kind_href('weakness'), active=(plain and filters.kind == 'weakness')) }}
|
|
32
|
+
{{ stat(counts.category, "Categories", href=kind_href('category'), active=(plain and filters.kind == 'category')) }}
|
|
33
|
+
{{ stat(meta.ref_records, "Ссылок в каталоге") }}
|
|
34
|
+
</div>
|
|
35
|
+
</section>
|
|
36
|
+
|
|
37
|
+
<form method="get" action="/cwe" class="filters catalog-filters" id="cwe-filters">{% include 'navigation-fields.html' %}
|
|
38
|
+
<div class="catalog-filter-grid">
|
|
39
|
+
<div class="filter-group catalog-filter-wide">
|
|
40
|
+
<label class="filter-label" for="cwe-q">Поиск по номеру или названию</label>
|
|
41
|
+
<input type="search" name="q" id="cwe-q" value="{{ filters.q }}" placeholder="89, sql injection, Недостаточная экранизация" autocomplete="off">
|
|
42
|
+
</div>
|
|
43
|
+
{% for field, title in (("abstraction", "Abstraction"), ("status", "Status")) %}
|
|
44
|
+
<label class="filter-group"><span class="filter-label">{{ title }}</span><select name="{{ field }}"><option value="">все</option>{% for value in choices[field] %}<option value="{{ value }}"{% if filters[field] == value %} selected{% endif %}>{{ value }}</option>{% endfor %}</select></label>
|
|
45
|
+
{% endfor %}
|
|
46
|
+
<div class="filter-group">
|
|
47
|
+
<label class="filter-label" for="cwe-kind">Record Type</label>
|
|
48
|
+
<select name="kind" id="cwe-kind"><option value="">все</option>{% for kind,label in kind_filters.items() %}<option value="{{ kind }}"{% if filters.kind == kind %} selected{% endif %}>{{ label }}</option>{% endfor %}</select>
|
|
49
|
+
</div>
|
|
50
|
+
<div class="filter-actions">
|
|
51
|
+
<button type="submit" class="btn">Показать</button>
|
|
52
|
+
{% if filters.q or filters.kind or filters.status or filters.abstraction or filters.sort != "id_asc" %}<a class="btn btn-ghost" href="{{ work_link('/cwe') }}">Сбросить</a>{% endif %}
|
|
53
|
+
</div>
|
|
54
|
+
</div>
|
|
55
|
+
<input type="hidden" name="sort" value="{{ filters.sort }}">
|
|
56
|
+
<input type="hidden" name="page_size" value="{{ worklist.size }}">
|
|
57
|
+
</form>
|
|
58
|
+
|
|
59
|
+
<section class="panel panel-flush" id="cwe-results" aria-labelledby="cwe-list-title">
|
|
60
|
+
<div class="panel-head">
|
|
61
|
+
<h2 id="cwe-list-title">Классы каталога</h2>
|
|
62
|
+
<div class="panel-actions"><span class="muted small">Показано {{ rows|length }} из {{ total }}{% if pages > 1 %}, страница {{ page }} из {{ pages }}{% endif %}</span></div>
|
|
63
|
+
</div>
|
|
64
|
+
{{ pager(worklist) }}
|
|
65
|
+
{% if rows %}
|
|
66
|
+
<div class="table-wrap">
|
|
67
|
+
<table class="table table-compact">
|
|
68
|
+
<thead><tr>
|
|
69
|
+
<th scope="col"{% if worklist.sort == "id_asc" %} aria-sort="ascending"{% elif worklist.sort == "id_desc" %} aria-sort="descending"{% endif %}>{{ sort_heading(worklist, "id", "ID") }}</th>
|
|
70
|
+
<th scope="col"{% if worklist.sort == "name_asc" %} aria-sort="ascending"{% elif worklist.sort == "name_desc" %} aria-sort="descending"{% endif %}>{{ sort_heading(worklist, "name", "Name") }}</th>
|
|
71
|
+
<th scope="col"{% if worklist.sort == "kind_asc" %} aria-sort="ascending"{% elif worklist.sort == "kind_desc" %} aria-sort="descending"{% endif %}>{{ sort_heading(worklist, "kind", "Record Type") }}</th>
|
|
72
|
+
<th scope="col"{% if worklist.sort == "abstraction_asc" %} aria-sort="ascending"{% elif worklist.sort == "abstraction_desc" %} aria-sort="descending"{% endif %}>{{ sort_heading(worklist, "abstraction", "Abstraction") }}</th>
|
|
73
|
+
<th scope="col"{% if worklist.sort == "status_asc" %} aria-sort="ascending"{% elif worklist.sort == "status_desc" %} aria-sort="descending"{% endif %}>{{ sort_heading(worklist, "status", "Status") }}</th>
|
|
74
|
+
</tr></thead>
|
|
75
|
+
<tbody>
|
|
76
|
+
{% for row in rows %}
|
|
77
|
+
<tr>
|
|
78
|
+
<td data-label="ID" class="nowrap"><strong class="catalog-id">{{ cwe_link(row.id) }}</strong></td>
|
|
79
|
+
<td data-label="Name"><a class="break" href="{{ work_link('/cwe/' ~ (row.id)) }}">{{ row.name }}</a>{% if row.name_ru %}<span class="muted small block">БДУ ФСТЭК России: {{ row.name_ru }}</span>{% endif %}</td>
|
|
80
|
+
<td data-label="Record Type">{{ "Category" if row.kind == "category" else "Weakness" }}</td>
|
|
81
|
+
<td data-label="Abstraction">{{ row.abstraction or "–" }}</td>
|
|
82
|
+
<td data-label="Status">{{ row.status or "–" }}</td>
|
|
83
|
+
</tr>
|
|
84
|
+
{% endfor %}
|
|
85
|
+
</tbody>
|
|
86
|
+
</table>
|
|
87
|
+
</div>
|
|
88
|
+
{% else %}
|
|
89
|
+
<p class="empty" id="cwe-no-match">По запросу «{{ filters.q }}»{% if filters.kind %} вида «{{ kind_filters[filters.kind] }}»{% endif %} в каталоге ничего нет.</p>
|
|
90
|
+
{% endif %}
|
|
91
|
+
</section>
|
|
92
|
+
|
|
93
|
+
{{ pager(worklist, "bottom") }}
|
|
94
|
+
|
|
95
|
+
<p class="hint">Содержимое каталога – на английском, как в источнике; русское название рядом с английским берётся из выгрузки БДУ ФСТЭК России по тому же номеру. Данные MITRE CWE (© MITRE, распространяется по <a href="{{ work_link((terms_url)) }}" rel="noopener noreferrer" target="_blank">{{ icon("external") }}условиям использования CWE</a>). Каталог загружен {{ meta.version }}{% if meta.source_date %} от {{ meta.source_date }}{% endif %}{% if meta.loaded_at %}, файл <span class="mono break">{{ meta.filename }}</span>{% endif %}.</p>
|
|
96
|
+
{% endif %}
|
|
97
|
+
{% endblock %}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
{% extends "base.html" %}
|
|
2
|
+
{% block title %}Ошибка {{ status }} · Локальный триаж{% endblock %}
|
|
3
|
+
{% block page %}error{% endblock %}
|
|
4
|
+
{% block content %}
|
|
5
|
+
<h1>{% if status == 404 %}Не найдено{% else %}Ошибка {{ status }}{% endif %}</h1>
|
|
6
|
+
<p class="lead">{{ message }}</p>
|
|
7
|
+
<p><a class="btn" href="/">К проектам</a></p>
|
|
8
|
+
{% endblock %}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
{% extends "base.html" %}
|
|
2
|
+
{% from "macros.html" import icon %}
|
|
3
|
+
{% block title %}Справочники · Локальный триаж{% endblock %}
|
|
4
|
+
{% block page %}feeds{% endblock %}
|
|
5
|
+
{% block crumbs %}<a href="{{ work_link('/') }}">Проекты</a><span aria-hidden="true"> / </span><span aria-current="page">Справочники</span>{% endblock %}
|
|
6
|
+
{% block content %}
|
|
7
|
+
<div class="page-head">
|
|
8
|
+
<div>
|
|
9
|
+
<h1>Справочники уязвимостей</h1>
|
|
10
|
+
<p class="page-sub">Сведения об уязвимостях на языке источников без интернета: файлы скачиваете вы, приложение только читает их. Справочники общие для всех проектов.</p>
|
|
11
|
+
</div>
|
|
12
|
+
</div>
|
|
13
|
+
|
|
14
|
+
{% if job.state == "running" %}
|
|
15
|
+
<div class="callout callout-info" id="feed-job" role="status" data-poll="/feeds/job" data-poll-interval="2000">
|
|
16
|
+
<p><span class="spinner" aria-hidden="true"></span> <strong>Загружается {{ job.label }}</strong> – файл <span class="mono">{{ job.filename }}</span>. Выгрузка БДУ разбирается около минуты; страница обновится сама. Карточки пока видят прежний справочник.</p>
|
|
17
|
+
<form method="post" action="/feeds/cancel" class="inline-form"><button type="submit" class="btn btn-small" id="feed-cancel">Остановить загрузку</button></form>
|
|
18
|
+
</div>
|
|
19
|
+
{% elif job.message %}
|
|
20
|
+
<p class="callout {{ 'callout-err' if job.state == 'error' else 'callout-ok' }}" id="feed-job" role="status">{{ job.message }}</p>
|
|
21
|
+
{% endif %}
|
|
22
|
+
|
|
23
|
+
<div class="cards">
|
|
24
|
+
{% for kind, label in kinds.items() %}
|
|
25
|
+
{% set s = status.get(kind) %}
|
|
26
|
+
<section class="panel" id="feed-{{ kind }}" aria-labelledby="feed-{{ kind }}-title">
|
|
27
|
+
<h2 id="feed-{{ kind }}-title">{{ icon("book") }} {{ label }}</h2>
|
|
28
|
+
{% if s %}
|
|
29
|
+
<dl class="facts">
|
|
30
|
+
<div><dt>Записей</dt><dd id="feed-{{ kind }}-records">{{ s.records }}</dd></div>
|
|
31
|
+
{% if s.source_date %}<div><dt>{{ "Дата каталога" if kind in ("cwe","capec") else "Последнее обновление записи" }}</dt><dd>{{ s.source_date }}</dd></div>{% endif %}
|
|
32
|
+
{% if s.version %}<div><dt>Версия</dt><dd>{{ s.version }}</dd></div>{% endif %}
|
|
33
|
+
<div><dt>Файл</dt><dd class="mono break">{{ s.filename }}</dd></div>
|
|
34
|
+
<div><dt>Загружен</dt><dd><time datetime="{{ s.loaded_at }}">{{ s.loaded_at|ts }}</time>{% if s.seconds %} · {{ s.seconds|duration }}{% endif %}</dd></div>
|
|
35
|
+
<div><dt>Объём XML</dt><dd>{{ s.xml_bytes|size }}</dd></div>
|
|
36
|
+
</dl>
|
|
37
|
+
{% else %}
|
|
38
|
+
<p class="empty" id="feed-{{ kind }}-empty">Ещё не загружен.</p>
|
|
39
|
+
{% endif %}
|
|
40
|
+
{% if kind == "capec" and capec_profile %}<p class="hint">Шаблонов {{ capec_profile.counts.pattern }}, категорий {{ capec_profile.counts.category }}, представлений {{ capec_profile.counts.view }}. <a href="{{ work_link('/capec') }}">Открыть каталог CAPEC</a></p>{% endif %}
|
|
41
|
+
{% if kind == "bdu" %}
|
|
42
|
+
<p class="hint">Выгрузка базы данных угроз безопасности информации ФСТЭК России – архив <span class="mono">vulxml.zip</span> с сайта БДУ (раздел выгрузки уязвимостей). Даёт описание, уровень опасности, способ устранения и источники по-русски для находок SCA – по CVE, которые знает приложение (из выгрузки Hub, ответа агента или соответствия AST → CVE), а также русские названия классов CWE.</p>
|
|
43
|
+
{% elif kind == 'cwe' %}
|
|
44
|
+
<p class="hint">Каталог классов уязвимостей MITRE – архив <span class="mono">cwec_latest.xml.zip</span> с сайта CWE. Даёт название и описание класса CWE в карточке SAST и в тексте дефекта.</p>
|
|
45
|
+
{% endif %}
|
|
46
|
+
{% if kind == 'capec' %}<p class="hint">Полный каталог MITRE: <a href="https://capec.mitre.org/data/archive/capec_latest.zip" target="_blank" rel="noopener noreferrer">capec_latest.zip</a>. Шаблоны атак, категории, представления и связи с CWE.</p><p><a class="btn" href="{{ work_link('/capec') }}">Открыть каталог CAPEC</a></p>{% endif %}
|
|
47
|
+
<form method="post" action="/feeds/{{ kind }}" enctype="multipart/form-data" class="stack-form upload-form">
|
|
48
|
+
<label class="dropzone">
|
|
49
|
+
<input type="file" name="file" accept=".zip" required id="feed-{{ kind }}-file">
|
|
50
|
+
<span class="dropzone-text">{{ icon("upload") }} Перетащите архив .zip или нажмите, чтобы выбрать</span>
|
|
51
|
+
<span class="dropzone-file" aria-live="polite"></span>
|
|
52
|
+
</label>
|
|
53
|
+
<div class="actions"><button type="submit" class="btn{{ ' btn-primary' if not s }}" data-busy="Загружаю…"{% if job.state == "running" %} disabled{% endif %}>{{ "Обновить" if s else "Загрузить" }}</button></div>
|
|
54
|
+
</form>
|
|
55
|
+
</section>
|
|
56
|
+
{% endfor %}
|
|
57
|
+
</div>
|
|
58
|
+
|
|
59
|
+
<section class="panel" aria-labelledby="feeds-rules-title">
|
|
60
|
+
<h2 id="feeds-rules-title">Как это устроено</h2>
|
|
61
|
+
<p class="hint">Файлы не уходят никуда: приложение не обращается к сайтам и не скачивает обновления само. Обновить справочник – загрузить новый архив: прежний заменяется, когда новый разобран целиком.</p>
|
|
62
|
+
<p class="hint">Архив – до {{ max_upload_mb }} МБ (предел MAX_UPLOAD_MB). XML с объявлениями DOCTYPE или ENTITY не принимается. Загрузка длится не дольше 30 минут; её можно остановить – прежний справочник при этом остаётся.</p>
|
|
63
|
+
<p class="hint">Справочники хранятся отдельно от проектов, в базе приложения; в репозиторий и образ они не входят.</p>
|
|
64
|
+
</section>
|
|
65
|
+
{% endblock %}
|