Skip to content

Conversation

@haitaohuang
Copy link
Contributor

No description provided.

@haitaohuang haitaohuang requested a review from jyao1 as a code owner December 2, 2025 01:48
@jyao1
Copy link
Contributor

jyao1 commented Dec 2, 2025

Please rename the file to policy_v2_template.json, if it is just a template.

@haitaohuang
Copy link
Contributor Author

Please rename the file to policy_v2_template.json, if it is just a template.

I'll update the commit message. This is not actually a template.

@haitaohuang haitaohuang changed the title config/Azure: Add policy azure template config/Azure: Add policy Dec 2, 2025
@jyao1
Copy link
Contributor

jyao1 commented Dec 3, 2025

I am not very clear what "raw" means here.

Could you please clarify how this policy file will be used?

@haitaohuang
Copy link
Contributor Author

I used _raw when it does not have anything other than the rules. config/template/policy_v2.json includes the collaterals and servtd collaterals, pretty much everything before signing. This one is the initial policy. That's the difference. Open to rename.

@jyao1
Copy link
Contributor

jyao1 commented Dec 3, 2025

I see. Since it is used by https://github.com/intel/MigTD/blob/main/sh_script/build_AzCVMEmu_policy_and_test.sh#L563, can we name it as the input parameter --policy-data "$POLICY_DATA_RAW" ?

E.g. policy_data_raw.json.

Add raw policy for Azure.

Signed-off-by: Haitao Huang <[email protected]>
@jyao1 jyao1 merged commit 423ad4d into intel:main Dec 3, 2025
51 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants