File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change @@ -644,3 +644,34 @@ module Path {
644
644
abstract class Range extends DataFlow:: Node { }
645
645
}
646
646
}
647
+
648
+ /**
649
+ * A data-flow node that may configure behaviour relating to cookie security.
650
+ *
651
+ * Extend this class to refine existing API models. If you want to model new APIs,
652
+ * extend `CookieSecurityConfigurationSetting::Range` instead.
653
+ */
654
+ class CookieSecurityConfigurationSetting extends DataFlow:: Node instanceof CookieSecurityConfigurationSetting:: Range {
655
+ /**
656
+ * Gets a description of how this cookie setting may weaken application security.
657
+ * This predicate has no results if the setting is considered to be safe.
658
+ */
659
+ string getSecurityWarningMessage ( ) { result = super .getSecurityWarningMessage ( ) }
660
+ }
661
+
662
+ /** Provides a class for modeling new cookie security setting APIs. */
663
+ module CookieSecurityConfigurationSetting {
664
+ /**
665
+ * A data-flow node that may configure behaviour relating to cookie security.
666
+ *
667
+ * Extend this class to model new APIs. If you want to refine existing API models,
668
+ * extend `CookieSecurityConfigurationSetting` instead.
669
+ */
670
+ abstract class Range extends DataFlow:: Node {
671
+ /**
672
+ * Gets a description of how this cookie setting may weaken application security.
673
+ * This predicate has no results if the setting is considered to be safe.
674
+ */
675
+ abstract string getSecurityWarningMessage ( ) ;
676
+ }
677
+ }
You can’t perform that action at this time.
0 commit comments