> For the complete documentation index, see [llms.txt](https://help.aikido.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.aikido.dev/docs/docs-ja/aikido-device-protection/using-aikido-endpoint/minimum-package-age-fallback.md).

# 最小パッケージ年齢とバージョンのフォールバック

{% hint style="danger" %}
マルウェアは **常に** 年齢や要求されたバージョンにかかわらずブロックされます。以下の動作は、マルウェアと識別されていないパッケージにのみ適用されます。
{% endhint %}

その [最低パッケージ年齢](/docs/docs-ja/aikido-device-protection/using-aikido-endpoint/configuring-installation-policies.md#minimum-package-age) このポリシーは、インストール可能になる前にバージョンがどれだけ存在している必要があるかを定めます。たとえば、最低年齢が24時間の場合、公開から24時間未満のバージョンはすべて **新しすぎる**.

バージョンが新しすぎる場合にどうなるかは、インストールの要求方法によって異なります。たとえば、 **特定のバージョン** または **最新** バージョン。

## 特定バージョンが要求された場合

インストールが正確なバージョンを固定している場合、Aikido はその正確なバージョンを受け入れるか拒否するかしかできません。代替に切り替えるものはありません。

* **バージョンが最低年齢を満たしている** → インストールは **許可されます**.
* **バージョンが新しすぎる** → インストールは **ブロックされます**、そして何が保留されたか確認できるようにイベントが表示されます。

## 最新バージョンが要求された場合

インストールが最新バージョンを要求した場合、Aikido には代替に切り替える余地があります。完全にブロックする代わりに、最低年齢をまだ満たしている最新のバージョンを返します。

* **最新バージョンが最低年齢を満たしている** → 最新バージョンが返されます。
* **最新バージョンが新しすぎる** → Aikido は最低年齢を満たす最新のバージョンにフォールバックし、そのバージョンが代わりに返されます。

これにより、インストールは動作し続けつつ、コミュニティによる検証を受けるには新しすぎるバージョンは引き続き保留されます。

## 判定フロー

```mermaid
flowchart TD
    A[インストール要求] --> B{特定バージョン<br/>または最新？}

    B -- 特定バージョン --> C{最低年齢を満たしている？}
    C -- はい --> D[許可]
    C -- いいえ --> E[ブロック<br/>イベントを表示]

    B -- 最新 --> F{最新バージョンが<br/>最低年齢を満たしている？}
    F -- はい --> G[最新バージョンを返す]
    F -- いいえ --> H[最低年齢を満たす最新のバージョン<br/>にフォールバック]

    classDef block fill:#ffd6d6,stroke:#c0392b;
    classDef allow fill:#d6f5d6,stroke:#27ae60;
    class E block;
    class D,G,H allow;
```

{% hint style="info" %}
最低年齢ポリシーによって保留されている特定の新しいバージョンが必要ですか？例外を追加し、その Minimum Package Age を「最低年齢なし」に設定してください。参照: [インストールポリシーの設定](/docs/docs-ja/aikido-device-protection/using-aikido-endpoint/configuring-installation-policies.md#exceptions).
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.aikido.dev/docs/docs-ja/aikido-device-protection/using-aikido-endpoint/minimum-package-age-fallback.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
