ここでは、アクセス権限情報取得コマンドが出力する、アクセス権限情報ファイルについて説明します。
アクセス権限情報ファイルの書式は、以下のとおりです。
文字コードはUTF-8です。
XML形式でファイル出力します。
以下に、アクセス権限情報ファイルの出力形式を示します。
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<AccessAuthoritySet>
<AccessAuthority>
<AuthorityId>権限ID</AuthorityId>
<ActionSet>
<Allow>
<Action>操作ID</Action>
...
</Allow>
<NotAllow>
<Action>操作ID</Action>
...
</NotAllow>
</ActionSet>
</AccessAuthority>
</AccessAuthoritySet>以下に、アクセス権限情報ファイルのタグについて説明します。
タグ名 | 説明 |
|---|---|
AuthorityId | 取得対象の権限IDが出力されます。 |
Allow | 許可されている操作IDが下位タグに出力されます。 |
NotAllow | 許可されていな操作IDが下位タグに出力されます。 |
Action | 操作IDが出力されます。 |
以下に、アクセス権限情報ファイルの出力例を示します。
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<AccessAuthoritySet>
<AccessAuthority>
<AuthorityId>SystemOwner</AuthorityId>
<ActionSet>
<Allow>
<Action>InstanceStart</Action>
<Action>InstanceStop</Action>
<Action>ResourceDesign</Action>
<Action>Snapshot</Action>
</Allow>
<NotAllow>
<Action>SnapshotDelete</Action>
<Action>SnapshotRestore</Action>
</NotAllow>
</ActionSet>
</AccessAuthority>
</AccessAuthoritySet>