Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[OWASP ZAP] レイアウト管理のテストを追加 #5307

Merged
merged 1 commit into from
Mar 11, 2022

Conversation

matsuoshi
Copy link
Contributor

@matsuoshi matsuoshi commented Feb 24, 2022

概要(Overview・Refs Issue)

Owasp ZAP の自動スキャン、管理画面 コンテンツ管理 → レイアウト管理 に対する get のテストを追加しました
( /admin/content/layout )

方針(Policy)

実装に関する補足(Appendix)

GETアクセスし、正しいページかを確認後、スキャンをかけるのみの内容です

テスト(Test)

クラウドIDEにてOwasp ZAPのスキャンが通ることを確認しています。

相談(Discussion)

マイナーバージョン互換性保持のための制限事項チェックリスト

  • 既存機能の仕様変更はありません
  • フックポイントの呼び出しタイミングの変更はありません
  • フックポイントのパラメータの削除・データ型の変更はありません
  • twigファイルに渡しているパラメータの削除・データ型の変更はありません
  • Serviceクラスの公開関数の、引数の削除・データ型の変更はありません
  • 入出力ファイル(CSVなど)のフォーマット変更はありません

レビュワー確認項目

  • 動作確認
  • コードレビュー
  • E2E/Unit テスト確認(テストの追加・変更が必要かどうか)
  • 互換性が保持されているか
  • セキュリティ上の問題がないか
    • 権限を超えた操作が可能にならないか
    • 不要なファイルアップロードがないか
    • 外部へ公開されるファイルや機能の追加ではないか
    • テンプレートでのエスケープ漏れがないか

@matsuoshi matsuoshi changed the title OwaspZAP test: content_layout.test.ts OwaspZAP レイアウト管理のテストを追加 Feb 24, 2022
@codecov-commenter
Copy link

Codecov Report

Merging #5307 (e540271) into 4.1 (710b64c) will increase coverage by 0.00%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##                4.1    #5307   +/-   ##
=========================================
  Coverage     68.42%   68.43%           
  Complexity     6159     6159           
=========================================
  Files           463      463           
  Lines         25280    25280           
=========================================
+ Hits          17298    17300    +2     
+ Misses         7982     7980    -2     
Flag Coverage Δ
E2E 57.37% <ø> (ø)
Unit 76.16% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...be/Service/PurchaseFlow/Processor/TaxProcessor.php 73.77% <0.00%> (+3.27%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 710b64c...e540271. Read the comment docs.

@chihiro-adachi chihiro-adachi changed the title OwaspZAP レイアウト管理のテストを追加 [OWASP ZAP] レイアウト管理のテストを追加 Mar 2, 2022
@carkn
Copy link
Contributor

carkn commented Mar 11, 2022

確認しました。問題ないかと思います。
マージします。

@carkn carkn merged commit 22439f2 into EC-CUBE:4.1 Mar 11, 2022
@chihiro-adachi chihiro-adachi added this to the 4.1.3 milestone Apr 1, 2022
@Yangsin Yangsin modified the milestones: 4.1.3, 4.2.0 Apr 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants