Giter VIP home page Giter VIP logo

sei-cert-ccs-samples's People

Contributors

yesmar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

sei-cert-ccs-samples's Issues

Code samples should carry an identifying comment

Right now all of the samples are bare and don't contain any identifying information. Ostensibly, this is because I didn't want to make changes to the code as presented by SEI CERT. However, upon reflection, it makes sense to add a single line comment at the top of each sample with the form:

// PRE30-C: Noncompliant Code Example

The PRE30-C part indicates the rule the sample comes from. The part following the : is the unaltered text of the heading under which the code sample appears. This won't always be useful, e.g., when a rule has three or more Compliant Solution samples. However, many rules have samples with parenthetical descriptors that are useful, e.g., Noncompliant Code Example (Differing Storage Durations).

Track CON42-C

CON42-C is under construction on the SEI CERT wiki. Include it in the repo once the rule has been fleshed out and contains both non-compliant and compliant code samples.

Track API

The API collection is currently under construction on the SEI CERT wiki. Include it in the repo once the there are rules with code samples.

Figure out how to consistently deal with exceptions

Exceptions (see DCL37-C, EXP33-C, EXP36-C, et al.) are not currently included. While the nature of the compliant and non-compliant code samples is clear, such is not the case for exceptions. Sometimes code is supplied, but other times only a description is given (read: some code needs to be implemented). Some exceptions are based on compliant code, while others are based on non-compliant code. Additional thought will have to be given on how to best represent exceptions.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.