差分
このページの2つのバージョン間の差分を表示します。
| 両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン | ||
| ja:documentation:pandorafms:cybersecurity:07_safety_functions [2025/08/30 22:43] – [Configuring Pandora FMS with SAML] junichi | ja:documentation:pandorafms:cybersecurity:07_safety_functions [2025/11/28 22:58] (現在) – [ユーザパスワードポリシー] junichi | ||
|---|---|---|---|
| 行 223: | 行 223: | ||
| === SimpleSAMLphp 2.0 のインストール === | === SimpleSAMLphp 2.0 のインストール === | ||
| - | You must download | + | Download |
| - | 公式リポジトリから SimpleSAMLphp バージョン 2.3.2 をダウンロードする必要があります。 | + | 公式リポジトリから SimpleSAMLphp バージョン 2.3.2 をダウンロードします。 |
| <WRAP center round download 90%> | <WRAP center round download 90%> | ||
| - | https:// | + | [[https:// |
| </ | </ | ||
| 行 296: | 行 296: | ||
| </ | </ | ||
| + | |||
| + | <WRAP center round info 90%> | ||
| + | |||
| + | * Note that '' | ||
| + | * You should always use a URL instead of an IP address. Following the example of using '' | ||
| + | |||
| + | \\ </ | ||
| + | |||
| + | <WRAP center round info 90%> | ||
| + | |||
| + | * '' | ||
| + | * IP アドレスではなく、常に URL を使用してください。'' | ||
| + | |||
| + | \\ </ | ||
| Save the changes to the file and exit to the command line. | Save the changes to the file and exit to the command line. | ||
| 行 351: | 行 365: | ||
| </ | </ | ||
| - | It can be accessed | + | Copy the contents of the previously downloaded XML, paste it, and process it; this will generate a configuration text for PHP, which is copied and added to file ''/ |
| + | |||
| + | 先ほどダウンロードした XML の内容をコピーし、貼り付けて処理します。これにより PHP の設定テキストが生成され、コピーされてファイル ''/ | ||
| + | |||
| + | It may be accessed | ||
| URL ''< | URL ''< | ||
| 行 409: | 行 427: | ||
| <wrap #ks1_5_3 /> | <wrap #ks1_5_3 /> | ||
| - | === Configuring Azure with SAML === | + | === SAML を利用する Azure の設定 |
| In Azure® services, you must access the **Extra ID** section: | In Azure® services, you must access the **Extra ID** section: | ||
| + | |||
| + | Azure® サービスでは、**Extra ID** セクションにアクセスする必要があります。 | ||
| {{ wiki: | {{ wiki: | ||
| Then go to **Business Applications**: | Then go to **Business Applications**: | ||
| + | |||
| + | 次に**ビジネスアプリケーション**に移動します。 | ||
| {{ wiki: | {{ wiki: | ||
| A new application is created (or an existing one is used): | A new application is created (or an existing one is used): | ||
| + | |||
| + | 新しいアプリケーションが作成されます (または既存のアプリケーションが使用されます)。 | ||
| {{ wiki: | {{ wiki: | ||
| Single sign-on access: | Single sign-on access: | ||
| + | |||
| + | シングルサインオンアクセス: | ||
| {{ wiki: | {{ wiki: | ||
| Edit the basic SAML configuration: | Edit the basic SAML configuration: | ||
| + | |||
| + | 基本的な SAML 設定を編集します。 | ||
| {{ wiki: | {{ wiki: | ||
| Fill in the following fields with the ID for the application, | Fill in the following fields with the ID for the application, | ||
| + | |||
| + | 次のフィールドに、アプリケーションの ID、インストールされている **SimpleSAMLphp** のアドレス (" | ||
| {{ wiki: | {{ wiki: | ||
| Download the XML file with federation metadata, which will be used later: | Download the XML file with federation metadata, which will be used later: | ||
| + | |||
| + | 後で使用するフェデレーションメタデータを含む XML ファイルをダウンロードします。 | ||
| {{ wiki: | {{ wiki: | ||
| Finally, save the ID from the previous step and the URL of the extra identifier: | Finally, save the ID from the previous step and the URL of the extra identifier: | ||
| + | |||
| + | 最後に、前の手順の ID と追加識別子の URL を保存します。 | ||
| {{ wiki: | {{ wiki: | ||
| <wrap #ks1_5_3_1 /> | <wrap #ks1_5_3_1 /> | ||
| - | == Configuration in SimpleSAMLphp == | + | |
| + | == SimpleSAMLphp | ||
| The file ''/ | The file ''/ | ||
| + | |||
| + | ファイル ''/ | ||
| {{ wiki: | {{ wiki: | ||
| And on the SimpleSAMLphp website, go to the **Federation** menu and then to the **Tools** section for converting XML to PHP: | And on the SimpleSAMLphp website, go to the **Federation** menu and then to the **Tools** section for converting XML to PHP: | ||
| + | |||
| + | SimpleSAMLphp Web サイトで、**Federation** メニューに移動し、**Tools** セクションに移動して XML を PHP に変換します。 | ||
| {{ wiki: | {{ wiki: | ||
| The name '' | The name '' | ||
| + | |||
| + | 名前 '' | ||
| <code bash> | <code bash> | ||
| 行 462: | 行 503: | ||
| Copy the contents of the previously downloaded XML file, paste it, and process it. This will generate a configuration text for PHP, which you should copy and paste into the file ''/ | Copy the contents of the previously downloaded XML file, paste it, and process it. This will generate a configuration text for PHP, which you should copy and paste into the file ''/ | ||
| + | |||
| + | 先ほどダウンロードした XML ファイルの内容をコピーし、貼り付けて処理します。これにより PHP の設定テキストが生成されるので、それをコピーして ''/ | ||
| If everything is correct, proceed to perform a test: | If everything is correct, proceed to perform a test: | ||
| + | |||
| + | すべてが正しければ、テストの実行に進みます。 | ||
| {{ wiki: | {{ wiki: | ||
| Obtaining the following result: | Obtaining the following result: | ||
| + | |||
| + | 次の結果が得られます。 | ||
| {{ wiki: | {{ wiki: | ||
| The email address and user ID can be taken from the attributes returned by Azure® in the test performed above: | The email address and user ID can be taken from the attributes returned by Azure® in the test performed above: | ||
| + | |||
| + | 電子メールアドレスとユーザ ID は、上記で実行したテストで Azure® によって返された属性から取得できます。 | ||
| {{ : | {{ : | ||
| 行 478: | 行 527: | ||
| For advanced configuration, | For advanced configuration, | ||
| + | |||
| + | 高度な設定では、プロパティの // | ||
| {{ : | {{ : | ||
| <wrap #ks2 /> | <wrap #ks2 /> | ||
| - | ===== Password encryption | + | |
| + | ===== パスワード暗号化 | ||
| Pandora FMS allows to encrypt the passwords stored in the database. | Pandora FMS allows to encrypt the passwords stored in the database. | ||
| + | |||
| + | Pandora FMS はデータベース上のパスワードの暗号化に対応しています。 | ||
| The encryption key is generated from a user-supplied password <wrap hi>**and is not stored in the database** (//neither the password nor the key// | The encryption key is generated from a user-supplied password <wrap hi>**and is not stored in the database** (//neither the password nor the key// | ||
| + | |||
| + | 暗号化キーは、ユーザが用意するパスフレーズから生成され、< | ||
| Once the user sets the password, the encryption works transparently to the user. | Once the user sets the password, the encryption works transparently to the user. | ||
| + | |||
| + | ユーザがパスワードを設定すると、暗号化はユーザーに対して透過的に機能します。 | ||
| <WRAP center round important 90%> | <WRAP center round important 90%> | ||
| If the password provided by the user is lost, you will not be able to recover the passwords stored in the Pandora FMS database. Save in a safe place or make a backup of the '' | If the password provided by the user is lost, you will not be able to recover the passwords stored in the Pandora FMS database. Save in a safe place or make a backup of the '' | ||
| + | |||
| + | </ | ||
| + | |||
| + | <WRAP center round important 90%> | ||
| + | |||
| + | ユーザが入力したパスワードが失われた場合、Pandora FMS データベースに保存されているパスワードを回復することはできません。安全な場所に保存するか、'' | ||
| </ | </ | ||
| <wrap #ks2_1 /> | <wrap #ks2_1 /> | ||
| - | ==== Technical details | + | |
| + | ==== 技術詳細 | ||
| Passwords are encrypted using the Rijndael cipher with 128-bit blocks in ECB mode. A 256-bit key is generated at startup from the MD5 of the password set by the user. | Passwords are encrypted using the Rijndael cipher with 128-bit blocks in ECB mode. A 256-bit key is generated at startup from the MD5 of the password set by the user. | ||
| + | |||
| + | パスワードは、128bit の Rijndael cipher の ECB モードを使って暗号化しています。パスフレーズの MD5 から、最初に 256bit のキーが生成されます。 | ||
| <wrap #ks2_2 /> | <wrap #ks2_2 /> | ||
| - | ==== Configuration in a new Pandora FMS installation | + | |
| + | ==== 新規インストールの | ||
| To enable key encryption, **the password must be configured both in the Pandora FMS Server and in the Web Console**. | To enable key encryption, **the password must be configured both in the Pandora FMS Server and in the Web Console**. | ||
| + | |||
| + | キー暗号化を有効にするには、**Pandora FMS サーバと Web コンソールの両方でパスワードを設定する必要があります**。 | ||
| The steps to follow for encryption are as follows: | The steps to follow for encryption are as follows: | ||
| + | |||
| + | 暗号化の手順は次の通りです。 | ||
| * Stop the server, both in **Command Center (Metaconsole)** and in the **nodes**. | * Stop the server, both in **Command Center (Metaconsole)** and in the **nodes**. | ||
| + | |||
| + | * **コマンドセンター (メタコンソール)** と **ノード** の両方でサーバを停止します。 | ||
| * Update the '' | * Update the '' | ||
| + | |||
| + | * ''/ | ||
| < | < | ||
| 行 517: | 行 593: | ||
| * Launch the encryption script both in **Command Center (Metaconsole)** and in the **nodes**. | * Launch the encryption script both in **Command Center (Metaconsole)** and in the **nodes**. | ||
| + | |||
| + | * **ノード** および **コマンドセンター(メタコンソール)** 両方の暗号化スクリプトを起動します。 | ||
| <code bash> | <code bash> | ||
| 行 525: | 行 603: | ||
| The Pandora FMS server should be restarted after making the changes and launching the script. | The Pandora FMS server should be restarted after making the changes and launching the script. | ||
| + | |||
| + | </ | ||
| + | |||
| + | <WRAP center round tip 90%> | ||
| + | |||
| + | 変更を加えてスクリプトを実行した後、Pandora FMS サーバを再起動する必要があります。 | ||
| </ | </ | ||
| <wrap #ks2_3 /> | <wrap #ks2_3 /> | ||
| - | ==== Changing the encryption password | + | |
| + | ==== 暗号化パスワードの変更 | ||
| It is possible to change the encryption password in case it has been compromised. You must first decrypt the passwords stored in the database: | It is possible to change the encryption password in case it has been compromised. You must first decrypt the passwords stored in the database: | ||
| + | |||
| + | 暗号化パスワードが漏洩した場合には、それを変更することができます。まず、データベースに保存されているパスワードを復号化する必要があります。 | ||
| < | < | ||
| 行 538: | 行 625: | ||
| Then, after having changed the encryption password (as described in the section for [[# | Then, after having changed the encryption password (as described in the section for [[# | ||
| + | |||
| + | その後、暗号化パスワードを変更し([[# | ||
| <code bash> | <code bash> | ||
| 行 546: | 行 635: | ||
| From 7.0 NG 739 onwards, the [[: | From 7.0 NG 739 onwards, the [[: | ||
| + | |||
| + | </ | ||
| + | |||
| + | <WRAP center round important 90%> | ||
| + | |||
| + | 7.0NG 739 以降には、[[: | ||
| </ | </ | ||
| **Credential store**: | **Credential store**: | ||
| + | |||
| + | **認証情報ストア: | ||
| If you have an encrypted database, in order to continue using the credential manager without losing data //decrypt everything// | If you have an encrypted database, in order to continue using the credential manager without losing data //decrypt everything// | ||
| + | |||
| + | 暗号化されたデータベースがある場合、データを失うことなく資格情報管理を引き続き使用するには、**tcredential_store** テーブルを除くすべてのデータを復号化します。 | ||
| To do so, execute the following commands: | To do so, execute the following commands: | ||
| + | |||
| + | それには次のコマンドを実行します。 | ||
| <code bash> | <code bash> | ||
| 行 560: | 行 661: | ||
| It will be deciphered. | It will be deciphered. | ||
| + | |||
| + | 暗号化が解除されます。 | ||
| Once decrypted, it will be re-encrypted again: | Once decrypted, it will be re-encrypted again: | ||
| + | |||
| + | 暗号化を解除したら、再度暗号化を行います。 | ||
| <code bash> | <code bash> | ||
| 行 568: | 行 673: | ||
| If you only want to encrypt from scratch, just execute the last command. | If you only want to encrypt from scratch, just execute the last command. | ||
| + | |||
| + | 初回の暗号化では、最後のコマンドを実行します。 | ||
| <wrap #ks2_4 /> | <wrap #ks2_4 /> | ||
| - | ==== Removing the encryption password | + | |
| + | ==== 暗号化パスワードの削除 | ||
| <WRAP center round important 90%> | <WRAP center round important 90%> | ||
| It is recommended to keep **every** password stored in Pandora FMS encrypted. | It is recommended to keep **every** password stored in Pandora FMS encrypted. | ||
| + | |||
| + | </ | ||
| + | |||
| + | <WRAP center round important 90%> | ||
| + | |||
| + | Pandora FMS に保存される **すべての** パスワードを暗号化しておくことをお勧めします。 | ||
| </ | </ | ||
| 行 580: | 行 694: | ||
| * Stop the server, both in **Command Center (Metaconsole)** and in the **nodes**. | * Stop the server, both in **Command Center (Metaconsole)** and in the **nodes**. | ||
| * Launch the decryption script both in **Command Center (Metaconsole)** and in the **nodes**. | * Launch the decryption script both in **Command Center (Metaconsole)** and in the **nodes**. | ||
| + | |||
| + | * **コマンドセンター(メタコンソール)** と **ノード** 双方のサーバを停止します。 | ||
| + | * **コマンドセンター(メタコンソール)** と **ノード** の両方で復号化スクリプトを起動します。 | ||
| <code bash> | <code bash> | ||
| 行 586: | 行 703: | ||
| * Comment **encryption_passphrase** in ''/ | * Comment **encryption_passphrase** in ''/ | ||
| + | |||
| + | * **コマンドセンター (メタコンソール)** と **ノード** の両方で、''/ | ||
| < | < | ||
| 行 594: | 行 713: | ||
| The Pandora FMS server should be restarted after making the changes and launching the script. | The Pandora FMS server should be restarted after making the changes and launching the script. | ||
| + | |||
| + | </ | ||
| + | |||
| + | <WRAP center round tip 90%> | ||
| + | |||
| + | 変更を加えてスクリプトを実行した後は、Pandora FMS サーバを再起動することを忘れないでください。 | ||
| </ | </ | ||
| <wrap #ks3 /> | <wrap #ks3 /> | ||
| - | ===== User password policy | + | |
| + | ===== ユーザパスワードポリシー | ||
| <WRAP left round box 50%> | <WRAP left round box 50%> | ||
| - | <wrap : | + | <wrap : |
| </ | </ | ||
| \\ \\ \\ \\ \\ | \\ \\ \\ \\ \\ | ||
| + | |||
| + | <WRAP left round box 50%> | ||
| + | |||
| + | <wrap : | ||
| + | |||
| + | </ | ||
| + | \\ \\ \\ \\ \\ | ||
| + | |||
| To activate the password policy, you must have an administrator profile (<wrap : | To activate the password policy, you must have an administrator profile (<wrap : | ||
| + | |||
| + | パスワード ポリシーを有効にするには、管理者プロファイル (<wrap : | ||
| Important fields: | Important fields: | ||
| - | | + | 重要なフィールド: |
| - | * <wrap : | + | |
| - | * <wrap : | + | |
| - | * <wrap : | + | * <wrap : |
| - | * <wrap : | + | * <wrap : |
| - | * <wrap : | + | |
| * <wrap : | * <wrap : | ||
| * <wrap : | * <wrap : | ||
| * <wrap : | * <wrap : | ||
| - | * <wrap : | + | |
| - | * <wrap : | + | |
| + | * <wrap : | ||
| + | * <wrap : | ||
| + | * <wrap : | ||
| + | |||
| + | * **パスワードポリシーの有効化(Enable password policy): ** パスワードポリシーを有効化/ | ||
| + | * **最小パスワードサイズ(Min. size Password): ** パスワードの最小の長さです。デフォルトでは 4文字です。 | ||
| + | * **パスワードの期限切れ(Password Expiration): | ||
| + | * **パスワードには数値を含む必要があります(Password must have numbers): ** パスワードに数字を含む必要があるかどうかです。デフォルトでは無効化されています。 | ||
| + | * **パスワードには記号を含む必要があります(Password must have symbols): ** パスワードに記号を含む必要があるかどうかです。デフォルトでは無効化されています。 | ||
| + | * **初回ログイン時にパスワードを変更する(Force change password on first login): ** ユーザ作成後、初回ログイン時にパスワードを変更します。デフォルトでは無効化されています。 | ||
| + | * **ログインに失敗するとユーザをブロック(Block user if login fails): ** 最大失敗回数パスワードを間違えた場合に、ユーザをブロックする時間(分)です。デフォルトは 5分です。 | ||
| + | * **管理者ユーザへパスワードポリシーを適用(Apply password policy to admin users): ** 管理者ユーザにもパスワードポリシーを適用します。デフォルトでは無効化されています。 | ||
| + | * **パスワード履歴の有効化(Enable password history)** と **以前のパスワードとの比較(Compare previous password): ** これらは連携して、ユーザがパスワードを重複して使用することを防ぎます。最初のトークンは有効にし、2番目のトークンは 0(デフォルトは '' | ||
| + | * **パスワードリセットの有効化(Activate reset password)**: | ||
| + | * **パスワードの除外リスト(Exclusion list for passwords)**: | ||
| <wrap #ks4 /> | <wrap #ks4 /> | ||
| - | ===== Audit log ===== | + | |
| + | ===== 監査ログ | ||
| <WRAP left round box 50%> | <WRAP left round box 50%> | ||
| 行 632: | 行 783: | ||
| </ | </ | ||
| \\ \\ \\ \\ \\ | \\ \\ \\ \\ \\ | ||
| + | |||
| + | <WRAP left round box 50%> | ||
| + | |||
| + | <wrap : | ||
| + | |||
| + | </ | ||
| + | \\ \\ \\ \\ \\ | ||
| + | |||
| Pandora FMS keeps a log with all the changes and actions of importance produced in the Pandora FMS Console. There you will see a series of entries related to the Console activity, information about the user, type of action, date and a short description of the registered events. | Pandora FMS keeps a log with all the changes and actions of importance produced in the Pandora FMS Console. There you will see a series of entries related to the Console activity, information about the user, type of action, date and a short description of the registered events. | ||
| + | |||
| + | Pandora FMS は、Pandora FMS コンソールで行われたすべての重要な変更とアクションのログを保持します。ログには、コンソールのアクティビティ、ユーザ情報、アクションの種類、日付、登録されたイベントの簡単な説明など、一連のエントリが表示されます。 | ||
| {{ : | {{ : | ||
| You can filter which entries to display by different criteria, including: actions, user and IP address. You can even perform a text search and determine the maximum hours to be searched, with the option to save the filter if it is frequently used. | You can filter which entries to display by different criteria, including: actions, user and IP address. You can even perform a text search and determine the maximum hours to be searched, with the option to save the filter if it is frequently used. | ||
| + | |||
| + | アクション、ユーザ、IPアドレスなど、様々な基準で表示するエントリをフィルタリングできます。テキスト検索を実行したり、検索対象とする最大時間を指定したりすることも可能です。フィルターを頻繁に使用する場合は、保存しておくこともできます。 | ||
| [[ja: | [[ja: | ||