Add integrity attributes to check security of CDN resources #11163
              
                Unanswered
              
          
                  
                    
                      domi-nika60
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 3 comments
-
| anyone? :) | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            -
| @daniel-kmiecik @djankows @ewaostrowska This is a Security Weakness | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            -
| created #12590 | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm wondering if there is any way to add Subresource Integrity attributes to resources of swagger codegen like
https://unpkg.com/swagger-ui-dist/swagger-ui.cssorhttps://unpkg.com/swagger-ui-dist/swagger-ui-bundle.js?Generated openApi Swagger documentation consists:
How can I add
integrityattribute to use base64-encoded cryptographic hash to ensure secure resource usage and prevent data manipulation attacks?I need some mechanism which ensures the actual included content matches the expected content
(like Subresource Integrity https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity)
Beta Was this translation helpful? Give feedback.
All reactions